[GRASS5] v.digit segfault

Maris Nartiss maris.gis at gmail.com
Mon Apr 10 13:38:59 EDT 2006


I know v.digit is broken by design, but it was workin. Unfortunatly on
my Gentoo box v.digit segfaults for both Grass 6.0.2 and

Symptoms: after comand run it displays vectors but no toolbar etc. is
shown. After that vect maps needs to be rebuilt with v.build.

I'm not an expert in gdb, but here's output:
GRASS 6.1.cvs (Agnese):~ > gdb v.digit
(gdb) run map=ttt
Starting program: /usr/local/grass-6.1.cvs/bin/v.digit map=ttt
[Thread debugging using libthread_db enabled]
[New Thread -1219950928 (LWP 22555)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1219950928 (LWP 22555)]
0xb78b47c3 in strlen () from /lib/libc.so.6
(gdb) bt
#0  0xb78b47c3 in strlen () from /lib/libc.so.6
#1  0xb79a9635 in Tcl_ExternalToUtfDString () from /usr/lib/libtcl.so
#2  0xb7a687c0 in Tk_MainEx () from /usr/lib/libtk.so
#3  0x080522d6 in main (argc=32, argv=0xbfab47d4) at main.c:199

v.digit main.c 199 line is
    /* Open toolbox */
    Tk_Main(0, argv, Tcl_AppInit);


Sorry for bad news,

More information about the grass-dev mailing list