Menu

Assertion Error in GDeviceQt

2010-03-23
2012-10-22
  • Henry Thacker

    Henry Thacker - 2010-03-23

    Hi,

    Everything is working absolutely fantastically on Linux / OS X, but on Windows
    I hit an:

    assert(0);
    

    in

    GDeviceQt.cpp
    

    on line 745 (within GDeviceQt::ReleaseBitMapPixels())..

    Has anyone seen this before?

    Cheers,

    Henry

     
  • Dominique Fober

    Dominique Fober - 2010-03-23

    Never got it (up to now :-)
    Seems to come from a method not implemented :

    void GDeviceQt::ReleaseBitMapPixels()
    {  
        assert(0);//Not implemented.
    }
    

    Don't know if you should care or ignore. The method is never called within the
    current source set.
    --
    Dominique

     
  • Henry Thacker

    Henry Thacker - 2010-03-25

    Unfortunately ignoring the method still causes the App to terminate. This
    method is called on two Windows boxes I have used for testing. Presumably
    there have been no issues in using the Windows version during testing? I
    wonder if something changed in Qt 4.6?? I'll try to debug further.

     
  • Dominique Fober

    Dominique Fober - 2010-03-25

    Unfortunately ignoring the method still causes the App to terminate.

    that should be true in debug mode only (but it depends on your compiler /
    libraries).

    You can safely comment out the assert line or replace with a message flushed
    to cerr for example. But it doesn't solve the implementation issue :-)

    If you want to get the source code without these asserts, I've modified the
    mapping branch.

     
  • Henry Thacker

    Henry Thacker - 2010-04-03

    Sorry about the late reply - I will give this a go tonight as I have to try
    and get this working on Windows this evening. Thanks :)

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.