[Qt-interest] Stack overflow when using QAxWidget
Gabi Julien
gabi.julien at broadsign.com
Mon May 4 18:35:43 CEST 2009
Hi,
We have an application using Internet Explorer in an activeX. The Internet
Explorer plugin is created and destroyed multiple times over a period of a
few hours and then we get the stack attached to this email. It's a stack
overflow coming from QWidget. I should note that all windows should be native
since the Qt::AA_NativeWindows was set at the application level.
Any help on this issue would be welcome.
We are using Qt 4.5.0 on windows XP sp3 and Vista sp1.
Regards
-------------- next part --------------
0012c770 650bb71f 00000000 b7f8b11d 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012c7cc 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012c7fc 650bb71f 00000000 b7f8be89 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012c858 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012c888 650bb71f 00000000 b7f8be35 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012c8e4 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012c914 650bb71f 00000000 b7f8bfa1 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012c970 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012c9a0 650bb71f 00000000 b7f8bf2d 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012c9fc 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012ca2c 650bb71f 00000000 b7f8bc59 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012ca88 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012cab8 650bb71f 00000000 b7f8bdc5 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012cb14 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012cb44 650bb71f 00000000 b7f8bd71 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012cba0 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012cbd0 650bb71f 00000000 b7f8bafd 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012cc2c 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012cc5c 650bb71f 00000000 b7f8ba69 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012ccb8 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012cce8 650bb71f 00000000 b7f8bb95 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012cd44 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012cd74 650bb71f 00000000 b7f8bb01 0d8b5fb0 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012cdd0 650be5d0 00000000 00000001 00000001 QtGuid4!QWidget::create+0x12f [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 1212]
0012ce00 650be459 00000000 0d8b6c30 0d8b6c30 QtGuid4!QWidgetPrivate::createWinId+0x160 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2177]
0012ce14 0488a62c 0012ce38 6fbd5f50 0d59b52c QtGuid4!QWidget::winId+0x49 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qwidget.cpp @ 2147]
0012ce1c 6fbd5f50 0d59b52c 0012ce34 10902bbc ms_web_browser!QAxClientSite::GetWindow+0x1c [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\activeqt\container\qaxwidget.cpp @ 1017]
0012ce38 6fbd9c69 0d59b52c 10902b88 0d59b52c ieframe!CShellEmbedding::_CreateWindowOrSetParent+0x1c
0012ce4c 6fbd9b83 10902bbc 10902b8c 0d59b524 ieframe!CShellEmbedding::_OnSetClientSite+0x2c
0012ce68 6fbd9d04 10902b8c 10902c74 00000000 ieframe!CWebBrowserOC::_OnSetClientSite+0x12b
0012ce7c 6fbd9c9d 10902b8c 0d59b524 0012dd68 ieframe!CShellEmbedding::SetClientSite+0x5c
0012ce94 048892c4 10902b8c 0d59b524 b6169a1c ieframe!CShellOcx::SetClientSite+0x28
0012cf88 0488cb44 00000000 0012cfe8 b6169a5c ms_web_browser!QAxClientSite::activateObject+0x2d4 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\activeqt\container\qaxwidget.cpp @ 605]
0012cfc8 0488ca92 00000000 0012cfe8 b6169a68 ms_web_browser!QAxWidget::createHostWindow+0x84 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\activeqt\container\qaxwidget.cpp @ 1955]
0012cffc 0488ca34 00000000 0d8b5fc4 0012d194 ms_web_browser!QAxWidget::createHostWindow+0x52 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\activeqt\container\qaxwidget.cpp @ 1929]
0012d00c 0486dfb3 0d8b655c b6168400 6c7a09f8 ms_web_browser!QAxWidget::initialize+0x34 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\activeqt\container\qaxwidget.cpp @ 1914]
0012d194 04867e56 0012d30c b616874c 0012dd68 ms_web_browser!QAxBase::setControl+0x6c3 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\activeqt\container\qaxbase.cpp @ 1002]
0012d2d8 04862a7a 0012d30c 00000000 00000000 ms_web_browser!MSWebBrowserProduct::MSWebBrowserProduct+0x246 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\products\ms_web_browser\src\ms_web_browser_product.cpp @ 69]
0012d32c 00a0da85 0012d354 05455e10 b7f8a4e7 ms_web_browser!MSWebBrowserKit::createProduct+0x9a [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\products\ms_web_browser\src\ms_web_browser_kit.cpp @ 107]
0012d374 028d89ad 0012d3c0 05455e10 b62d7e1f messenger_core!MediaProductFactory::product+0x65 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger_core\src\media_product_factory.cpp @ 84]
0012d414 028de863 0012d458 0012d510 05455e10 messenger!MediaProductBrokerImpl::createProduct+0x16d [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger\src\media_product_broker_impl.cpp @ 65]
0012d494 028de5b9 0012d508 0012d510 b62d7f5b messenger!MediaProductController::createMediaProduct+0x93 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger\src\media_product_controller.cpp @ 533]
0012d550 028dda61 0012d620 0d1e4880 0d97dc80 messenger!MediaProductController::createMediaProduct+0x1d9 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger\src\media_product_controller.cpp @ 498]
0012d63c 028dc303 05455e24 0012d65c 028bdce2 messenger!MediaProductController::prepareNextItem+0x1b1 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger\src\media_product_controller.cpp @ 401]
0012d648 028bdce2 05455e24 05455e10 0012d6dc messenger!MediaProductController::heartbeat+0x73 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger\src\media_product_controller.cpp @ 112]
0012d65c 028bd3c7 07257a78 07257a78 0012d6dc messenger!boost::_mfi::mf0<void,MediaProductController>::call<MediaProductWidget *>+0x42 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\boost-1.35.0\boost\bind\mem_fn_template.hpp @ 41]
0012d670 028bbe3a 07257a78 b62d7cb3 0012d65c messenger!boost::_mfi::mf0<void,MediaProductController>::operator()<MediaProductWidget *>+0x17 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\boost-1.35.0\boost\bind\mem_fn_template.hpp @ 55]
0012d6b8 028b215c 0012d6f8 01ebb890 0012d6d0 messenger!std::for_each<std::_Vector_iterator<MediaProductWidget *,std::allocator<MediaProductWidget *> >,boost::_mfi::mf0<void,MediaProductController> >+0xda [c:\program files\microsoft visual studio 9.0\vc\include\algorithm @ 29]
0012d724 02914471 00000002 01ebb870 0012d7b8 messenger!EmbedPlayerWidget::heartbeat+0x9c [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger\src\embed_player_widget.cpp @ 548]
0012d734 671a2789 00000000 00000002 0012d7a0 messenger!EmbedPlayerWidget::qt_metacall+0x71 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\messenger\debug\moc\moc_embed_player_widget.cpp @ 76]
0012d7b8 671a2cc0 01e949c0 00000004 00000004 QtCored4!QMetaObject::activate+0x2f9 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qobject.cpp @ 3074]
0012d7d8 671fa0a9 01e949c0 672a7080 00000000 QtCored4!QMetaObject::activate+0x60 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qobject.cpp @ 3134]
0012d7f4 671ae752 01e949c0 0012d8b4 6719f5b3 QtCored4!QTimer::timeout+0x19 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\tmp\moc\debug_shared\moc_qtimer.cpp @ 122]
0012d800 6719f5b3 0012dc20 b7f9def7 67204d2f QtCored4!QTimer::timerEvent+0x32 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qtimer.cpp @ 263]
0012d8b4 6505abad 0012dc20 00000113 00cee618 QtCored4!QObject::event+0x83 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qobject.cpp @ 1074]
0012d8d4 65059515 01e949c0 0012dc20 b7f8ad15 QtGuid4!QApplicationPrivate::notify_helper+0x10d [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qapplication.cpp @ 4084]
0012dbc4 67186821 01e949c0 0012dc20 0012fdc4 QtGuid4!QApplication::notify+0x215 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qapplication.cpp @ 3631]
0012dbf4 6718b2c9 01e949c0 0012dc20 01e94ae0 QtCored4!QCoreApplication::notifyInternal+0x71 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qcoreapplication.cpp @ 598]
0012dc08 671c1648 01e949c0 0012dc20 b7f9da03 QtCored4!QCoreApplication::sendEvent+0x39 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qcoreapplication.h @ 213]
0012dc40 671c1325 00000004 b7f9daaf 00000000 QtCored4!QEventDispatcherWin32Private::sendTimerEvent+0x78 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qeventdispatcher_win.cpp @ 611]
0012dcec 7710f8d2 0014047a 00000113 00000004 QtCored4!qt_internal_proc+0x2d5 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qeventdispatcher_win.cpp @ 496]
0012dd18 7710f794 67005b37 0014047a 00000113 USER32!InternalCallWinProc+0x23
0012dd90 77110008 00000000 67005b37 0014047a USER32!UserCallWinProcCheckWow+0x14b
0012ddf4 77110060 67005b37 00000000 0012fc08 USER32!DispatchMessageWorker+0x322
0012de04 671c20a4 0012deb0 b7f9fa4b 00000000 USER32!DispatchMessageW+0xf
0012fc08 650de68e 00000024 00cedd80 0012fc38 QtCored4!QEventDispatcherWin32::processEvents+0x4d4 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qeventdispatcher_win.cpp @ 751]
0012fc1c 67184abe 00000024 0012fc80 00000024 QtGuid4!QGuiEventDispatcherWin32::processEvents+0x1e [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qapplication_win.cpp @ 1182]
0012fc38 67184bb2 00000024 49f881d2 0012fc80 QtCored4!QEventLoop::processEvents+0x6e [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qeventloop.cpp @ 150]
0012fc64 67186cfd 00000000 b7f9fadb ffffffff QtCored4!QEventLoop::exec+0xe2 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qeventloop.cpp @ 196]
0012fc98 650592f8 0012fe0c 00404407 b60eba67 QtCored4!QCoreApplication::exec+0xfd [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\corelib\kernel\qcoreapplication.cpp @ 880]
0012fca0 00404407 b60eba67 00000000 00000000 QtGuid4!QApplication::exec+0x18 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\gui\kernel\qapplication.cpp @ 3554]
0012fe0c 0040b68f 00000001 00cec9d8 b60ebacf bsp!bsp+0x887 [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\bsp\src\bsp.cpp @ 51]
0012fea4 00427d29 00000001 00cec9d8 00ce07e8 bsp!main+0x15f [f:\cygwin\home\build\bs3\build\src\checked\trunk\dml\src\bin\bsp\bsp\src\main.cpp @ 32]
0012fed4 004271b8 00400000 00000000 00161ba5 bsp!WinMain+0xb9 [f:\cygwin\home\build\bs3\build\src\checked\trunk\3rdparty\qt-4.5.0\src\winmain\qtmain_win.cpp @ 136]
0012ff80 00426f1f 0012ff94 77a34911 7ffd3000 bsp!WinMainCRTStartup+0x2a8 [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 574]
0012ff88 77a34911 7ffd3000 0012ffd4 77c9e4b6 bsp!WinMainCRTStartup+0xf [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 399]
0012ff94 77c9e4b6 7ffd3000 743d79e9 00000000 kernel32!BaseThreadInitThunk+0xe
0012ffd4 77c9e489 00426f10 7ffd3000 00000000 ntdll!__RtlUserThreadStart+0x23
0012ffec 00000000 00426f10 7ffd3000 00000000 ntdll!_RtlUserThreadStart+0x1b
More information about the Qt-interest-old
mailing list