Opened 11 years ago

Closed 11 years ago

#4889 closed defect (fixed)

gsag driver hangs on specific input file

Reported by: rapto Owned by: warmerdam
Priority: normal Milestone: 1.9.3
Component: GDAL_Raster Version: unspecified
Severity: major Keywords: gsag hangs
Cc:

Description

The attached file hangs gdal related utilities

marcos@renata:~$ gdalinfo -mm buggy.grd 2>xxx
Driver: GSAG/Golden Software ASCII Grid (.grd)
Files: buggy.grd
Size is 141, 111
Coordinate System is `'
Origin = (462905.000000000000000,4812600.000000000000000)
Pixel Size = (1000.000000000000000,-1000.000000000000000)
Corner Coordinates:
Upper Left  (  462905.000, 4812600.000) 
Lower Left  (  462905.000, 4701600.000) 
Upper Right (  603905.000, 4812600.000) 
Lower Right (  603905.000, 4701600.000) 
Center      (  533405.000, 4757100.000) 
Band 1 Block=141x1 Type=Float64, ColorInterp=Undefined
[hangs until ^C]
marcos@renata:~$ head xxx
ERROR 3: Can't read portion of grid row 71 at offset 77674.
ERROR 3: Can't read portion of grid row 71 at offset 77674.
ERROR 3: Can't read portion of grid row 71 at offset 77674.
ERROR 3: Can't read portion of grid row 71 at offset 77674.
ERROR 3: Can't read portion of grid row 71 at offset 77674.

Attachments (1)

buggy.grd (76.0 KB ) - added by rapto 11 years ago.
File that hangs gdal gsag driver

Download all attachments as: .zip

Change History (2)

by rapto, 11 years ago

Attachment: buggy.grd added

File that hangs gdal gsag driver

comment:1 by Even Rouault, 11 years ago

Milestone: 1.9.3
Resolution: fixed
Status: newclosed

Fixed in trunk (r25215) and branches/1.9 (r25216)

Note: See TracTickets for help on using tickets.