Opened 9 years ago
Last modified 9 years ago
#5808 closed defect
"Illegal nBlockYOff value" when translating from overviews — at Initial Version
Reported by: | cdestigter | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | svn-trunk |
Severity: | normal | Keywords: | |
Cc: |
Description
A simple gdal_translate using overviews fails with heaps of these errors:
$ gdal_translate -outsize 50% 50% in.tif out.tif Input file size is 249, 238 0ERROR 5: Illegal nBlockXOff value (1) in GDALRasterBand::TryGetLockedBlockRef() ERROR 5: Illegal nBlockXOff value (1) in GDALRasterBand::GetLockedBlockRef() ... ERROR 5: Illegal nBlockYOff value (1) in GDALRasterBand::TryGetLockedBlockRef() ERROR 5: Illegal nBlockYOff value (1) in GDALRasterBand::GetLockedBlockRef()
Attached in.tif and an strace log. The issue goes away if I clear the overviews from in.tif using gdaladdo -clean
.
Occurs using trunk gdal (at https://github.com/osgeo/gdal/commit/e3cc4342808960c9e0b3a7b40f421aeb0c4db5c5 )
Note:
See TracTickets
for help on using tickets.