[Gdal-dev] Use of assert() on troublesome files

Ben Discoe ben at vterrain.org
Fri Mar 5 17:09:49 EST 2004


Andrey,

I re-read your message, and you said to replace the jconfig.h AND don't
change the order of the # define HAVE_BOOLEAN in tif_jpeg.c.  So, i tried
that, and rebuilt GDAL.

Now, the major problem is fixed!  Wonderful!  Only a couple warnings are
left, but no crash:

C:\APIs\gdal120a\bin>gdalwarp kaena_pt.tif kaena_pt2.tif
Warning 1: TIFFReadDirectory:kaena_pt.tif: wrong data type 1 for
"XMLPacket"; tag ignored
Creating output file is that 5371P x 3251L.
Warning 1: TIFFReadDirectory:kaena_pt.tif: wrong data type 1 for
"XMLPacket"; tag ignored
:0...10...20...30...40...50...60...70...80...90...100 - done.

Thanks,
Ben

> -----Original Message-----
> From: Ben Discoe [mailto:ben at vterrain.org] 
> Sent: Friday, March 05, 2004 5:03 PM
> To: 'Andrey Kiselev'
> Subject: RE: [Gdal-dev] Use of assert() on troublesome files
> 
> Andrey,
> 
> I replaced my jconfig.h with your file.  That got GDAL to 
> compile cleanly.
> 
> However, when i run the resulting DLL with gdalwarp on my TIF 
> file, i still get these same errors:




More information about the Gdal-dev mailing list