Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4856 closed defect (fixed)

INGR/Intergraph Raster files that cause a crash

Reported by: mpd Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: 1.9.1
Severity: normal Keywords: INGR
Cc: ilucena

Description

All of the files in the attached ZIP, except 2.cot which I have included for reference, cause gdal_translate (and other clients of RasterIO) to crash.

Tested with 1.9.2, svn rev 25095, built with VS2010.

Attachments (1)

cot.zip (317.5 KB ) - added by mpd 12 years ago.
INGR files

Download all attachments as: .zip

Change History (5)

by mpd, 12 years ago

Attachment: cot.zip added

INGR files

comment:1 by warmerdam, 12 years ago

Keywords: INGR added
Status: newassigned

I'll dig into this.

comment:2 by warmerdam, 12 years ago

Cc: ilucena added
Resolution: fixed
Status: assignedclosed

The problem seems to be that the GDALRasterBand nXBlockSize and nYBlockSize were being trimmed to the size of the image but when we went to read the blocks for small images we still read for the whole 256x256 size of the intergraph tile.

Fixed in trunk (r25097) and 1.9 (r25098).

Unfortunately, this fix will not make it into 1.9.2, but should be in 1.9.3.

+cc Ivan to confirm my solution.

comment:3 by mpd, 12 years ago

I've merged this locally and can confirm that it no longer crashes. Thanks.

comment:4 by ilucena, 12 years ago

Frank, The solution is good as is working fine (mpd) but I am wondering if those images can be read by Intergraph's ImageStation and other software and if small images produced by ImageStation can still be supported.

Note: See TracTickets for help on using tickets.