Ticket #4767 (closed defect: invalid)
Access Violations opening certain JPEG2000 images
| Reported by: | kellison | Owned by: | warmerdam |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GDAL_Raster | Version: | 1.9.1 |
| Severity: | normal | Keywords: | JPEG2000 jp2 access violation |
| Cc: |
Description
Using C# bindings, attempts to open certain JPEG2000 images results in access violations. Seems to be worse for larger images. Sample provided. Download info:
ftp://ftp.geocue.com/Outgoing/GdalAccessViolationTicket/GdalAccessViolation.jp2 ftp://ftp.geocue.com/Outgoing/GdalAccessViolationTicket/GdalAccessViolation.tfw
Login: geocueclient
Password: ZH66PjGB
This image also fails for me using gdalinfo.exe from a command prompt (Error signature ModName?: libecwj2.dll). Even if this image is not up to spec, it would be nice if GDAL could detect and fail gracefully without an access violation which forces my application to exit. Some other non-gdal applications display this file fine. I am using the binaries downloaded from gisinternals. I have the following plugins:
07/12/2012 07:09 AM 89,088 gdal_BAG.dll
07/12/2012 07:10 AM 346,112 gdal_ECW_JP2ECW.dll
07/12/2012 07:10 AM 65,024 gdal_FITS.dll
07/12/2012 07:10 AM 156,160 gdal_GMT.dll
07/12/2012 07:09 AM 89,088 gdal_HDF5.dll
07/12/2012 07:09 AM 89,088 gdal_HDF5Image.dll
07/12/2012 07:09 AM 102,912 gdal_MrSID.dll
07/12/2012 07:10 AM 156,160 gdal_netCDF.dll
