Opened 17 years ago

Last modified 17 years ago

#1507 closed defect

GDALRasterIO crashes for width values higher than 2048 with LZW enabled — at Version 6

Reported by: luizcpg@… Owned by: Mateusz Łoskot
Priority: normal Milestone: 1.4.3
Component: GDAL_Raster Version: 1.4.1
Severity: normal Keywords:
Cc:

Description (last modified by Mateusz Łoskot)

Env : x86 32 bits - Linux Gdal 1.3.1

with width > 2048 and LZW disabled, work ,but the output file size is nosense.

GDAL_CACHEMAX = 10 or 100 has no diference.

Example of code: http://rafb.net/p/ssWLHQ99.html (mloskot: this paste is unavailable now)

Change History (5)

by luizcpg@…, 17 years ago

Attachment: gdal_example.c added

code demonstrating the problem.

comment:1 by warmerdam, 17 years ago

Mateusz, 

Can you try and reproduce this.  We can consult on a solution, if one is needed.
I *suspect* this is something fixed in recent versions of libtiff so be very
aware of libtiff version.  Likely best to test with curren gdal+built-in-libtiff
and then gdal-1.3.1+build-in-libtiff if it doesn't occur with current. 

comment:4 by warmerdam, 17 years ago

Description: modified (diff)
Milestone: 1.4.1

comment:5 by warmerdam, 17 years ago

Priority: highestnormal

comment:6 by Mateusz Łoskot, 17 years ago

Description: modified (diff)
Status: newassigned
Note: See TracTickets for help on using tickets.