Ticket #3390 (new defect)
HDF4 create test crashes for int32 & uint32, OSX 64bit
| Reported by: | kyngchaos | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | 1.7.0 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
As title says. It looks like it's happening when the dataset is closed. From the autotest run:
TEST: Create: int32.tif rank=3 ... python2.6(60497,0x7fff7101abe0) malloc: *** error for object 0x1009a1e08: incorrect checksum for freed object - object was probably modified after being freed.
and the OSX crash report:
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Application Specific Information: *** error for object 0x1009a1e08: incorrect checksum for freed object - object was probably modified after being freed. Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x00007fff884e8fe6 __kill + 10 1 libSystem.B.dylib 0x00007fff88589e32 abort + 83 2 libSystem.B.dylib 0x00007fff88578ae5 szone_error + 519 3 libSystem.B.dylib 0x00007fff884a562f small_free_list_remove_ptr + 154 4 libSystem.B.dylib 0x00007fff884a212f szone_free_definite_size + 3254 5 org.gdal.gdal 0x0000000101621136 sd_NC_free_cdf + 50 6 org.gdal.gdal 0x0000000101623a70 sd_ncclose + 232 7 org.gdal.gdal 0x00000001016293a2 SDend + 200 8 org.gdal.gdal 0x00000001010c58ce HDF4ImageDataset::~HDF4ImageDataset() + 66 9 org.gdal.gdal 0x00000001011b66ea GDALClose + 152 10 _gdal.so 0x00000001005010e5 _wrap_delete_Dataset + 306 11 org.python.python 0x0000000100017173 PyObject_Call + 112 12 org.python.python 0x0000000100017367 PyObject_CallFunctionObjArgs + 215 13 _gdal.so 0x00000001004fa2b3 SwigPyObject_dealloc + 117 14 org.python.python 0x0000000100044fb4 PyDict_Contains + 2517
Same HDF4.2r4 binaries that worked in GDAL 1.6. All other HDF4 tests with int32 and uint32 succeed (I blocked out the failures in hdf4_write.py so it would continue with the tests). I couldn't figure out how to emulate this test outside of Python to see if it was the python interface that's the problem.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

