Opened 6 years ago

Closed 6 years ago

#4622 closed defect (fixed)

TSX driver crashes in Identify() with certain filenames that are empty

Reported by: Even Rouault Owned by: Even Rouault
Priority: normal Milestone: 1.9.1
Component: GDAL_Raster Version: unspecified
Severity: normal Keywords:



Hi List,
We have encountered something really strange in our GDAL build (1.9.0, built from source on Windows 7 64-bit).   It appears that "gdal_translate" crashes (i.e. Windows popup dialog that says "gdal_translate has stopped working...") when the output filename starts with certain strings.  It seems that the input file can be a random GeoTiff with a random name and path - the killer seems to be the *output* filename.

--- These commands result in the crash:
gdal_translate  -of  GTiff  -co  tiled=yes  F:\PreIngest\junk2.tif  C:\Temp\TSX1_SAR.tif
gdal_translate  -of  GTiff  -co  tiled=yes  F:\PreIngest\junk2.tif  C:\Temp\TDX1_SAR.tif

Whereas that same command finishes without a problem, if the output filename is changed to "TAX1_SAR.tif" or "TDX2_SAR.tif" or "TDX1_SA.tif"

Our experiments indicate the command will fail anytime the output filename starts with the strings "TDX1_SAR" or "TSX1_SAR".  Can anyone out there duplicate this ?  In general, GDAL has been quite reliable for us - this is probably the strangest thing we've seen.

Change History (1)

comment:1 Changed 6 years ago by Even Rouault

Milestone: 1.9.1
Resolution: fixed
Status: newclosed

Fixed in trunk (r24254) and branches/1.9 (r24255)

Note: See TracTickets for help on using tickets.