PDA

View Full Version : Problem with qgif4.dll



IGEMON
16th September 2010, 19:15
Exception in qgif4.dll occurs when I am trying to load some GIF files using loadFromData(). Also I have tried to save data to the file on harddrive and after that load it using QImage constructor - there is no difference.

Exception Code: c0000005 - access violation.

I have tried other versions of .dll file - 4.6.3, 4.5.0, 4.7 - some give the same result (exception), some do not work at all.

What can be wrong?

aamer4yu
16th September 2010, 21:29
Qt is not built with gif support I guess
do u have qtgif.dll in you imageformats folder ?

IGEMON
17th September 2010, 06:35
I have qgif4.dll in plugins/imageformats. Moreover sometimes it works well - without access violation exception.

IGEMON
17th September 2010, 10:32
Example:

Unhandled exception at 0x052f37a9 in app.exe: 0xC0000005: Access violation reading location 0x0521dc72.

http://img836.imageshack.us/img836/8638/30028884.jpg

http://img821.imageshack.us/img821/468/13232191.jpg

http://img835.imageshack.us/img835/9623/59141735.jpg

http://img198.imageshack.us/img198/4346/31539637.jpg

IGEMON
17th September 2010, 13:44
One more..

Output:
Unhandled exception at 0x053037a9 in app.exe: 0xC0000005: Access violation reading location 0x0520cba2.

Call stack:
qgifd4.dll!053037a9()
[Frames below may be incorrect and/or missing, no symbols loaded for qgifd4.dll]
qgifd4.dll!0530516e()
QtGuid4.dll!QImageReader::read(QImage * image=0x0012fc40) Line 1129 + 0x21 bytes C++
QtGuid4.dll!QImageReader::read() Line 1079 + 0xc bytes C++
QtGuid4.dll!QImage::fromData(const unsigned char * data=0x01d125fe, int size=5413, const char * format=0x00000000) Line 4698 + 0x3a bytes C++
QtGuid4.dll!QImage::loadFromData(const unsigned char * data=0x01d125fe, int len=5413, const char * format=0x00000000) Line 4656 + 0x15 bytes C++

Code:
053037A9 movsx edx,word ptr [ecx+eax*2+20B0h]


EDX 05210F58
EAX FFFFCDCD

Something wrong with pointers i guess.

IGEMON
20th September 2010, 12:03
Can anybody help me?