AWARE [SYSTEMS] Imaging expertise for the Delphi developer
AWare Systems, Imaging expertise for the Delphi developer, Home TIFF and LibTiff Mailing List Archive

LibTiff Mailing List

TIFF and LibTiff Mailing List Archive
August 2006

Previous Thread
Next Thread

Previous by Thread
Next by Thread

Previous by Date
Next by Date

Contact

The TIFF Mailing List Homepage
This list is run by Frank Warmerdam
Archive maintained by AWare Systems



Valid HTML 4.01!



2006.08.06 10:01 "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