[GRASS-dev] [bug #5176] (grass) v.in.ogr: segfault when a full path to dsn is missing

Maciej Sieczka tutey at o2.pl
Tue Oct 3 08:23:06 EDT 2006


Markus Neteler wrote:

> Best is to use a debugger. See here how to do that with 'ddd':
> http://grass.gdf-hannover.de/wiki/GRASS_Debugging#Using_DDD_.28gdb_graphical_frontend.29

OK, done, but some different way:

$ ulimit -c 3000
$ grass63
$ v.in.ogr dsn=force_lrconnect_cl_onlycat139
output=force_lrconnect_cl_onlycat139_import
layer=force_lrconnect_cl_onlycat139

(segfault)

$ gdb v.in.ogr core

(gdb) bt
#0  0x00010101 in ?? ()
#1  0xb7cb5c2f in OGRSpatialReference::Release ()
   from /usr/local/lib/libgdal.so.1
#2  0xb7cab4e7 in OGRGeometry::~OGRGeometry () from
/usr/local/lib/libgdal.so.1
#3  0xb7ca6810 in OGRCurve::~OGRCurve () from /usr/local/lib/libgdal.so.1
#4  0xb7ca6ad8 in OGRLineString::~OGRLineString ()
   from /usr/local/lib/libgdal.so.1
#5  0xb7caf6ff in OGRFeature::~OGRFeature () from
/usr/local/lib/libgdal.so.1
#6  0xb7caefa5 in OGR_F_Destroy () from /usr/local/lib/libgdal.so.1
#7  0x0804ccfc in main (argc=4, argv=0xbffcb044) at main.c:744
(gdb) q

Any good?

Maciek




More information about the grass-dev mailing list