Page 1 of 1

TIFF file crashes gflLoadBitmapFromMemory() (and XnView too)

Posted: Tue Jun 29, 2010 10:01 am
by Ralf
attached TIFF file (and a bunch of similar ones - apparently texture files created with tdlmake from 3Delight) crashes gflLoadBitmapFromMemory() (tested with GFL SDK 2.8.2) - and XnView 1.97.6 as well

Microsoft Explorer shows proper thumbnails on Win7 (but not on XP)

gflGetFileInformationFromHandle() seems to work just fine, accessing the pixels gives us grief :(

GFL_ERROR const gfl_error = gflLoadBitmapFromMemory( reinterpret_cast<GFL_UINT8 const *>(pIn), filled, &p_bitmap, &load_params, NULL );

Heap corruption detected at 0943A078
First-chance exception at 0x7d62c72b in a.exe: 0xC0000005: Access violation writing location 0xffffffff.
HEAP[a.exe]: Heap block at 089A1F30 modified at 089A2638 past requested size of 700

Re: TIFF file crashes gflLoadBitmapFromMemory() (and XnView

Posted: Wed Jun 30, 2010 6:49 am
by AmigoJack
I can confirm this: GFL SDK 3.11 on WinXP also crashes when gflLoadBitmap()ing or gflLoadThumbnail()ing this file.

Even the old ACDSee 3.1 (from 2000) can read this file without problems - picture properties are displayed as "9@256x256x24b tiff" (9 pages, 256px in width and height, truecolor, compression ratio is 4.2).

Re: TIFF file crashes gflLoadBitmapFromMemory() (and XnView

Posted: Tue Sep 07, 2010 12:29 pm
by xnview
Please try XnView 1.97.7

Re: TIFF file crashes gflLoadBitmapFromMemory() (and XnView

Posted: Tue Sep 07, 2010 1:16 pm
by Ralf
XnView 1.97.7 works great with these files! thanks! :D

now all i need is an updated gfl sdk... :wink: