2008.11.24 19:40 "[Tiff] TIFFWriteScanline corrupts buffer when compression with predication is enabled", by William B Thompson
2008.11.27 10:22 "Re: [Tiff] Memory leak opening and closing files?", by John
2008/11/27 Eric Bruneton <Eric.Bruneton@inria.fr>:
I haven't found it. However I found that when compiling the libtiff code together with my application code in a single executable (i.e. without using a separate static library for libtiff), then the problem disappears. So it might be due to fragmentation, but I don't understand why this fragmentation occurs in one case but not in the other.
There's also the low-fragmentation heap:
http://msdn.microsoft.com/en-us/library/aa366750(VS.85).aspx
you could see if this reduces the problem.
John