Opened 9 years ago

Last modified 9 years ago

#5808 closed defect

"Illegal nBlockYOff value" with mask overviews — at Version 1

Reported by: cdestigter Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords:
Cc:

Description (last modified by cdestigter)

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()

This image has a mask band with overviews (FWIW, all the overviews look okay to me when extracted with tiffsplit). The issue goes away if I clear the overviews from in.tif using gdaladdo -clean.

Attached in.tif and an strace log.

Occurs using trunk gdal (at https://github.com/osgeo/gdal/commit/e3cc4342808960c9e0b3a7b40f421aeb0c4db5c5 )

Change History (4)

comment:1 by cdestigter, 9 years ago

Description: modified (diff)
Summary: "Illegal nBlockYOff value" when translating from overviews"Illegal nBlockYOff value" with mask overviews

by cdestigter, 9 years ago

Attachment: 5808-output.txt added

by cdestigter, 9 years ago

Attachment: in.tif added

by cdestigter, 9 years ago

Attachment: 5808-strace.txt added
Note: See TracTickets for help on using tickets.