[gdal-dev] Alpine, gcc 32-bit in Linux Build Actions

Even Rouault even.rouault at spatialys.com
Fri Mar 1 07:12:27 PST 2024


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.



More information about the gdal-dev mailing list