id summary reporter owner description type status priority milestone component version severity resolution keywords cc 4002 crashes in mrsid driver Even Rouault kirk "Kirk, r21974 causes autotest/gdrivers/mrsid.py to crash. (note that I've also added a missing variable initialization in r21976) See following Valgrind traces : {{{ TEST: mrsid_6 ... ==22387== Invalid read of size 8 ==22387== at 0xD7E7CE0: LizardTech::Jpeg2000ReaderStreamSource::~Jpeg2000ReaderStreamSource() (in /home/even/MRSID8/Raster_DSDK/lib/libltidsdk.so.8) ==22387== by 0xD7E0E88: LizardTech::J2KImageReader::~J2KImageReader() (in /home/even/MRSID8/Raster_DSDK/lib/libltidsdk.so.8) ==22387== by 0x72B4C07: MrSIDDataset::~MrSIDDataset() (mrsiddataset.cpp:792) ==22387== by 0x745249A: GDALClose (gdaldataset.cpp:2388) ==22387== by 0x6A6C44F: _wrap_delete_Dataset (gdal_wrap.cpp:3841) ==22387== by 0x4239CF: PyObject_CallFunctionObjArgs (in /usr/bin/python2.6) ==22387== by 0x6A61634: SwigPyObject_dealloc (gdal_wrap.cpp:1584) ==22387== by 0x44FC52: ??? (in /usr/bin/python2.6) ==22387== by 0x46D326: ??? (in /usr/bin/python2.6) ==22387== by 0x535D12: ??? (in /usr/bin/python2.6) ==22387== by 0x4A92E6: PyEval_EvalCodeEx (in /usr/bin/python2.6) ==22387== by 0x4A7808: PyEval_EvalFrameEx (in /usr/bin/python2.6) ==22387== Address 0x64504f0 is 0 bytes inside a block of size 64 free'd ==22387== at 0x4C2719F: operator delete(void*) (vg_replace_malloc.c:387) ==22387== by 0x72B4AF5: MrSIDDataset::~MrSIDDataset() (mrsiddataset.cpp:782) ==22387== by 0x745249A: GDALClose (gdaldataset.cpp:2388) ==22387== by 0x6A6C44F: _wrap_delete_Dataset (gdal_wrap.cpp:3841) ==22387== by 0x4239CF: PyObject_CallFunctionObjArgs (in /usr/bin/python2.6) ==22387== by 0x6A61634: SwigPyObject_dealloc (gdal_wrap.cpp:1584) ==22387== by 0x44FC52: ??? (in /usr/bin/python2.6) ==22387== by 0x46D326: ??? (in /usr/bin/python2.6) ==22387== by 0x535D12: ??? (in /usr/bin/python2.6) ==22387== by 0x4A92E6: PyEval_EvalCodeEx (in /usr/bin/python2.6) ==22387== by 0x4A7808: PyEval_EvalFrameEx (in /usr/bin/python2.6) ==22387== by 0x4A854F: PyEval_EvalFrameEx (in /usr/bin/python2.6) ==22387== pure virtual method called terminate called without an active exception }}} " defect closed normal GDAL_Raster svn-trunk normal fixed Even Rouault kirk tamas