[GRASS-dev] [bug #5352] (grass) v.db.select segfault if SQL query is malformed

Markus Neteler via RT grass-bugs at intevation.de
Thu Nov 30 02:22:53 EST 2006


I can replicate that with Spearfish:

v.db.select archsites where="CAT=1"
Segmentation fault


The debugger suggests:
 #2  0xb7edbf8e in db_realloc (s=0x804f060, n=36) at alloc.c:76

which is
lib/db/dbmi_base/alloc.c:76
s = realloc (s, (unsigned int) n);

Some memory magic...

Markus

-------------------------------------------- Managed by Request Tracker




More information about the grass-dev mailing list