[GRASS-dev] v.db.connect SEGFAULT

Stephan Holl holl at gdf-hannover.de
Wed Aug 2 05:45:48 EDT 2006


Dear developers,

I have encountered a SEGFAULT using v.db.connect.

To reproduce, do the following:

grass6_cvs /grassdata/spearfish60/user1
v.db.connect -d soils at PERMANENT
WARNING: A map which is not in the current mapset cannot be opened for
         update.
Segmentation fault

This should at least end without a segfault.

gdb --arg v.db.connect -d soils at PERMANENT
(gdb) run
Starting program: /usr/lib/grass/bin/v.db.connect -d soils at PERMANENT
[Thread debugging using libthread_db enabled]
[New Thread 1104625824 (LWP 22589)]
WARNING: A map which is not in the current mapset cannot be opened for
         update.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1104625824 (LWP 22589)]
0x40774bed in fflush () from /lib/tls/libc.so.6
(gdb) bt
#0  0x40774bed in fflush () from /lib/tls/libc.so.6
#1  0x40030cf0 in Vect_hist_write (Map=0xbffff100, str=0x40049914
"COMMAND: ") at hist.c:64 
#2  0x40030bce in Vect_hist_command (Map=0xbffff100) at hist.c:37 
#3  0x0804978f in main (argc=3, argv=0xbffff644) at main.c:145 
(gdb)

If you want me to fill a bug in BT, please let me know.

Thanks for looking into this.

Best regards
	
	Stephan

-- 
GDF Hannover - Solutions for spatial data analysis and remote sensing
Hannover Office      -     Mengendamm 16d      -     D-30177 Hannover
Internet: www.gdf-hannover.de      -      Email: holl at gdf-hannover.de
Phone : ++49-(0)511.39088507       -        Fax: ++49-(0)511.39088508




More information about the grass-dev mailing list