Results 1 to 4 of 4

Thread: Ask for help: exception at 0x6549960a (QtGuid4.dll)

  1. #1
    Join Date
    Dec 2008
    Posts
    68

    Default Ask for help: exception at 0x6549960a (QtGuid4.dll)

    Hello,

    I compiled my Qt application with 4.5.0 rc-1 and had the following exception:

    Unhandled exception at 0x6549960a (QtGuid4.dll) in myApp.exe: 0xC0000005: Access violation reading location 0xfeeeff9a.


    I didn't have such problem with 4.4.3. I copied the call stack as following. Could anyone help me with this problem and what to do? Is it a bug in 4.5.0 rc-1?

    thank you!


    Qt Code:
    1. > QtGuid4.dll!QMenu::findIdForAction(QAction * act=0x02c5cc78) Line 3152 + 0x8 C++
    2. QtGuid4.dll!QMenuPrivate::activateCausedStack(const QList<QPointer<QWidget> > & causedStack={...}, QAction * action=0x02c5cc78, QAction::ActionEvent action_e=Trigger, bool self=true) Line 960 + 0x13 C++
    3. QtGuid4.dll!QMenuPrivate::activateAction(QAction * action=0x02c5cc78, QAction::ActionEvent action_e=Trigger, bool self=true) Line 1056 C++
    4. QtGuid4.dll!QMenu::mouseReleaseEvent(QMouseEvent * e=0x0012c03c) Line 2249 C++
    5. QtGuid4.dll!QWidget::event(QEvent * event=0x0012c03c) Line 7512 C++
    6. QtGuid4.dll!QMenu::event(QEvent * e=0x0012c03c) Line 2347 C++
    7. QtGuid4.dll!QApplicationPrivate::notify_helper(QObject * receiver=0x02d803b8, QEvent * e=0x0012c03c) Line 4051 + 0xf C++
    8. QtGuid4.dll!QApplication::notify(QObject * receiver=0x02d803b8, QEvent * e=0x0012c03c) Line 3753 + 0x2f C++
    9. QtCored4.dll!QCoreApplication::notifyInternal(QObject * receiver=0x02d803b8, QEvent * event=0x0012c03c) Line 594 + 0x13 C++
    10. QtCored4.dll!QCoreApplication::sendSpontaneousEvent(QObject * receiver=0x02d803b8, QEvent * event=0x0012c03c) Line 211 + 0x38 C++
    11. QtGuid4.dll!QApplicationPrivate::sendMouseEvent(QWidget * receiver=0x02d803b8, QMouseEvent * event=0x0012c03c, QWidget * alienWidget=0x00000000, QWidget * nativeWidget=0x02d803b8, QWidget * * buttonDown=0x65b23c80, QPointer<QWidget> & lastMouseReceiver={...}) Line 2913 + 0xe C++
    12. QtGuid4.dll!QETWidget::translateMouseEvent(const tagMSG & msg={...}) Line 3166 + 0x28 C++
    13. QtGuid4.dll!QtWndProc(HWND__ * hwnd=0x00050bfa, unsigned int message=514, unsigned int wParam=0, long lParam=6029582) Line 1669 + 0xc C++
    14. user32.dll!7e418734()
    15. user32.dll!7e418816()
    16. user32.dll!7e4189cd()
    17. ntdll.dll!7c915d27()
    18. ntdll.dll!7c915d27()
    19. user32.dll!7e418a10()
    20. QtCored4.dll!QEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 746 + 0x17 C++
    21. QtGuid4.dll!QGuiEventDispatcherWin32::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 1177 + 0x15 C++
    22. QtCored4.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 145 C++
    23. QtCored4.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 195 + 0x2d C++
    24. QtCored4.dll!QCoreApplication::exec() Line 872 + 0x15 C++
    25. QtGuid4.dll!QApplication::exec() Line 3527 C++
    26. myApp.exe!main(int argc=2, char * * argv=0x02aa6d68) Line 182 + 0x6 C++
    27. myApp.exe!WinMain(HINSTANCE__ * instance=0x00400000, HINSTANCE__ * prevInstance=0x00000000, char * __formal=0x00141f07, int cmdShow=1) Line 133 + 0x12 C++
    28. myApp.exe!WinMainCRTStartup() Line 390 + 0x39 C
    29. kernel32.dll!7c817067()
    30. ntdll.dll!7c915d27()
    To copy to clipboard, switch view to plain text mode 

  2. #2
    Join Date
    Jan 2008
    Location
    Poland
    Posts
    687
    Thanks
    4
    Thanked 140 Times in 132 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Ask for help: exception at 0x6549960a (QtGuid4.dll)

    It would be better to see the code with marked line where the error appears.
    I would like to be a "Guru"

    Useful hints (try them before asking):
    1. Use Qt Assistant
    2. Search the forum

    If you haven't found solution yet then create new topic with smart question.

  3. #3
    Join Date
    Dec 2008
    Posts
    68

    Default Re: Ask for help: exception at 0x6549960a (QtGuid4.dll)

    The problem is that I don't know where the error happens in my code. From the track stack, it is from the QtGuid4.dll.

    I have no idea where to start ...

  4. #4
    Join Date
    Mar 2009
    Posts
    2
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Ask for help: exception at 0x6549960a (QtGuid4.dll)

    Hi richardander,

    from line 26 in your post
    Qt Code:
    1. myApp.exe!main(int argc=2, char * * argv=0x02aa6d68) Line 182 + 0x6 C++
    To copy to clipboard, switch view to plain text mode 
    I would guess that you are passing an argument to your programm. First of all I would try to not pass any arguments to the application and see what is happening.

    argc => argument count
    the number of arguments passed to the application from the command line. the first argument is always the executables name.

    Then it would be helpfull if you could show us how you start your application, e.g.
    Qt Code:
    1. myApp.exe firstArgument
    To copy to clipboard, switch view to plain text mode 

    Taurho

Similar Threads

  1. exception at 0x65100c40 (QtGuid4.dll)
    By sabeesh in forum Qt Programming
    Replies: 11
    Last Post: 21st December 2007, 17:10

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.