[GRASS-dev] v.db.connect SEGFAULT
Markus Neteler
neteler at itc.it
Wed Aug 2 06:00:53 EDT 2006
Hi Stephan,
fixed.
v.db.connect -d soils at PERMANENT
WARNING: A map which is not in the current mapset cannot be opened for
update.
ERROR: Cannot edit vector map stored in other mapset.
Probably your soils map is damaged now (at least here it
*was* deleting the connection even in another mapset).
I simply extracted the new spearfish package over my
local copy and restored stuff like this.
cheers
Markus
On Wed, Aug 02, 2006 at 11:45:48AM +0200, Stephan Holl wrote:
> 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
>
> _______________________________________________
> grass-dev mailing list
> grass-dev at grass.itc.it
> http://grass.itc.it/mailman/listinfo/grass-dev
--
Markus Neteler <neteler itc it> http://mpa.itc.it/markus/
ITC-irst - Centro per la Ricerca Scientifica e Tecnologica
MPBA - Predictive Models for Biol. & Environ. Data Analysis
Via Sommarive, 18 - 38050 Povo (Trento), Italy
More information about the grass-dev
mailing list