[gdal-dev] GDAL 1.10 JP2000 Problem/Crash

Kyle Shannon kyle at pobox.com
Wed May 22 10:27:47 PDT 2013


Dennis,
I believe you can use Even's GDAL API Proxy to avoid crashes in third
party libraries.  See:

http://trac.osgeo.org/gdal/ticket/4979

for more info.

kss

On Wed, May 22, 2013 at 11:22 AM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Dennis,
>
> Ah.  In my experience the ECW SDK 3.3 JPEG2000 support is buggy and I was
> never really able to trace down the issues.  I would encourage you to
> consider alternatives - one possibility is the MrSID SDK's JPEG2000 support.
> If Tamas's build includes MrSID support then all you need to do is set the
> GDAL_SKIP environment variable to JP2ECW which would make GDAL skip the ECW
> based driver.   If Tamas hasn't built with MrSID then it falls to you to
> build GDAL which can be somewhat complicated.
>
> Best regards,
> Frank
>
>
>
> On Wed, May 22, 2013 at 9:42 AM, Dennis Gocke <dengo at gmx.net> wrote:
>>
>> I'm using the stable 1.10 build from Tamas' site.
>>
>> GDALIdentifyDriver on the file reports: "ERDAS JPEG2000 (SDK 3.x)"
>>
>> When trying to open the file I get an AccessViolationException.
>>
>> Cheers,
>> Dennis
>>
>>
>> On Wed, May 22, 2013 at 3:35 PM, Frank Warmerdam <warmerdam at pobox.com>
>> wrote:
>>>
>>> Dennis,
>>>
>>> There are several jpeg2000 drivers potentially available for gdal.  Do
>>> you know which you are using?
>>>
>>> Best regards,
>>>
>>> On May 22, 2013 5:20 AM, "Dennis Gocke" <dengo at gmx.net> wrote:
>>>>
>>>> Hi,
>>>>
>>>> I’ve encountered a problem with Pleiades JP2 files from Astrium, GDAL
>>>> crashes when opening the file.
>>>>
>>>> You should be able to reproduce the the crash by downloading a sample
>>>> dataset from their page.
>>>>
>>>> http://www.astrium-geo.com/en/23-sample-imagery
>>>>
>>>> Optical Imagery->Pleiades->Pleiades Primary Product – Bundle
>>>> You have to fill out the form and will then receive a download link via
>>>> email.
>>>>
>>>> The crash happens with the file
>>>> FCGC600031035/IMG_PHR1A_MS_002/IMG_PHR1A_MS_201202250025599_SEN_PRG_FC_5847-002_R1C1.JP2
>>>>
>>>> And I have other JP2 Pleiades files where it happens too, so it’s not
>>>> related to this single file. Both ERDAS and ArcGIS are able to open the
>>>> file.
>>>>
>>>> If it’s not possible to open the files with GDAL, an appropriate error
>>>> message instead of a crash would be good.
>>>>
>>>> Thanks for looking into it.
>>>> Cheers,
>>>> Dennis
>>>>
>>>> _______________________________________________
>>>> gdal-dev mailing list
>>>> gdal-dev at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>>
>
>
>
> --
> ---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Software Developer
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list