AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2020.07.16 21:04 "[Tiff] program crashing when using TIFFClientOpen API during closing the file.", by Upanita Goswami
2020.07.16 22:15 "Re: [Tiff] program crashing when using TIFFClientOpen API during closing the file.", by Bob Friesenhahn
2020.07.16 23:12 "[Tiff] Fw: program crashing when using TIFFClientOpen API during closing the file.", by Upanita Goswami
2020.07.17 13:01 "Re: [Tiff] Fw: program crashing when using TIFFClientOpen API during closing the file.", by Bob Friesenhahn
2020.07.17 14:24 "Re: [Tiff] Fw: program crashing when using TIFFClientOpen API during closing the file.", by Upanita Goswami
2020.07.17 18:22 "Re: [Tiff] Fw: program crashing when using TIFFClientOpen API during closing the file.", by Bob Friesenhahn

2020.07.16 22:15 "Re: [Tiff] program crashing when using TIFFClientOpen API during closing the file.", by Bob Friesenhahn

This is pretty consistent in Linux but not in MAC and Windows. Is this a known issue? How to resolve this? Our libTIFF version is 4.1.0.

I suggest using valgrind and/or ASAN to see if any harm was done prior to the close. Valgrind is good at finding heap related errors and does not require a special build configuration beyond some level of debug symbols. ASAN is capable of a bit more (and it is a lot faster) but it requires that the code be compiled with special options (and the compiler needs to support ASAN).

These interfaces do work well in other software.

Bob

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