Opened 17 years ago

Closed 17 years ago

#1845 closed defect (fixed)

1.3.6 gdal_translate memory corruption

Reported by: regodon Owned by: warmerdam
Priority: normal Milestone:
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:
Cc:

Description

/usr/local/FWTools/bin_safe/gdal_translate -ot Int16 -of GTiff -co "COMPRESS=DEFLATE" input.vrt output.tif

* glibc detected * malloc(): memory corruption: 0x08058418 *

Input file size is 281, 171 /usr/local/FWTools-1.3.6/bin_safe/gdal_translate: line 9: 4059 Aborted $FWTOOLS_HOME/bin/basename $TARGET "$@" Input file size is 281, 171 0...10...20...30...40...50...60...70...80...90...* glibc detected * double free or corruption (!prev): 0x08058330 * 100 - done. /usr/local/FWTools-1.3.6/bin_safe/gdal_translate: line 9: 4071 Aborted

It fails With FWTools 1.3.6. With 1.3.5 it works fine.

Change History (3)

comment:1 by warmerdam, 17 years ago

Status: newassigned

I have reproduced this problem. A traceback suggests heap corruption, and the error occurs in TIFFMergeFieldInfo() - a major recent source of problems in libtiff. I will try updating libtiff and see if I can still reproduce the problem.

The problem does *not* occur with my internal libtiff development build. It does occur with FWTools.

comment:2 by warmerdam, 17 years ago

Francisco,

Could you try this again with FWTools 1.3.9 for Linux?

http://home.gdal.org/fwtools/FWTools-linux-1.3.9.tar.gz

comment:3 by regodon, 17 years ago

Resolution: fixed
Status: assignedclosed

It works! Thanks!

Note: See TracTickets for help on using tickets.