Return-Path: <tiff-bounces@lists.maptools.org>
Received: from inas005.isp.belgacom.be (localhost [127.0.0.1])
        by inav014.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AV-3.00) with ESMTP id k0UIK58C026179
        for <joris.at.lebbeke@skynet.be>; Mon, 30 Jan 2006 19:20:05 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from inmx011.isp.belgacom.be (inmx011.isp.belgacom.be [195.238.5.50])
        by inas005.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-AS-2.03) with ESMTP id k0UIJubr016939
        for <joris.at.lebbeke@skynet.be>; Mon, 30 Jan 2006 19:19:57 +0100
        (envelope-from <tiff-bounces@lists.maptools.org>)
Received: from duke.maptools.org (r153.dmsolutions.ca [209.217.116.153] (may be forged))
        by inmx011.isp.belgacom.be (8.12.11/8.12.11/Skynet-IN-2.32) with ESMTP id k0UIJoaG001384
        for <joris.at.lebbeke@skynet.be>; Mon, 30 Jan 2006 19:19:53 +0100
        (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 k0UIBWPq007859;
	Mon, 30 Jan 2006 13:12:45 -0500
Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.205])
	by duke.maptools.org (8.12.11/8.12.10) with ESMTP id k0UIBRID007831
	for <tiff@lists.maptools.org>; Mon, 30 Jan 2006 13:11:28 -0500
Received: by zproxy.gmail.com with SMTP id n29so1065276nzf
	for <tiff@lists.maptools.org>; Mon, 30 Jan 2006 10:11:26 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
	b=CRxnxaaSM+G+68kNC171n2bmmQCgIC+gFbjhqFNDsU/K8nqBrFGzRoCSzu2Jpwd0cJ7KgLsO3KsuXZzaNYX9ef5+ZBTxJWc2ClKwoYa8Ie0veXseYDz3ek9+SwFjN7Xcv6IvUE/x/+SaQKQVQjW1LAvLmAenQUAGJMtDmV4QMes=
Received: by 10.64.220.7 with SMTP id s7mr2070685qbg;
	Mon, 30 Jan 2006 10:11:26 -0800 (PST)
Received: by 10.65.154.14 with HTTP; Mon, 30 Jan 2006 10:11:26 -0800 (PST)
Message-ID: <931f8ea90601301011l1a7f9f19t876398e84bc68a33@mail.gmail.com>
Date: Mon, 30 Jan 2006 13:11:26 -0500
From: Frank Warmerdam <warmerdam@pobox.com>
To: Joel Wilson <JoelW@surdex.com>
Subject: Re: [Tiff] (no subject)
In-Reply-To: <0C36EAD082BD9947B9B1E639A62A14AA8B94E6@emailserver.sdxdomain>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <0C36EAD082BD9947B9B1E639A62A14AA8B94E6@emailserver.sdxdomain>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by duke.maptools.org id
	k0UIBRID007831
Cc: tiff@lists.maptools.org
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.00001208
X-MSP-STORE: Mon, 30 Jan 2006 19:20:12 +0100
Status:   

On 1/27/06, Joel Wilson <JoelW@surdex.com> wrote:
> Frank et al
>
> I am updating my current version of libtiff and libgeotiff.  I am also moving to .net 2005.  The libraries compile and run, but if I run a program in debug mode, some files cause a crash.  For example geotiffcp will error out when given a 32 bps tiff, if it is built in debug, but not when built with release flags.  I have traced it to a validate statement in fstat64.c.  It seems to be when it is trying to open the image.  In some of my programs I have this same behavior when used on 16 bit images.  Any help would be greatly appreciated.  Thanks.
>

Joel,

I'm not sure why you are seeing this problem.  I don't
have VS.NET 2005 so I can't easily try and replicate
the issue.  If you are going through fstat64 I am guessing
you are using tif_unix.c instead of tif_win32.c.  You might
want to try tif_win32.c instead and see if that works better.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

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