Opened 16 years ago
Closed 16 years ago
#2574 closed defect (fixed)
ogr2ogr segfaults when converting a tileindex to kml
Reported by: | winkey | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.6.0 |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | kml |
Cc: |
Description
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]$
http://atmos.ucsd.edu/ike/tileindex.shp http://atmos.ucsd.edu/ike/tileindex.dbf http://atmos.ucsd.edu/ike/tileindex.shx http://atmos.ucsd.edu/ike/tileindex.kml
Change History (2)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
Component: | default → OGR_SF |
---|---|
Keywords: | kml added |
Milestone: | → 1.6.0 |
Resolution: | → fixed |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
It was a regression in trunk only. Thanks for reporting. Fixed in r15396