Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas005.isp.belgacom.be (localhost [127.0.0.1])
        by inav030.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k76AGoew026466
        for <joris.at.lebbeke@skynet.be>; Sun, 6 Aug 2006 12:16:50 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx014.isp.belgacom.be (inmx014.isp.belgacom.be [195.238.4.217])
        by inas005.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k76AGhvv013848
        for <joris.at.lebbeke@skynet.be>; Sun, 6 Aug 2006 12:16:44 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx014.isp.belgacom.be (8.12.11.20060308/8.12.11/Skynet-IN-2.32) with ESMTP id k76AGf2Q031615
        for <joris.at.lebbeke@skynet.be>; Sun, 6 Aug 2006 12:16:42 +0200
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (duke.maptools.org [127.0.0.1])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k76A1OGg014395;
	Sun, 6 Aug 2006 06:02:32 -0400
Received: from mail1002.centrum.cz (mail1002.centrum.cz [213.29.7.174])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k76A1Lio014392
	for <tiff@lists.maptools.org>; Sun, 6 Aug 2006 06:01:22 -0400
Received: by mail1002.centrum.cz id S53444718AbWHFKBM (ORCPT
	<rfc822;tiff@lists.maptools.org>); Sun, 6 Aug 2006 12:01:12 +0200
Received: from 89.102.4.157 by mail1002.centrum.cz (Centrum Mail) with HTTP
Date: Sun, 06 Aug 2006 12:01:12 +0200
From: "Boris Filipovi" <b.filipovic@centrum.cz>
To: <tiff@lists.maptools.org>
X-Mailer: Centrum Mail 1.0
MIME-Version: 1.0
X-Priority: 3
Message-ID: <200608061201.14816@centrum.cz>
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 8bit
Subject: [Tiff] problems with thumbanil on mac
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org
X-UIDL: 000000000023ceae.0000195a
X-MSP-STORE: Sun, 06 Aug 2006 12:16:58 +0200
Status:   

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

_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
