Opened 17 years ago
Closed 17 years ago
#1914 closed defect (fixed)
GDALRasterBlock::Internalize() failures not handled properly
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | 1.4.3 |
Component: | GDAL_Raster | Version: | 1.4.2 |
Severity: | normal | Keywords: | GDALRasterBlock |
Cc: |
Description
The GDALRasterBlock::Internalize() method allocates memory for a cache block. On failure the GDALRasterBand::GetLockedBlockRef() is not releasing the block lock before trying to delete it resulting in an assertion failure in debug builds. The internalize memory allocation failure message also really sucks "Internalize failed".
Note:
See TracTickets
for help on using tickets.
Improved error message and fixed lock release issue in trunk (r12425) and 1.4 branch (r12426).