2006.08.06 10:01 "[Tiff] problems with thumbanil on mac", by Boris Filipovi

Hi,

I've encountered a problem with thumbnail on mac (os x 10.3.9):

With _some_ images (e.g. http://muj.webpark.cz/tmp/orig.tif.bz2 [250 kb]) it crashes with Segmentation fault. Here is how can I reproduce the problem (libtiff 3.8.2):

$ thumbnail -w 3552 -h 6096 orig.tif thumb.tif
  rastersize=173223936
  ...
  bpr=3552, sy=48752, bpr*sy=173167104
  bpr=3552, sy=48760, bpr*sy=173195520
  Segmentation fault

If I run it under gdb i got:
(gdb) run -w 3552 -h 6096 orig.tif thumb.tif
...
bpr=3552, sy=48752, bpr*sy=173167104
bpr=3552, sy=48760, bpr*sy=173195520

Program received signal EXC_BAD_ACCESS, Could not access memory.

setrow (row=0x34ae5ff "", nrows=8, rows=0xbffff010) at thumbnail.c:500
500 thumbnail.c: No such file or directory.
        in thumbnail.c

On linux it works with the same tif fine.

Where can be the problem?

Thanks
Boris Filipovic