Opened 16 years ago
Closed 16 years ago
#2471 closed defect (fixed)
Build pyramid crashes for this TIFF attached
Reported by: | yanchen | Owned by: | warmerdam |
---|---|---|---|
Priority: | high | Milestone: | 1.5.3 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | build pyramid HFA |
Cc: | swoo@…, gaopeng |
Description
Inside HFADataset::IBuildOverviews function, ::GetRasterBand() returns a NULL pointer for 2th band. Number of band is not correct.
When I debugged into HFAGetRasterInfo(), I found when .aux is read, hHFA->nBands is equal to 1.
Attachments (1)
Change History (7)
by , 16 years ago
Attachment: | DigitizingFeatures.zip added |
---|
comment:1 by , 16 years ago
Cc: | added; removed |
---|---|
Keywords: | HFA added |
Owner: | changed from | to
Priority: | normal → high |
comment:2 by , 16 years ago
Status: | new → assigned |
---|
It would be helpful to know what function, and arguments were used to create the overviews. I'm guessing some override config options are used to force use of aux/rrd overviews instead of TIFF overviews. Is that right?
comment:3 by , 16 years ago
In experimenting with this file, a problem was identified with EXIF IFD handling in libtiff 4. A distinct bug in the libtiff bugzilla has been created for this issue.
I do not believe this is related to the problem you have encountered though, since I gather you are forcing HFA/AUX/RRD overview building.
comment:4 by , 16 years ago
Problem reproduced using the command:
gdaladdo --config USE_RRD YES DigitizingFeatures.tif 2 4
comment:5 by , 16 years ago
comment:6 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Added a test in trunk (r14904).
data