Results 1 to 6 of 6

Thread: Problem with qgif4.dll

  1. #1
    Join Date
    Sep 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Problem with qgif4.dll

    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?

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problem with qgif4.dll

    Qt is not built with gif support I guess
    do u have qtgif.dll in you imageformats folder ?

  3. #3
    Join Date
    Sep 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with qgif4.dll

    I have qgif4.dll in plugins/imageformats. Moreover sometimes it works well - without access violation exception.

  4. #4
    Join Date
    Sep 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with qgif4.dll

    Example:

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








  5. #5
    Join Date
    Sep 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with qgif4.dll

    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.
    Last edited by IGEMON; 17th September 2010 at 13:48.

  6. #6
    Join Date
    Sep 2010
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Problem with qgif4.dll

    Can anybody help me?

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.