Details Ticket 4101


Comment | Reply | Take | Open


Serial Number 4101
Subject g.list: Floating point exception
Area grass6
Queue grass
Requestors soerengebbert@gmx.de,werchowyna@epf.pl
Owner none
Status resolved
Last User Contact Sun Feb 19 20:11:56 2006 (3 yr ago)
Current Priority 70
Final Priority 70
Due No date assigned
Last Action Sun Feb 19 20:11:59 2006 (3 yr ago)
Created Fri Feb 17 18:52:35 2006 (3 yr ago)

Transaction History Ticket 4101


Fri, Feb 17 2006 18:52:35    Request created by guest  
Subject: g.list: Floating point exception

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 2006.02.17

Any g.list command leads to "Floating point exception" error.

GRASS 6.1.cvs (location):~ > g.list vect
Floating point exception

Maciek
Fri, Feb 17 2006 22:52:26    Mail sent by mneteler  
Maciek,

it works for me (I recompiled just now).

Markus
Sun, Feb 19 2006 12:32:42    Mail sent by werchowyna@epf.pl  
Return-Path <werchowyna@epf.pl>
Delivered-To grass-bugs@lists.intevation.de
Date Sun, 19 Feb 2006 12:32:23 +0100
From Maciek Sieczka <werchowyna@epf.pl>
To Markus Neteler via RT <grass-bugs@intevation.de>
Cc grass5@grass.itc.it, neteler@itc.it, GRASSLIST@baylor.edu
Subject Re: [GRASS5] [bug #4101] (grass) g.list: Floating point exception
Message-Id <20060219123223.b131a3b1.werchowyna@epf.pl>
In-Reply-To <20060217215226.A77541005AB@lists.intevation.de>
References <20060217215226.A77541005AB@lists.intevation.de>
X-Mailer Sylpheed version 2.1.1 (GTK+ 2.8.6; i486-pc-linux-gnu)
Mime-Version 1.0
Content-Type text/plain; charset=US-ASCII
Content-Transfer-Encoding 7bit
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
On Fri, 17 Feb 2006 22:52:26 +0100 (CET)
Markus Neteler via RT <grass-bugs@intevation.de> wrote:

> Maciek,
> 
> it works for me (I recompiled just now).

For me it still doesn't. Using CVS from a while ago today (10:00
2006.02.19), built without any optimizations, gcc 3.4.5, Ubuntu Breezy,
no errors at configure or at build time.

Still I get:

GRASS 6.1.cvs (odra42):~ > g.list vect
Floating point exception

However I noticed this error is a bit random. It doesn't take place in
all locations; most are affected tough. But I can't see the pattern for
that.

Using Grass 6.0 CVS I can't reproduce the error. And I didn't ever
had it with 6.1 before. So I suppose it was introduced recently.

Folks using current 6.1 CVS - could you please try in few locations
whether g.list vect works for you allways?

Best,
Maciek

--------------------
W polskim Internecie s? setki milion?w stron. My przekazujemy Tobie tylko najlepsze
z nich!
http://katalog.panoramainternetu.pl/


Sun, Feb 19 2006 17:15:10    Request created by guest (as #4103)  
Subject: g.list floating point exception

Platform: GNU/Linux/x86
grass obtained from: CVS
grass binary for platform: Compiled from Sources

Hi,
since the newest cvs update of grass6.1,
g.list produced a floating point exception
with parameter rast3d.

gdb output of g.list:

(gdb) r rast3d
warning: cannot close "shared object read from target memory": File in wrong
for
mat
Starting program: /usr/local/grass-6.1.cvs/bin/g.list rast3d
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0xb7fbb000
[Thread debugging using libthread_db enabled]
[New Thread -1214903584 (LWP 32318)]
Detaching after fork from child process 32338.

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1214903584 (LWP 32318)]
0xb7aa6779 in list_element (out=0x8691d08, element=0x86915e8 "grid3", 
    desc=0x8691608 "raster3D", mapset=0x8691e80 "PERMANENT", lister=0)
    at list.c:230
230         if (!lister && (count % num_cols))
(gdb) bt
#0  0xb7aa6779 in list_element (out=0x8691d08, element=0x86915e8 "grid3", 
    desc=0x8691608 "raster3D", mapset=0x8691e80 "PERMANENT", lister=0)
    at list.c:230
#1  0xb7aa6306 in G_list_element (element=0x86915e8 "grid3", 
    desc=0x8691608 "raster3D", mapset=0x8691e80 "PERMANENT", lister=0)
    at list.c:105
#2  0x08049338 in do_list (n=1, mapset=0x8049ce3 "") at do_list.c:5
#3  0x080491b3 in main (argc=2, argv=0xbf9baf34) at list.c:73
(gdb) 
Sun, Feb 19 2006 17:22:36    Mail sent by mneteler  
Maciek,

