AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2013.04.18 07:50 "[Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode", by Sunanda Chowdhary
2013.04.18 23:00 "Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode", by Chris Cox
2013.04.22 03:42 "Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode", by Sunanda Chowdhary
2013.04.22 19:37 "Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode", by Chris Cox

2013.04.22 19:37 "Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode", by Chris Cox

LibTIFF is an open source library. Build it, and debug it.

Chris

________________________________________ From: Sunanda Chowdhary Sent: Sunday, April 21, 2013 8:42 PM To: Chris Cox; TIFF

Subject: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode RE:

Hello Chris,

TiffOpenW() crashes. I am using Lib TIFF DLL and Library and Lib TIFF source code is not available to me. I am not able to debug exactly why it is failing but call stack shows it fails in TiffClientOpen API.

When I refer to ASCII I mean that path of the TIFF file or name of the TIFF file contains ASCII characters only. Also, if path or name of file contains Non-ASCII characters then also TiffOpenW() crashes. As I already mentioned _wopen() is able to open the file successfully.

Thanks

From: Chris Cox
Sent: 19 April 2013 04:30
To: Sunanda Chowdhary; TIFF

Subject: Re: [Tiff] TiffOpenW() crashes (raises exception) when Tiff file containing ASCII characters is opened in read mode

First you say it crashes, then you say it throws exceptions: which is it?

And what do you mean by “non-ASCII is anyway failing”?

And are you talking about the filename being ASCII versus non-ASCII?
Some part of the path?
Some part of the metadata?

Have you used a debugger to see where the error is occurring inside TifOpenW?

Chris

On 4/18/13 12:50 AM, "Sunanda Chowdhary" <chowdhar@adobe.com> wrote: