[GRASS5] [bug #4103] (grass) g.list floating point exception

Request Tracker grass-bugs at intevation.de
Sun Feb 19 11:15:10 EST 2006


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.

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) 

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list