AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2017.10.05 15:55 "[Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.06 17:00 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.06 08:24 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.05 16:13 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.06 09:19 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.06 12:39 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Olivier Paquet
2017.10.06 13:27 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.09 07:19 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.09 07:41 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Roger Leigh
2017.10.09 08:57 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.10 10:10 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.09 13:39 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Bob Friesenhahn
2017.10.10 12:07 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.10 12:22 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Even Rouault
2017.10.10 14:28 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard
2017.10.10 14:39 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Even Rouault
2017.10.10 17:35 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Roger Leigh

2017.10.06 08:24 "Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010", by Emmanuel Cosnard

I've just noticed that the problem occures only when I try to open a Tif with custom tags.

But I still have no idea why it works in Release and not in debug...

________________________________
De: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
Envoyé: jeudi 5 octobre 2017 16:13:49
À: Emmanuel Cosnard
Cc: tiff@lists.maptools.org
Objet: Re: [Tiff] Problem using libtiff in debug mode with visual studio 2010

On Thu, 5 Oct 2017, Emmanuel Cosnard wrote:
>
> Expression: (_osfile(fildes) & FOPEN)
>
>
> For information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.
>
>
> Has anyone already had the same error and know how the resolve it?

We have not heard of this before but it seems likely that the problem
is due to attempting to close a file descriptor which is not currently
open (either never been opened, or already been closed). This could
be due to a bug in libtiff or your application.

You are going to need to debug this for yourself some more such as
finding the call stack and arguments which lead to this situation.

Bob
--
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/