you are right. I now also get it.

Markus
Sun, Feb 19 2006 17:23:35    Request 4103 merged into 4101 by mneteler (as #4103)  
Sun, Feb 19 2006 17:54:31    Mail sent by glynn@gclements.plus.com (as #4103)  
Return-Path <glynn@gclements.plus.com>
Delivered-To grass-bugs@lists.intevation.de
From Glynn Clements <glynn@gclements.plus.com>
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding 7bit
Message-ID <17400.41666.362440.319249@cerise.gclements.plus.com>
Date Sun, 19 Feb 2006 16:54:26 +0000
To Request Tracker <grass-bugs@intevation.de>
Cc grass5@grass.itc.it
Subject Re: [GRASS5] [bug #4103] (grass) g.list floating point exception
In-Reply-To <20060219161510.2DCA41005DE@lists.intevation.de>
References <20060219161510.2DCA41005DE@lists.intevation.de>
X-Mailer VM 7.07 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
Request Tracker wrote:

> this bug's URL: http://intevation.de/rt/webrt?serial_num=4103
> -------------------------------------------------------------------------
> 
> Subject: g.list floating point exception
> 
> Platform: GNU/Linux/x86
> grass obtained from: CVS
> grass binary for platform: Compiled from Sources
> 
> Hi,
> since the newest cvs update of grass6.1,
> g.list produced a floating point exception
> with parameter rast3d.

> Program received signal SIGFPE, Arithmetic exception.
> [Switching to Thread -1214903584 (LWP 32318)]
> 0xb7aa6779 in list_element (out=0x8691d08, element=0x86915e8 "grid3", 
>     desc=0x8691608 "raster3D", mapset=0x8691e80 "PERMANENT", lister=0)
>     at list.c:230
> 230         if (!lister && (count % num_cols))

I've committed a fix to CVS.

-- 
Glynn Clements <glynn@gclements.plus.com>


Sun, Feb 19 2006 19:54:19    User changed to soerengebbert@gmx.de,werchowyna@epf.pl by mneteler  
Sun, Feb 19 2006 19:54:37    Mail sent by mneteler  
Glynn,

I still get the segfault with "rast3d" while "vect" is back to work:

0xb79194ba in list_element (out=0x804bc38, element=0x804b518 "grid3",
    desc=0x804b538 "raster3D", mapset=0x804bdb0 "PERMANENT", lister=0) at
list.c:233
233         if (!lister && (count % num_cols))

Markus
Sun, Feb 19 2006 20:07:21    Mail sent by grass4u@gmail.com  
Return-Path <grass4u@gmail.com>
Delivered-To grass-bugs@lists.intevation.de
DomainKey-Signature a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:date:from:to:cc:subject:message-id:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=hAg/yJi16DMhGvMkkEVyH4aKrYIfs5r0/4Ftb8CsNWnrUWC15CGSSh5EpDqJFwSGIlFAkOqK8j0nIP2pqnAKxzcGtw7tPR9xujRCdMG+I3dBUUALYexMEr/fzujyDFrywk/0gyy1f9IlQ6LMHofiF606pLm6+6aNfo2nQvrohI8=
Date Sun, 19 Feb 2006 13:06:30 -0600
From Huidae Cho <grass4u@gmail.com>
To Markus Neteler via RT <grass-bugs@intevation.de>
Cc soerengebbert@gmx.de, werchowyna@epf.pl, grass5@grass.itc.it
Subject Re: [GRASS5] [bug #4101] (grass) g.list: Floating point exception
Message-ID <20060219190630.GA2016@localhost>
References <20060219185437.EFD811005DE@lists.intevation.de>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
In-Reply-To <20060219185437.EFD811005DE@lists.intevation.de>
User-Agent mutt-ng/devel (FreeBSD)
X-Spam-Status No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level
I've committed fix.

Huidae Cho

On Sun, Feb 19, 2006 at 07:54:37PM +0100, Markus Neteler via RT wrote:
> Glynn,
> 
> I still get the segfault with "rast3d" while "vect" is back to work:
> 
> 0xb79194ba in list_element (out=0x804bc38, element=0x804b518 "grid3",
>     desc=0x804b538 "raster3D", mapset=0x804bdb0 "PERMANENT", lister=0) at
> list.c:233
> 233         if (!lister && (count % num_cols))
> 
> Markus
> 
> -------------------------------------------- Managed by Request Tracker
> 
> _______________________________________________
> grass5 mailing list
> grass5@grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass5


Sun, Feb 19 2006 20:11:56    Mail sent by mneteler  
thanks, works now.

Markus
Sun, Feb 19 2006 20:11:59    Status changed to resolved by mneteler  
Comment | Reply | Take | Open

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request