2006.01.27 22:18 "[Tiff] (no subject)", by Joel Wilson

2006.01.30 18:11 "Re: [Tiff] (no subject)", by Frank Warmerdam

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