Opened 21 years ago
Last modified 17 years ago
#359 closed defect
get segmentation fault with SDTS dem data — at Initial Version
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | default | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | Markus Neteler |
Description
GRASS:/ext2e/data/GRASSDATA/princeton_dem > v.in.sdts catd=4429CATD.DDF output=test Processing CATD module Processing STAT module Processing IDEN module Processing XREF module Processing IREF module Error: Unable to process composite modules. Continuing. Processing manifold: DEM1 Processing LE module: 4429LDEF.DDF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Illegal Tag = LDEF Segmentation fault GRASS:/ext2e/data/GRASSDATA/princeton_dem > r.in.gdal input=4429CATD.DDF output=test Segmentation fault GRASS:/ext2e/data/GRASSDATA/princeton_dem > I had initially assumed that this data was raster data being new to grass. So I ran it with r.in.gdal and got a segmentation fault. I did some tracing and it crashes with a segmentation fault. I am using the latest redhat 7.3. It executes G_no_gisinit() ; then gisinit() so far we have (gdb) bt #0 gisinit () at gisinit.c:82 #1 0x08049cfb in G_no_gisinit () at gisinit.c:58 #2 0x080494ca in main (argc=3, argv=0xbfffe114) at main.c:88 #3 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 Then back to: G_no_gisinit () at gisinit.c:60 60 return 0; (gdb) bt #0 G_no_gisinit () at gisinit.c:60 #1 0x080494ca in main (argc=3, argv=0xbfffe114) at main.c:88 #2 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 (gdb) and then back to: main (argc=3, argv=0xbfffe114) at main.c:91 91 argv[0] = cmdName; then to: 254 if ((value = G__getenv(name))) (gdb) bt #0 G_getenv (name=0x8057b70 "GISBASE") at env.c:254 #1 0x08049c74 in G_gisbase () at gisbase.c:15 #2 0x0804947d in pgm_name (pgm=0xbfffdc90 "", dir=0x8057a5d "cmd", name=0xbffff8fc "r.in.gdal") at main.c:59 #3 0x0804950b in main (argc=3, argv=0xbfffe114) at main.c:123 #4 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 Then this is where it soon crashes: (gdb) step G__getenv (name=0x8057b70 "GISBASE") at env.c:268 268 if (strcmp (name, "GISBASE") == 0) (gdb) 269 return getenv (name); (gdb) Program received signal SIGTRAP, Trace/breakpoint trap. Cannot remove breakpoints because program is no longer writable. It might be running in another process. Further execution is probably impossible. 0x40000b50 in _start () from /lib/ld-linux.so.2 (gdb) bt #0 0x40000b50 in _start () from /lib/ld-linux.so.2 This crashed in a different place than it did when I ran it before. It crashed when it was execve a program. The data I am using is the SDTS data for the princeton quad in the state of Alabama.
Note:
See TracTickets
for help on using tickets.