richardander
10th March 2009, 07:44
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!
> QtGuid4.dll!QMenu::findIdForAction(QAction * act=0x02c5cc78) Line 3152 + 0x8 C++
QtGuid4.dll!QMenuPrivate::activateCausedStack(cons t QList<QPointer<QWidget> > & causedStack={...}, QAction * action=0x02c5cc78, QAction::ActionEvent action_e=Trigger, bool self=true) Line 960 + 0x13 C++
QtGuid4.dll!QMenuPrivate::activateAction(QAction * action=0x02c5cc78, QAction::ActionEvent action_e=Trigger, bool self=true) Line 1056 C++
QtGuid4.dll!QMenu::mouseReleaseEvent(QMouseEvent * e=0x0012c03c) Line 2249 C++
QtGuid4.dll!QWidget::event(QEvent * event=0x0012c03c) Line 7512 C++
QtGuid4.dll!QMenu::event(QEvent * e=0x0012c03c) Line 2347 C++
QtGuid4.dll!QApplicationPrivate::notify_helper(QOb ject * receiver=0x02d803b8, QEvent * e=0x0012c03c) Line 4051 + 0xf C++
QtGuid4.dll!QApplication::notify(QObject * receiver=0x02d803b8, QEvent * e=0x0012c03c) Line 3753 + 0x2f C++
QtCored4.dll!QCoreApplication::notifyInternal(QObj ect * receiver=0x02d803b8, QEvent * event=0x0012c03c) Line 594 + 0x13 C++
QtCored4.dll!QCoreApplication::sendSpontaneousEven t(QObject * receiver=0x02d803b8, QEvent * event=0x0012c03c) Line 211 + 0x38 C++
QtGuid4.dll!QApplicationPrivate::sendMouseEvent(QW idget * receiver=0x02d803b8, QMouseEvent * event=0x0012c03c, QWidget * alienWidget=0x00000000, QWidget * nativeWidget=0x02d803b8, QWidget * * buttonDown=0x65b23c80, QPointer<QWidget> & lastMouseReceiver={...}) Line 2913 + 0xe C++
QtGuid4.dll!QETWidget::translateMouseEvent(const tagMSG & msg={...}) Line 3166 + 0x28 C++
QtGuid4.dll!QtWndProc(HWND__ * hwnd=0x00050bfa, unsigned int message=514, unsigned int wParam=0, long lParam=6029582) Line 1669 + 0xc C++
user32.dll!7e418734()
user32.dll!7e418816()
user32.dll!7e4189cd()
ntdll.dll!7c915d27()
ntdll.dll!7c915d27()
user32.dll!7e418a10()
QtCored4.dll!QEventDispatcherWin32::processEvents( QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 746 + 0x17 C++
QtGuid4.dll!QGuiEventDispatcherWin32::processEvent s(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 1177 + 0x15 C++
QtCored4.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 145 C++
QtCored4.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 195 + 0x2d C++
QtCored4.dll!QCoreApplication::exec() Line 872 + 0x15 C++
QtGuid4.dll!QApplication::exec() Line 3527 C++
myApp.exe!main(int argc=2, char * * argv=0x02aa6d68) Line 182 + 0x6 C++
myApp.exe!WinMain(HINSTANCE__ * instance=0x00400000, HINSTANCE__ * prevInstance=0x00000000, char * __formal=0x00141f07, int cmdShow=1) Line 133 + 0x12 C++
myApp.exe!WinMainCRTStartup() Line 390 + 0x39 C
kernel32.dll!7c817067()
ntdll.dll!7c915d27()
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!
> QtGuid4.dll!QMenu::findIdForAction(QAction * act=0x02c5cc78) Line 3152 + 0x8 C++
QtGuid4.dll!QMenuPrivate::activateCausedStack(cons t QList<QPointer<QWidget> > & causedStack={...}, QAction * action=0x02c5cc78, QAction::ActionEvent action_e=Trigger, bool self=true) Line 960 + 0x13 C++
QtGuid4.dll!QMenuPrivate::activateAction(QAction * action=0x02c5cc78, QAction::ActionEvent action_e=Trigger, bool self=true) Line 1056 C++
QtGuid4.dll!QMenu::mouseReleaseEvent(QMouseEvent * e=0x0012c03c) Line 2249 C++
QtGuid4.dll!QWidget::event(QEvent * event=0x0012c03c) Line 7512 C++
QtGuid4.dll!QMenu::event(QEvent * e=0x0012c03c) Line 2347 C++
QtGuid4.dll!QApplicationPrivate::notify_helper(QOb ject * receiver=0x02d803b8, QEvent * e=0x0012c03c) Line 4051 + 0xf C++
QtGuid4.dll!QApplication::notify(QObject * receiver=0x02d803b8, QEvent * e=0x0012c03c) Line 3753 + 0x2f C++
QtCored4.dll!QCoreApplication::notifyInternal(QObj ect * receiver=0x02d803b8, QEvent * event=0x0012c03c) Line 594 + 0x13 C++
QtCored4.dll!QCoreApplication::sendSpontaneousEven t(QObject * receiver=0x02d803b8, QEvent * event=0x0012c03c) Line 211 + 0x38 C++
QtGuid4.dll!QApplicationPrivate::sendMouseEvent(QW idget * receiver=0x02d803b8, QMouseEvent * event=0x0012c03c, QWidget * alienWidget=0x00000000, QWidget * nativeWidget=0x02d803b8, QWidget * * buttonDown=0x65b23c80, QPointer<QWidget> & lastMouseReceiver={...}) Line 2913 + 0xe C++
QtGuid4.dll!QETWidget::translateMouseEvent(const tagMSG & msg={...}) Line 3166 + 0x28 C++
QtGuid4.dll!QtWndProc(HWND__ * hwnd=0x00050bfa, unsigned int message=514, unsigned int wParam=0, long lParam=6029582) Line 1669 + 0xc C++
user32.dll!7e418734()
user32.dll!7e418816()
user32.dll!7e4189cd()
ntdll.dll!7c915d27()
ntdll.dll!7c915d27()
user32.dll!7e418a10()
QtCored4.dll!QEventDispatcherWin32::processEvents( QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 746 + 0x17 C++
QtGuid4.dll!QGuiEventDispatcherWin32::processEvent s(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 1177 + 0x15 C++
QtCored4.dll!QEventLoop::processEvents(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 145 C++
QtCored4.dll!QEventLoop::exec(QFlags<enum QEventLoop::ProcessEventsFlag> flags={...}) Line 195 + 0x2d C++
QtCored4.dll!QCoreApplication::exec() Line 872 + 0x15 C++
QtGuid4.dll!QApplication::exec() Line 3527 C++
myApp.exe!main(int argc=2, char * * argv=0x02aa6d68) Line 182 + 0x6 C++
myApp.exe!WinMain(HINSTANCE__ * instance=0x00400000, HINSTANCE__ * prevInstance=0x00000000, char * __formal=0x00141f07, int cmdShow=1) Line 133 + 0x12 C++
myApp.exe!WinMainCRTStartup() Line 390 + 0x39 C
kernel32.dll!7c817067()
ntdll.dll!7c915d27()