Your code must be something terrible so that even gdb doesn't catch it :-) (SIGKILL cannot be caught...)

From the error messages, things might go wrong starting with https://github.com/OSGeo/gdal/blob/master/apps/test_ogrsf.cpp#L782

So maybe set a breakpoint at that line

b test_ogrsf.cpp:782

and then use "step", and "next" to single step and locate where this crashes. This is going to be a bit tedious...

(you might also want to modify slightly test_ogrsf so that this TestCreateLayer() method exists early when !EQUAL(poDriver->GetDescription(), "miramon") to avoid debugging other drivers)

You might install "ddd", as a GUI front-end for gdb, so that this is slightly more user friendly.

--

http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to