<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<font class="Apple-style-span" face="Tahoma" size="2">Hi,</font><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div style="font-family: Tahoma; font-size: 10pt; ">Using gdalinfo from GDAL 1.8 release build (<span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; "><a class="ext-link" href="http://vbkto.dyndns.org:1280/sdk/" style="text-decoration: none; color: rgb(187, 0, 0); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(187, 187, 187); ">http://vbkto.dyndns.org:1280/sdk/</a>) on this jpeg 2000 file</span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; ">(http://www.openjpeg.org/samples/Facade.j2k) crash !</span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; "><br></span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; ">To debug it I built gdal from source and registered only open jpeg 2000 driver: it appears that a unhandled exception was</span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; ">thrown at this line </span>if(!opj_read_header(pCodec, &psImage, &nX0, &nY0, &nTileW, &nTileH, &nTilesX, &nTilesY, pStream))</div><div style="font-family: Tahoma; font-size: 10pt; ">in JP2OpenJPEGDataset::Open method.</div><div style="font-family: Tahoma; font-size: 10pt; "><br></div><div><font class="Apple-style-span" face="Tahoma" size="2">The used openjpeg.dll is the one that come with </font><a class="ext-link" href="http://vbkto.dyndns.org:1280/sdk/" style="text-indent: 0px !important; text-decoration: none; color: rgb(187, 0, 0); border-bottom-width: 1px; border-bottom-style: dotted; border-bottom-color: rgb(187, 187, 187); font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; font-size: 10pt; ">http://vbkto.dyndns.org:1280/sdk</a><font class="Apple-style-span" face="Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif" size="2"> which i assume was a private build from</font></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; ">the open jpeg branch or trunk.</span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; "><br></span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; ">Should i file this as ticket with GDAL or probably with open jpeg 2000 ?</span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; "><br></span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; ">Thanks</span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; "><br></span></div><div style="font-family: Tahoma; font-size: 10pt; "><span class="Apple-style-span" style="font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif; ">Noureddine Farah</span></div>                                            </body>
</html>