Ticket #2574 (closed defect: fixed)
ogr2ogr segfaults when converting a tileindex to kml
|Reported by:||winkey||Owned by:||rouault|
it seems to segfault when cleaning up. the kml is created
[ldm@atmos ike]$ valgrind ogr2ogr -f kml tileindex.kml tileindex.shp ==3110== Memcheck, a memory error detector. ==3110== Copyright (C) 2002-2006, and GNU GPL'd, by Julian Seward et al. ==3110== Using LibVEX rev 1658, a library for dynamic binary translation. ==3110== Copyright (C) 2004-2006, and GNU GPL'd, by OpenWorks LLP. ==3110== Using valgrind-3.2.1, a dynamic binary instrumentation framework. ==3110== Copyright (C) 2000-2006, and GNU GPL'd, by Julian Seward et al. ==3110== For more details, rerun with: -v ==3110== ==3110== Conditional jump or move depends on uninitialised value(s) ==3110== at 0x505ECFC: OGRKMLLayer::~OGRKMLLayer() (ogrkmllayer.cpp:108) ==3110== by 0x505E1AE: OGRKMLDataSource::~OGRKMLDataSource() (ogrkmldatasource.cpp:83) ==3110== by 0x40233A: main (ogr2ogr.cpp:469) ==3110== ==3110== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 4 from 1) ==3110== malloc/free: in use at exit: 0 bytes in 0 blocks. ==3110== malloc/free: 88,904 allocs, 88,904 frees, 4,996,572 bytes allocated. ==3110== For counts of detected errors, rerun with: -v ==3110== All heap blocks were freed -- no leaks are possible. [ldm@atmos ike]$
Note: See TracTickets for help on using tickets.