Opened 19 years ago

Last modified 19 years ago

#922 closed defect (fixed)

"double free or corruption" on tiff from SuperEdit PRO

Reported by: werchowyna@… Owned by: warmerdam
Priority: high Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

Frank,

When running gdal_translate on tiffs produced by SuperEdit PRO 2.4
(http://tessel.se/superedit/superedit.htm) I've been having following errors:

gdal_translate
/mnt/windows/sieczka/robota/caves/mestich/prochowice/zrobione/prochowice_z5.tif
prochowice_z5_gdtr.tif
Input file size is 3334, 5568
0...10...20...30...40...50...60...70...80...90...100 - done.
ERROR 6: SetColorTable() not supported for this dataset.
*** glibc detected *** double free or corruption (fasttop): 0x08055288 ***
Aborted

This problem dissapears after I read the file into GIMP and save it (GIMP
displays an information about several unrecognized tags).

Yet when processing the tiff converted by GIMP another error message pops up:

gdal_translate -co "TFW=YES" prochowice_z5_gimp.tif prochowice_z5_gdtr.tif
Input file size is 3334, 5568
0...10...20...30...40...50...60...70...80...90...100 - done.

ERROR 6: SetColorTable() not supported for this dataset.



I don't how serious these are, but I thought you might like to know about it.
I'm putting the prochowice_z5.tif made by SuperEdit PRO here for investigation:
http://www.biol.uni.wroc.pl/sieczka/udostepnione/prochowice_z5.tar.bz2

Maciek

P.S.
GDAL 1.3.0.0, released 2005/08/15

Change History (1)

comment:1 by warmerdam, 19 years ago

Maciek,

It turns out this was a pretty serious bug in libtiff with "resetting" a 
custom string field.  I have committed a fix to libtiff, and re-imported the
fix into the GDAL libtiff copy. 

The actual fix was in libtiff/tif_dir.c.

Thanks!

Note: See TracTickets for help on using tickets.