1997.01.08 17:14 "LIBFIFF caused first chance exception in NTDLL.DLL", by Albert Ling
I am using libtiff v3.4beta035 with VC++ 4.1b in my application for reading fax images on Windows NT 4.0b1. For some images (but not all), the library causes a first chance exception in NTDLL.DLL during debug session. If I ignore it and continue--or if I'm using the release build--things seem to be OK.
I've traced the problem to the exact location in tif_win32.c:
_tiffUnmapProc(thandle_t fd, tdata_t base, toff_t map_handle)
//first chance exception happens here
//when calling CloseHandle()
I end up looking at some disassembled code in NTDLL.DLL which I am not inclined to understand. I guess I could just ignore it since it hasn't caused any real problem. But if anyone knows what's happening here---or better yet, can offer a way to eliminate it, I'll be much obliged.