[GRASS5] Re: [GRASSLIST:5282] v.out.ascii Segfault -- backup plan?

Radim Blazek blazek at itc.it
Tue Jan 11 03:29:37 EST 2005


Fixed. Update and recompile vector/v.out.ascii.

Radim

Jachym Cepicky wrote:
> ahoj,
> 
> On Tue, Jan 11, 2005 at 09:02:53AM +0100, Radim Blazek wrote:
> 
>>Jachym Cepicky wrote:
>>
>>>GRASS 5.7.cvs:~ > echo "-592854.20115798|-1149140.62500086"| v.in.ascii 
>>>out=tmp
>>>GRASS 5.7.cvs:~ > v.out.ascii tmp
>>>Segmentation fault
>>>GRASS 5.7.cvs:~ >
>>>
>>>The complete strace output from "v.out.ascii tmp" can you find on
>>>www.fle.czu.cz/~jachym/tmp/strace.txt
>>
>>Can you send a back trace from gdb?
>>
>>Radim
> 
> 
> I hope, this is what you want, if not, describe please, how to get what you
> want:
> 
> GRASS 5.7.cvs:~ > gdb --args v.out.ascii tmp
> GNU gdb 6.1-debian
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i386-linux"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
> 
> (gdb) run
> Starting program: /usr/local/grass-5.7.cvs/bin/v.out.ascii tmp
> [Thread debugging using libthread_db enabled]
> [New Thread 1089834368 (LWP 4888)]
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1089834368 (LWP 4888)]
> 0x4056114b in strlen () from /lib/tls/i686/cmov/libc.so.6
> (gdb) bt
> #0  0x4056114b in strlen () from /lib/tls/i686/cmov/libc.so.6
> #1  0x4045c15d in G_store (s=0xffff <Address 0xffff out of bounds>)
>     at store.c:20
> #2  0x40039c79 in Vect__open_old (Map=0xbffff2f0, name=0x80609e8 "tmp", 
>     mapset=0xffff <Address 0xffff out of bounds>, update=0, head_only=0)
>     at open.c:148
> #3  0x4003a6e9 in Vect_open_old (Map=0xbffff2f0, name=0x80609e8 "tmp", 
>     mapset=0xffff <Address 0xffff out of bounds>) at open.c:375
> #4  0x080497bb in main (argc=2, argv=0xbffff7d4) at out.c:67
> (gdb)
> 
> Jáchym
> 




More information about the grass-dev mailing list