Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Random crash on window resize.
Forum Updated to NodeBB v4.3 + New Features

Random crash on window resize.

Scheduled Pinned Locked Moved Unsolved General and Desktop
crashresize
7 Posts 4 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    YouDoItWrong
    wrote on last edited by YouDoItWrong
    #1

    Hello. I am integrating Urho3D into Qt. But I am stuck with weird bug. When a window is resizing application can randomly exit. I made a short video about this problem: https://youtu.be/6d7mBhbmT7U

    OS: Microsoft Windows [Version 10.0.18362.356]
    Compiler: MSVC [Version 14.21.27702]
    Qt versions affected by this problem: Qt 5.12.4 (MSVC 2017) from qt.io prebuild binaries and Qt 5.12.5 from vcpkg.
    Code: https://github.com/VladBolotov/QUrho3D
    Debug session/Stuck trace:

    Microsoft (R) Windows Debugger Version 10.0.18362.1 AMD64
    Copyright (c) Microsoft Corporation. All rights reserved.
    
    CommandLine: D:\projects\QUrhoApp\cmake-build-debug\bin\QUrhoApp_d.exe
    Symbol search path is: srv*
    Executable search path is: 
    ModLoad: 00007ff6`7ece0000 00007ff6`7ff6d000   QUrhoApp_d.exe
    ModLoad: 00007ffa`03ca0000 00007ffa`03e90000   ntdll.dll
    ModLoad: 00007ffa`03320000 00007ffa`033d2000   C:\Windows\System32\KERNEL32.DLL
    ModLoad: 00007ffa`01a80000 00007ffa`01d23000   C:\Windows\System32\KERNELBASE.dll
    ModLoad: 00007ffa`02f50000 00007ffa`030e3000   C:\Windows\System32\USER32.dll
    ModLoad: 00007ffa`01600000 00007ffa`01621000   C:\Windows\System32\win32u.dll
    ModLoad: 00007ffa`02090000 00007ffa`020b6000   C:\Windows\System32\GDI32.dll
    ModLoad: 00007ffa`016e0000 00007ffa`01874000   C:\Windows\System32\gdi32full.dll
    ModLoad: 00007ffa`01880000 00007ffa`0191e000   C:\Windows\System32\msvcp_win.dll
    ModLoad: 00007ffa`00c30000 00007ffa`00d2a000   C:\Windows\System32\ucrtbase.dll
    ModLoad: 00007ffa`03ae0000 00007ffa`03b0e000   C:\Windows\System32\IMM32.dll
    ModLoad: 00007ffa`031c0000 00007ffa`03316000   C:\Windows\System32\ole32.dll
    ModLoad: 00007ff9`feb20000 00007ff9`feb44000   C:\Windows\SYSTEM32\WINMM.dll
    ModLoad: 00007ffa`01d50000 00007ffa`02086000   C:\Windows\System32\combase.dll
    ModLoad: 00007ffa`024e0000 00007ffa`02600000   C:\Windows\System32\RPCRT4.dll
    ModLoad: 00007ff9`feaf0000 00007ff9`feb1d000   C:\Windows\SYSTEM32\winmmbase.dll
    ModLoad: 0000018b`024b0000 0000018b`024dd000   C:\Windows\SYSTEM32\WINMMBASE.dll
    ModLoad: 00007ffa`03500000 00007ffa`0359e000   C:\Windows\System32\msvcrt.dll
    ModLoad: 00007ffa`01980000 00007ffa`01a00000   C:\Windows\System32\bcryptPrimitives.dll
    ModLoad: 00007ffa`01a00000 00007ffa`01a4a000   C:\Windows\System32\cfgmgr32.dll
    ModLoad: 00007ffa`035c0000 00007ffa`03663000   C:\Windows\System32\advapi32.dll
    ModLoad: 00007ffa`020d0000 00007ffa`02167000   C:\Windows\System32\sechost.dll
    ModLoad: 00007ffa`030f0000 00007ffa`031b4000   C:\Windows\System32\OLEAUT32.dll
    ModLoad: 00007ffa`03490000 00007ffa`034ff000   C:\Windows\System32\WS2_32.dll
    ModLoad: 00007ff9`fb400000 00007ff9`fb40a000   C:\Windows\SYSTEM32\VERSION.dll
    ModLoad: 00007ffa`02710000 00007ffa`02df5000   C:\Windows\System32\SHELL32.dll
    ModLoad: 00007ffa`02660000 00007ffa`02709000   C:\Windows\System32\shcore.dll
    ModLoad: 00007ff9`ebb90000 00007ff9`ebce6000   C:\Windows\SYSTEM32\OPENGL32.dll
    ModLoad: 00007ffa`00e80000 00007ffa`015fe000   C:\Windows\System32\windows.storage.dll
    ModLoad: 00007ffa`000f0000 00007ffa`0012a000   C:\Windows\SYSTEM32\IPHLPAPI.DLL
    ModLoad: 00007ff9`adda0000 00007ff9`ae980000   D:\projects\QUrhoApp\cmake-build-debug\bin\Qt5Widgetsd.dll
    ModLoad: 00007ffa`00bf0000 00007ffa`00c0f000   C:\Windows\System32\profapi.dll
    ModLoad: 00007ffa`00ba0000 00007ffa`00bea000   C:\Windows\System32\powrprof.dll
    ModLoad: 00007ffa`00b70000 00007ffa`00b80000   C:\Windows\System32\UMPDC.dll
    ModLoad: 00007ffa`03b80000 00007ffa`03bd2000   C:\Windows\System32\shlwapi.dll
    ModLoad: 00007ffa`00b80000 00007ffa`00b91000   C:\Windows\System32\kernel.appcore.dll
    ModLoad: 00007ffa`01d30000 00007ffa`01d47000   C:\Windows\System32\cryptsp.dll
    ModLoad: 00007ff9`f84c0000 00007ff9`f84ec000   C:\Windows\SYSTEM32\GLU32.dll
    ModLoad: 00007ff9`ad030000 00007ff9`add94000   D:\projects\QUrhoApp\cmake-build-debug\bin\Qt5Cored.dll
    ModLoad: 00007ff9`ac250000 00007ff9`ad02f000   D:\projects\QUrhoApp\cmake-build-debug\bin\Qt5Guid.dll
    ModLoad: 0000018b`02630000 0000018b`0340f000   D:\projects\QUrhoApp\cmake-build-debug\bin\Qt5Guid.dll
    ModLoad: 00007ff9`feef0000 00007ff9`fef89000   C:\Windows\SYSTEM32\UxTheme.dll
    ModLoad: 00007ff9`ff310000 00007ff9`ff33d000   C:\Windows\SYSTEM32\dwmapi.dll
    ModLoad: 00007ff9`fc2e0000 00007ff9`fc304000   C:\Windows\SYSTEM32\VCRUNTIME140D.dll
    ModLoad: 00007ff9`d9f00000 00007ff9`d9ff6000   C:\Windows\SYSTEM32\MSVCP140D.dll
    ModLoad: 00007ff9`b7c30000 00007ff9`b7df3000   C:\Windows\SYSTEM32\ucrtbased.dll
    ModLoad: 00007ff9`f3a70000 00007ff9`f3a8b000   C:\Windows\SYSTEM32\MPR.dll
    ModLoad: 00007ff9`f3a90000 00007ff9`f3aa7000   C:\Windows\SYSTEM32\NETAPI32.dll
    ModLoad: 00007ffa`00a90000 00007ffa`00ab5000   C:\Windows\SYSTEM32\USERENV.dll
    ModLoad: 00007ff9`f4b20000 00007ff9`f4b58000   D:\projects\QUrhoApp\cmake-build-debug\bin\zlibd1.dll
    ModLoad: 00007ff9`ce820000 00007ff9`ce8fc000   D:\projects\QUrhoApp\cmake-build-debug\bin\pcre2-16d.dll
    ModLoad: 00007ff9`eb230000 00007ff9`eb29f000   D:\projects\QUrhoApp\cmake-build-debug\bin\libpng16d.dll
    ModLoad: 00007ff9`b62b0000 00007ff9`b6579000   D:\projects\QUrhoApp\cmake-build-debug\bin\harfbuzz.dll
    ModLoad: 00007ff9`ff7e0000 00007ff9`ff800000   C:\Windows\SYSTEM32\dxcore.dll
    ModLoad: 00007ff9`c33a0000 00007ff9`c3500000   D:\projects\QUrhoApp\cmake-build-debug\bin\freetyped.dll
    ModLoad: 00007ffa`00200000 00007ffa`0020c000   C:\Windows\SYSTEM32\NETUTILS.DLL
    ModLoad: 00007ff9`e9990000 00007ff9`e99c3000   D:\projects\QUrhoApp\cmake-build-debug\bin\bz2d.dll
    ModLoad: 00007ff9`f3a40000 00007ff9`f3a66000   C:\Windows\SYSTEM32\SRVCLI.DLL
    ModLoad: 00007ffa`005b0000 00007ffa`005bc000   C:\Windows\SYSTEM32\CRYPTBASE.DLL
    (2dc4.b64): Break instruction exception - code 80000003 (first chance)
    ntdll!LdrpDoDebuggerBreak+0x30:
    00007ffa`03d711dc cc              int     3
    0:000> g
    ModLoad: 00007ff9`b5f90000 00007ff9`b62a2000   D:\projects\QUrhoApp\cmake-build-debug\bin\plugins\platforms\qwindowsd.dll
    ModLoad: 00007ff9`fd680000 00007ff9`fd693000   C:\Windows\SYSTEM32\WTSAPI32.dll
    ModLoad: 00007ff9`e22b0000 00007ff9`e2318000   D:\projects\QUrhoApp\cmake-build-debug\bin\plugins\styles\qwindowsvistastyled.dll
    ModLoad: 00007ffa`033e0000 00007ffa`03482000   C:\Windows\System32\clbcatq.dll
    ModLoad: 00007ff9`dc430000 00007ff9`dc473000   C:\Windows\System32\dinput8.dll
    ModLoad: 00007ff9`ff780000 00007ff9`ff78e000   C:\Windows\SYSTEM32\HID.DLL
    ModLoad: 00007ff9`ecb20000 00007ff9`ecc22000   C:\Windows\SYSTEM32\inputhost.dll
    ModLoad: 00007ff9`fe6a0000 00007ff9`fe774000   C:\Windows\SYSTEM32\CoreMessaging.dll
    ModLoad: 00007ff9`fc650000 00007ff9`fc97a000   C:\Windows\SYSTEM32\CoreUIComponents.dll
    ModLoad: 00007ff9`fd530000 00007ff9`fd61f000   C:\Windows\SYSTEM32\PROPSYS.dll
    ModLoad: 00007ff9`fcb00000 00007ff9`fcc53000   C:\Windows\SYSTEM32\wintypes.dll
    ModLoad: 00007ff9`ffbd0000 00007ff9`ffc01000   C:\Windows\SYSTEM32\ntmarta.dll
    ModLoad: 00007ffa`03670000 00007ffa`03ae0000   C:\Windows\System32\SETUPAPI.DLL
    ModLoad: 00007ffa`01a50000 00007ffa`01a76000   C:\Windows\System32\bcrypt.dll
    ModLoad: 00007ffa`00970000 00007ffa`0099a000   C:\Windows\SYSTEM32\DEVOBJ.dll
    ModLoad: 00007ffa`01920000 00007ffa`0197c000   C:\Windows\System32\WINTRUST.dll
    ModLoad: 00007ffa`00c10000 00007ffa`00c22000   C:\Windows\System32\MSASN1.dll
    ModLoad: 00007ffa`00d30000 00007ffa`00e79000   C:\Windows\System32\CRYPT32.dll
    ModLoad: 00007ff9`f94f0000 00007ff9`f9501000   C:\Windows\SYSTEM32\XInput1_4.dll
    ModLoad: 00007ff9`fa5b0000 00007ff9`fa628000   C:\Windows\System32\MMDevApi.dll
    ModLoad: 00007ff9`fcf00000 00007ff9`fcf0a000   C:\Windows\SYSTEM32\avrt.dll
    ModLoad: 00007ff9`c3500000 00007ff9`c36c7000   C:\Windows\system32\d3d9.dll
    ModLoad: 00007ff9`f8900000 00007ff9`f89ec000   C:\Windows\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_a9b1e11d93a651da\nvldumdx.dll
    ModLoad: 00007ffa`035a0000 00007ffa`035bd000   C:\Windows\System32\imagehlp.dll
    ModLoad: 00007ff9`fff50000 00007ff9`fff83000   C:\Windows\system32\rsaenh.dll
    ModLoad: 00007ff9`a9950000 00007ff9`aad42000   C:\Windows\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_a9b1e11d93a651da\nvd3dumx.dll
    ModLoad: 00007ffa`02e10000 00007ffa`02f45000   C:\Windows\System32\MSCTF.dll
    ModLoad: 00007ff9`e4b10000 00007ff9`e4b4a000   C:\Windows\system32\dataexchange.dll
    ModLoad: 00007ff9`fe490000 00007ff9`fe66b000   C:\Windows\system32\dcomp.dll
    ModLoad: 00007ff9`fe230000 00007ff9`fe48b000   C:\Windows\system32\d3d11.dll
    ModLoad: 00007ff9`ff870000 00007ff9`ff95b000   C:\Windows\system32\dxgi.dll
    ModLoad: 00007ff9`fefb0000 00007ff9`ff20a000   C:\Windows\system32\twinapi.appcore.dll
    ModLoad: 00007ff9`ff420000 00007ff9`ff449000   C:\Windows\system32\RMCLIENT.dll
    ModLoad: 00000000`68d70000 00000000`6b34d000   C:\Windows\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_a9b1e11d93a651da\nvoglv64.dll
    ModLoad: 00007ff9`ffd20000 00007ff9`ffd7c000   C:\Windows\SYSTEM32\WINSTA.dll
    ModLoad: 00007ff9`fafd0000 00007ff9`fb12d000   C:\Windows\SYSTEM32\AUDIOSES.DLL
    ModLoad: 00007ff9`ff220000 00007ff9`ff234000   C:\Windows\SYSTEM32\resourcepolicyclient.dll
    ModLoad: 00007ff9`ef230000 00007ff9`ef2ce000   C:\Windows\SYSTEM32\TextInputFramework.dll
    (2dc4.b64): Access violation - code c0000005 (first chance)
    First chance exceptions are reported before any exception handling.
    This exception may be expected and handled.
    *** WARNING: Unable to verify checksum for D:\projects\QUrhoApp\cmake-build-debug\bin\Qt5Cored.dll
    Qt5Cored!QVector<QPair<double,QVariant> >::constEnd+0x17:
    00007ff9`ad0b9327 488b00          mov     rax,qword ptr [rax] ds:00000000`000000f8=????????????????
    0:000> k
     # Child-SP          RetAddr           Call Site
    00 00000031`421c73d0 00007ff9`ad0b1c70 Qt5Cored!QVector<QPair<double,QVariant> >::constEnd+0x17 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\tools\qvector.h @ 212] 
    01 00000031`421c7410 00007ff9`ad0b0bd0 Qt5Cored!QVariantAnimationPrivate::valueAt+0x90 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\animation\qvariantanimation.cpp @ 298] 
    02 00000031`421c7510 00007ff9`ad0b0ab8 Qt5Cored!QVariantAnimation::keyValueAt+0x40 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\animation\qvariantanimation.cpp @ 562] 
    03 00000031`421c7550 00007ff9`ad0c5126 Qt5Cored!QVariantAnimation::startValue+0x28 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\animation\qvariantanimation.cpp @ 526] 
    04 00000031`421c7590 00007ff9`ad09aab2 Qt5Cored!QPropertyAnimation::updateState+0x2f6 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\animation\qpropertyanimation.cpp @ 280] 
    05 00000031`421c77f0 00007ff9`ad099d4b Qt5Cored!QAbstractAnimationPrivate::setState+0x202 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\animation\qabstractanimation.cpp @ 989] 
    *** WARNING: Unable to verify checksum for D:\projects\QUrhoApp\cmake-build-debug\bin\Qt5Widgetsd.dll
    06 00000031`421c7880 00007ff9`adff1d23 Qt5Cored!QAbstractAnimation::start+0x5b [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\animation\qabstractanimation.cpp @ 1358] 
    07 00000031`421c78c0 00007ff9`ae062533 Qt5Widgetsd!QWidgetAnimator::animate+0x583 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\widgets\qwidgetanimator.cpp @ 114] 
    08 00000031`421c7a80 00007ff9`ae0b8879 Qt5Widgetsd!QDockAreaLayout::apply+0xe3 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\widgets\qdockarealayout.cpp @ 3228] 
    09 00000031`421c7ae0 00007ff9`ae0bfcb0 Qt5Widgetsd!QMainWindowLayoutState::apply+0x49 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\widgets\qmainwindowlayout.cpp @ 678] 
    0a 00000031`421c7b20 00007ff9`ae0bcd6c Qt5Widgetsd!QMainWindowLayout::applyState+0x480 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\widgets\qmainwindowlayout.cpp @ 2710] 
    0b 00000031`421c7c60 00007ff9`ade57f32 Qt5Widgetsd!QMainWindowLayout::setGeometry+0x2bc [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\widgets\qmainwindowlayout.cpp @ 1957] 
    0c 00000031`421c7d60 00007ff9`ade55eaa Qt5Widgetsd!QLayoutPrivate::doResize+0x132 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qlayout.cpp @ 594] 
    0d 00000031`421c7e40 00007ff9`ade15780 Qt5Widgetsd!QLayout::widgetEvent+0x9a [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qlayout.cpp @ 617] 
    0e 00000031`421c7ea0 00007ff9`ade12df3 Qt5Widgetsd!QApplicationPrivate::notify_helper+0x160 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qapplication.cpp @ 3694] 
    0f 00000031`421c7f00 00007ff9`ad4b4a70 Qt5Widgetsd!QApplication::notify+0x3b33 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qapplication.cpp @ 3650] 
    10 00000031`421c8c20 00007ff9`ad4b4b0c Qt5Cored!QCoreApplication::notifyInternal2+0x120 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qcoreapplication.cpp @ 1088] 
    11 00000031`421c8ca0 00007ff9`adec9d42 Qt5Cored!QCoreApplication::forwardEvent+0x6c [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qcoreapplication.cpp @ 1104] 
    12 00000031`421c8cd0 00007ff9`adec7cf1 Qt5Widgetsd!QWidgetWindow::handleResizeEvent+0x82 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qwidgetwindow.cpp @ 803] 
    13 00000031`421c8d70 00007ff9`ade157c2 Qt5Widgetsd!QWidgetWindow::event+0x2d1 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qwidgetwindow.cpp @ 304] 
    14 00000031`421c8e10 00007ff9`ade0f997 Qt5Widgetsd!QApplicationPrivate::notify_helper+0x1a2 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qapplication.cpp @ 3700] 
    15 00000031`421c8e70 00007ff9`ad4b4a70 Qt5Widgetsd!QApplication::notify+0x6d7 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qapplication.cpp @ 3056] 
    16 00000031`421c9b90 00007ff9`ad4b490b Qt5Cored!QCoreApplication::notifyInternal2+0x120 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qcoreapplication.cpp @ 1088] 
    *** WARNING: Unable to verify checksum for D:\projects\QUrhoApp\cmake-build-debug\bin\Qt5Guid.dll
    17 00000031`421c9c10 00007ff9`ac354322 Qt5Cored!QCoreApplication::sendSpontaneousEvent+0x3b [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qcoreapplication.cpp @ 1489] 
    18 00000031`421c9c40 00007ff9`ac354e4e Qt5Guid!QGuiApplicationPrivate::processGeometryChangeEvent+0x2d2 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\gui\kernel\qguiapplication.cpp @ 2428] 
    19 00000031`421c9df0 00007ff9`ac3200b2 Qt5Guid!QGuiApplicationPrivate::processWindowSystemEvent+0xee [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\gui\kernel\qguiapplication.cpp @ 1855] 
    1a 00000031`421c9e90 00007ff9`ac3202fe Qt5Guid!QWindowSystemInterface::sendWindowSystemEvents+0xe2 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\gui\kernel\qwindowsysteminterface.cpp @ 1157] 
    *** WARNING: Unable to verify checksum for D:\projects\QUrhoApp\cmake-build-debug\bin\plugins\platforms\qwindowsd.dll
    1b 00000031`421c9f10 00007ff9`b5fa8868 Qt5Guid!QWindowSystemInterface::flushWindowSystemEvents+0x18e [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\gui\kernel\qwindowsysteminterface.cpp @ 1117] 
    1c 00000031`421c9fc0 00007ff9`b5fd01c8 qwindowsd!QWindowsWindow::handleWmPaint+0x228 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\plugins\platforms\windows\qwindowswindow.cpp @ 2033] 
    1d 00000031`421ca0b0 00007ff9`b5fc65e2 qwindowsd!QWindowsContext::windowsProc+0x1128 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\plugins\platforms\windows\qwindowscontext.cpp @ 1231] 
    1e 00000031`421ca9e0 00007ffa`02f6681d qwindowsd!qWindowsWndProc+0x112 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\plugins\platforms\windows\qwindowscontext.cpp @ 1593] 
    1f 00000031`421cac20 00007ffa`02f663ec USER32!UserCallWinProcCheckWow+0x2bd
    20 00000031`421cadb0 00007ffa`02f72d03 USER32!DispatchClientMessage+0x9c
    21 00000031`421cae10 00007ffa`03d3fe24 USER32!_fnDWORD+0x33
    22 00000031`421cae70 00007ffa`01601184 ntdll!KiUserCallbackDispatcherContinue
    23 00000031`421caef8 00007ffa`02f64f7a win32u!NtUserMessageCall+0x14
    24 00000031`421caf00 00007ffa`02f6470f USER32!RealDefWindowProcWorker+0x1fa
    25 00000031`421cb000 00007ff9`feef984e USER32!RealDefWindowProcW+0x4f
    26 00000031`421cb040 00007ff9`fef125a2 UxTheme!DoMsgDefault+0x2e [shell\themes\uxtheme\handlers.cpp @ 550] 
    27 00000031`421cb080 00007ff9`feefc49f UxTheme!OnDwpSysCommand+0x32 [shell\themes\uxtheme\nctheme.cpp @ 7568] 
    28 00000031`421cb0b0 00007ff9`feefbf81 UxTheme!_ThemeDefWindowProc+0x50f [shell\themes\uxtheme\sethook.cpp @ 1068] 
    29 00000031`421cb290 00007ffa`02f64c4f UxTheme!ThemeDefWindowProcW+0x11 [shell\themes\uxtheme\sethook.cpp @ 1110] 
    2a 00000031`421cb2d0 00007ff9`b5fc68f2 USER32!DefWindowProcW+0x1bf
    2b 00000031`421cb340 00007ffa`02f6681d qwindowsd!qWindowsWndProc+0x422 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\plugins\platforms\windows\qwindowscontext.cpp @ 1603] 
    2c 00000031`421cb580 00007ffa`02f663ec USER32!UserCallWinProcCheckWow+0x2bd
    2d 00000031`421cb710 00007ffa`02f72d03 USER32!DispatchClientMessage+0x9c
    2e 00000031`421cb770 00007ffa`03d3fe24 USER32!_fnDWORD+0x33
    2f 00000031`421cb7d0 00007ffa`01601184 ntdll!KiUserCallbackDispatcherContinue
    30 00000031`421cb858 00007ffa`02f64f7a win32u!NtUserMessageCall+0x14
    31 00000031`421cb860 00007ffa`02f6470f USER32!RealDefWindowProcWorker+0x1fa
    32 00000031`421cb960 00007ff9`feef984e USER32!RealDefWindowProcW+0x4f
    33 00000031`421cb9a0 00007ff9`fef124f7 UxTheme!DoMsgDefault+0x2e [shell\themes\uxtheme\handlers.cpp @ 550] 
    34 00000031`421cb9e0 00007ff9`feefc49f UxTheme!OnDwpNcLButtonDown+0xa7 [shell\themes\uxtheme\nctheme.cpp @ 7159] 
    35 00000031`421cba20 00007ff9`feefbf81 UxTheme!_ThemeDefWindowProc+0x50f [shell\themes\uxtheme\sethook.cpp @ 1068] 
    36 00000031`421cbc00 00007ffa`02f64c4f UxTheme!ThemeDefWindowProcW+0x11 [shell\themes\uxtheme\sethook.cpp @ 1110] 
    37 00000031`421cbc40 00007ff9`b5fc68f2 USER32!DefWindowProcW+0x1bf
    38 00000031`421cbcb0 00007ffa`02f6681d qwindowsd!qWindowsWndProc+0x422 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\plugins\platforms\windows\qwindowscontext.cpp @ 1603] 
    39 00000031`421cbef0 00007ffa`02f66212 USER32!UserCallWinProcCheckWow+0x2bd
    3a 00000031`421cc080 00007ff9`ad57f863 USER32!DispatchMessageWorker+0x1e2
    3b 00000031`421cc100 00007ff9`b608efa4 Qt5Cored!QEventDispatcherWin32::processEvents+0x5c3 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qeventdispatcher_win.cpp @ 640] 
    3c 00000031`421cf2c0 00007ff9`ad4ae87d qwindowsd!QWindowsGuiEventDispatcher::processEvents+0x34 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\platformsupport\eventdispatchers\qwindowsguieventdispatcher.cpp @ 74] 
    3d 00000031`421cf300 00007ff9`ad4aeacf Qt5Cored!QEventLoop::processEvents+0x6d [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qeventloop.cpp @ 139] 
    3e 00000031`421cf350 00007ff9`ad4b23ca Qt5Cored!QEventLoop::exec+0x19f [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qeventloop.cpp @ 225] 
    3f 00000031`421cf410 00007ff9`ac34eb18 Qt5Cored!QCoreApplication::exec+0x16a [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\corelib\kernel\qcoreapplication.cpp @ 1389] 
    40 00000031`421cf4d0 00007ff9`ade0f2aa Qt5Guid!QGuiApplication::exec+0x18 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\gui\kernel\qguiapplication.cpp @ 1785] 
    *** WARNING: Unable to verify checksum for QUrhoApp_d.exe
    41 00000031`421cf500 00007ff6`7ede301c Qt5Widgetsd!QApplication::exec+0xa [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\widgets\kernel\qapplication.cpp @ 2857] 
    42 00000031`421cf530 00007ff6`7ede5398 QUrhoApp_d!QUrho::Application::execute+0xdc [D:\projects\QUrhoApp\Sources\Application.cpp @ 15] 
    43 00000031`421cf5d0 00007ff6`7f988015 QUrhoApp_d!main+0x38 [D:\projects\QUrhoApp\Sources\Main.cpp @ 5] 
    44 00000031`421cf610 00007ff6`7f984542 QUrhoApp_d!WinMain+0xf5 [D:\tools\vcpkg\buildtrees\qt5-base\src\5.12.5-0f870116d4\src\winmain\qtmain_win.cpp @ 97] 
    45 00000031`421cf690 00007ff6`7f98442e QUrhoApp_d!invoke_main+0x32 [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 107] 
    46 00000031`421cf6d0 00007ff6`7f9842ee QUrhoApp_d!__scrt_common_main_seh+0x12e [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 
    47 00000031`421cf740 00007ff6`7f9845d9 QUrhoApp_d!__scrt_common_main+0xe [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 331] 
    48 00000031`421cf770 00007ffa`03337bd4 QUrhoApp_d!WinMainCRTStartup+0x9 [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_winmain.cpp @ 17] 
    49 00000031`421cf7a0 00007ffa`03d0cee1 KERNEL32!BaseThreadInitThunk+0x14
    4a 00000031`421cf7d0 00000000`00000000 ntdll!RtlUserThreadStart+0x21
    

    Is It Qt internal problem or I did something wrong? Can someone give me advice/recommendation about workaround or fix? Thanks in advance.

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      It seems to have something to do with animating a docking area resize.
      Can you check if setting animated to false fixes it?

      Y 1 Reply Last reply
      0
      • Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #3

        This sounds like https://bugreports.qt.io/browse/QTBUG-64375 - did you check with 5.13.x as suggested in the last comment?

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        1 Reply Last reply
        2
        • Chris KawaC Chris Kawa

          It seems to have something to do with animating a docking area resize.
          Can you check if setting animated to false fixes it?

          Y Offline
          Y Offline
          YouDoItWrong
          wrote on last edited by
          #4

          @Chris-Kawa @Christian-Ehrlicher

          1. setAnimated(false); does not help at all.
          2. Qt 5.13.1 from qt.io binaries still crashing here is stack trace:
          Microsoft (R) Windows Debugger Version 10.0.18362.1 AMD64
          Copyright (c) Microsoft Corporation. All rights reserved.
          
          CommandLine: D:\projects\QUrhoApp\cmake-build-debug\bin\QUrhoApp_d.exe
          Symbol search path is: srv*
          Executable search path is: 
          ModLoad: 00007ff7`d7da0000 00007ff7`d90bb000   QUrhoApp_d.exe
          ModLoad: 00007ffa`ab640000 00007ffa`ab830000   ntdll.dll
          ModLoad: 00007ffa`a9fe0000 00007ffa`aa092000   C:\Windows\System32\KERNEL32.DLL
          ModLoad: 00007ffa`a8880000 00007ffa`a8b23000   C:\Windows\System32\KERNELBASE.dll
          ModLoad: 00007ffa`aa6d0000 00007ffa`aa863000   C:\Windows\System32\USER32.dll
          ModLoad: 00007ffa`a8850000 00007ffa`a8871000   C:\Windows\System32\win32u.dll
          ModLoad: 00007ffa`aacb0000 00007ffa`aacd6000   C:\Windows\System32\GDI32.dll
          ModLoad: 00007ffa`a9460000 00007ffa`a95f4000   C:\Windows\System32\gdi32full.dll
          ModLoad: 00007ffa`a8600000 00007ffa`a869e000   C:\Windows\System32\msvcp_win.dll
          ModLoad: 00007ffa`a86a0000 00007ffa`a879a000   C:\Windows\System32\ucrtbase.dll
          ModLoad: 00007ffa`a9750000 00007ffa`a977e000   C:\Windows\System32\IMM32.dll
          ModLoad: 00007ffa`97d70000 00007ffa`97d94000   C:\Windows\SYSTEM32\WINMM.dll
          ModLoad: 00007ffa`aa990000 00007ffa`aaae6000   C:\Windows\System32\ole32.dll
          ModLoad: 00007ffa`a9d60000 00007ffa`a9dfe000   C:\Windows\System32\msvcrt.dll
          ModLoad: 00007ffa`a9850000 00007ffa`a9b86000   C:\Windows\System32\combase.dll
          ModLoad: 00007ffa`aa870000 00007ffa`aa990000   C:\Windows\System32\RPCRT4.dll
          ModLoad: 00007ffa`97d40000 00007ffa`97d6d000   C:\Windows\SYSTEM32\WINMMBASE.dll
          ModLoad: 000001a9`0a390000 000001a9`0a3bd000   C:\Windows\SYSTEM32\winmmbase.dll
          ModLoad: 00007ffa`a9680000 00007ffa`a96ca000   C:\Windows\System32\cfgmgr32.dll
          ModLoad: 00007ffa`a9600000 00007ffa`a9680000   C:\Windows\System32\bcryptPrimitives.dll
          ModLoad: 00007ffa`a9eb0000 00007ffa`a9f53000   C:\Windows\System32\advapi32.dll
          ModLoad: 00007ffa`aadc0000 00007ffa`aae57000   C:\Windows\System32\sechost.dll
          ModLoad: 00007ffa`aa110000 00007ffa`aa1d4000   C:\Windows\System32\OLEAUT32.dll
          ModLoad: 00007ffa`aa260000 00007ffa`aa6d0000   C:\Windows\System32\SETUPAPI.dll
          ModLoad: 00007ffa`a85d0000 00007ffa`a85f6000   C:\Windows\System32\bcrypt.dll
          ModLoad: 00007ffa`aa0a0000 00007ffa`aa10f000   C:\Windows\System32\WS2_32.dll
          ModLoad: 00007ffa`a4d00000 00007ffa`a4d0a000   C:\Windows\SYSTEM32\VERSION.dll
          ModLoad: 00007ffa`a7a30000 00007ffa`a7a6a000   C:\Windows\SYSTEM32\IPHLPAPI.DLL
          ModLoad: 00007ffa`8fa40000 00007ffa`8fc07000   C:\Windows\SYSTEM32\d3d9.dll
          ModLoad: 00007ffa`a8590000 00007ffa`a85a1000   C:\Windows\System32\kernel.appcore.dll
          ModLoad: 00007ffa`4e620000 00007ffa`4ea71000   D:\projects\QUrhoApp\cmake-build-debug\bin\D3DCOMPILER_47.dll
          ModLoad: 00007ffa`aae60000 00007ffa`ab545000   C:\Windows\System32\SHELL32.dll
          ModLoad: 00007ffa`ab550000 00007ffa`ab5f9000   C:\Windows\System32\shcore.dll
          ModLoad: 000001a9`0a4e0000 000001a9`0ac5f000   C:\Windows\System32\windows.storage.dll
          ModLoad: 00007ffa`a8570000 00007ffa`a858f000   C:\Windows\System32\profapi.dll
          ModLoad: 00007ffa`a8c80000 00007ffa`a93ff000   C:\Windows\System32\windows.storage.dll
          ModLoad: 00007ffa`a8520000 00007ffa`a856a000   C:\Windows\System32\powrprof.dll
          ModLoad: 00007ffa`a8510000 00007ffa`a8520000   C:\Windows\System32\UMPDC.dll
          ModLoad: 00007ffa`a96f0000 00007ffa`a9742000   C:\Windows\System32\shlwapi.dll
          ModLoad: 00007ffa`a96d0000 00007ffa`a96e7000   C:\Windows\System32\cryptsp.dll
          ModLoad: 00007ffa`a6960000 00007ffa`a698d000   C:\Windows\SYSTEM32\dwmapi.dll
          ModLoad: 00007ffa`7b4b0000 00007ffa`7b5a6000   C:\Windows\SYSTEM32\MSVCP140D.dll
          ModLoad: 00007ffa`a1de0000 00007ffa`a1e04000   C:\Windows\SYSTEM32\VCRUNTIME140D.dll
          ModLoad: 00007ffa`9a640000 00007ffa`9a803000   C:\Windows\SYSTEM32\ucrtbased.dll
          ModLoad: 00007ffa`a71f0000 00007ffa`a7210000   C:\Windows\SYSTEM32\dxcore.dll
          ModLoad: 00007ffa`49060000 00007ffa`49c9b000   D:\tools\qt\5.13.1\msvc2017_64\bin\Qt5Cored.dll
          ModLoad: 00007ffa`8f6f0000 00007ffa`8f70b000   C:\Windows\SYSTEM32\MPR.dll
          ModLoad: 00007ffa`99360000 00007ffa`99377000   C:\Windows\SYSTEM32\NETAPI32.dll
          ModLoad: 00007ffa`a8430000 00007ffa`a8455000   C:\Windows\SYSTEM32\USERENV.dll
          ModLoad: 00007ffa`a7b40000 00007ffa`a7b4c000   C:\Windows\SYSTEM32\NETUTILS.DLL
          ModLoad: 00007ffa`97ea0000 00007ffa`97ec6000   C:\Windows\SYSTEM32\SRVCLI.DLL
          ModLoad: 00007ffa`a7ef0000 00007ffa`a7efc000   C:\Windows\SYSTEM32\CRYPTBASE.DLL
          ModLoad: 00007ffa`48210000 00007ffa`4905b000   D:\tools\qt\5.13.1\msvc2017_64\bin\Qt5Guid.dll
          ModLoad: 00007ffa`476e0000 00007ffa`4820a000   D:\tools\qt\5.13.1\msvc2017_64\bin\Qt5Widgetsd.dll
          ModLoad: 00007ffa`a6890000 00007ffa`a6929000   C:\Windows\SYSTEM32\UxTheme.dll
          (2630.2ad8): Break instruction exception - code 80000003 (first chance)
          ntdll!LdrpDoDebuggerBreak+0x30:
          00007ffa`ab7111dc cc              int     3
          0:000> g
          ModLoad: 00007ffa`4b1a0000 00007ffa`4b5e2000   D:\tools\qt\5.13.1\msvc2017_64\plugins\platforms\qwindowsd.dll
          ModLoad: 00007ffa`a44d0000 00007ffa`a44e3000   C:\Windows\SYSTEM32\WTSAPI32.dll
          ModLoad: 00007ffa`97dc0000 00007ffa`97e26000   D:\tools\qt\5.13.1\msvc2017_64\plugins\styles\qwindowsvistastyled.dll
          ModLoad: 00007ffa`a9e00000 00007ffa`a9ea2000   C:\Windows\System32\clbcatq.dll
          ModLoad: 00007ffa`99380000 00007ffa`993c3000   C:\Windows\System32\dinput8.dll
          ModLoad: 00007ffa`a7120000 00007ffa`a712e000   C:\Windows\SYSTEM32\HID.DLL
          ModLoad: 00007ffa`97300000 00007ffa`9741a000   C:\Windows\SYSTEM32\inputhost.dll
          ModLoad: 00007ffa`a6560000 00007ffa`a6634000   C:\Windows\SYSTEM32\CoreMessaging.dll
          ModLoad: 00007ffa`96f60000 00007ffa`9728a000   C:\Windows\SYSTEM32\CoreUIComponents.dll
          ModLoad: 00007ffa`a4d50000 00007ffa`a4e3f000   C:\Windows\SYSTEM32\PROPSYS.dll
          ModLoad: 00007ffa`a4f10000 00007ffa`a5063000   C:\Windows\SYSTEM32\wintypes.dll
          ModLoad: 00007ffa`a7570000 00007ffa`a75a1000   C:\Windows\SYSTEM32\ntmarta.dll
          ModLoad: 000001a9`0ca30000 000001a9`0cb04000   C:\Windows\SYSTEM32\CoreMessaging.dll
          ModLoad: 00007ffa`a8330000 00007ffa`a835a000   C:\Windows\SYSTEM32\DEVOBJ.dll
          ModLoad: 00007ffa`a9400000 00007ffa`a945c000   C:\Windows\System32\WINTRUST.dll
          ModLoad: 00007ffa`a85b0000 00007ffa`a85c2000   C:\Windows\System32\MSASN1.dll
          ModLoad: 00007ffa`a8b30000 00007ffa`a8c79000   C:\Windows\System32\CRYPT32.dll
          ModLoad: 00007ffa`9a050000 00007ffa`9a061000   C:\Windows\SYSTEM32\XInput1_4.dll
          ModLoad: 00007ffa`a4000000 00007ffa`a4072000   C:\Windows\System32\MMDevApi.dll
          ModLoad: 00007ffa`a3f50000 00007ffa`a3f5a000   C:\Windows\SYSTEM32\avrt.dll
          ModLoad: 00007ffa`95650000 00007ffa`9573c000   C:\Windows\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_a9b1e11d93a651da\nvldumdx.dll
          ModLoad: 00007ffa`a9b90000 00007ffa`a9bad000   C:\Windows\System32\imagehlp.dll
          ModLoad: 00007ffa`a7890000 00007ffa`a78c3000   C:\Windows\system32\rsaenh.dll
          ModLoad: 00007ffa`49da0000 00007ffa`4b192000   C:\Windows\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_a9b1e11d93a651da\nvd3dumx.dll
          ModLoad: 00007ffa`aaaf0000 00007ffa`aac26000   C:\Windows\System32\MSCTF.dll
          ModLoad: 00007ffa`a3600000 00007ffa`a363a000   C:\Windows\system32\dataexchange.dll
          ModLoad: 00007ffa`a5950000 00007ffa`a5bab000   C:\Windows\system32\d3d11.dll
          ModLoad: 00007ffa`a6010000 00007ffa`a61eb000   C:\Windows\system32\dcomp.dll
          ModLoad: 00007ffa`a72e0000 00007ffa`a73cb000   C:\Windows\system32\dxgi.dll
          ModLoad: 00007ffa`a6a40000 00007ffa`a6c9a000   C:\Windows\system32\twinapi.appcore.dll
          ModLoad: 00007ffa`a6e70000 00007ffa`a6e99000   C:\Windows\system32\RMCLIENT.dll
          ModLoad: 00007ffa`95650000 00007ffa`9573c000   C:\Windows\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_a9b1e11d93a651da\nvldumdx.dll
          ModLoad: 00007ffa`49da0000 00007ffa`4b192000   C:\Windows\System32\DriverStore\FileRepository\nv_dispui.inf_amd64_a9b1e11d93a651da\nvd3dumx.dll
          ModLoad: 00007ffa`a6ca0000 00007ffa`a6cb4000   C:\Windows\SYSTEM32\resourcepolicyclient.dll
          ModLoad: 00007ffa`92a90000 00007ffa`92b53000   C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI64.dll
          ModLoad: 00007ffa`a4090000 00007ffa`a41ed000   C:\Windows\SYSTEM32\AUDIOSES.DLL
          ModLoad: 00007ffa`a6ca0000 00007ffa`a6cb4000   C:\Windows\SYSTEM32\resourcepolicyclient.dll
          ModLoad: 00007ffa`97420000 00007ffa`974be000   C:\Windows\SYSTEM32\TextInputFramework.dll
          (2630.2ad8): Access violation - code c0000005 (first chance)
          First chance exceptions are reported before any exception handling.
          This exception may be expected and handled.
          Qt5Cored!QLockFile::error+0x4c2f1:
          00007ffa`490cb657 488b00          mov     rax,qword ptr [rax] ds:00000000`000000f8=????????????????
          0:000> k
           # Child-SP          RetAddr           Call Site
          00 0000000a`2c2f7ca0 00007ffa`490c2976 Qt5Cored!QLockFile::error+0x4c2f1
          01 0000000a`2c2f7ce0 00007ffa`490c1900 Qt5Cored!QLockFile::error+0x43610
          02 0000000a`2c2f7dd0 00007ffa`490c17e8 Qt5Cored!QLockFile::error+0x4259a
          03 0000000a`2c2f7e10 00007ffa`490d471c Qt5Cored!QLockFile::error+0x42482
          04 0000000a`2c2f7e50 00007ffa`490b3442 Qt5Cored!QLockFile::error+0x553b6
          05 0000000a`2c2f80a0 00007ffa`490b26cb Qt5Cored!QLockFile::error+0x340dc
          06 0000000a`2c2f8130 00007ffa`47930d36 Qt5Cored!QLockFile::error+0x33365
          07 0000000a`2c2f8170 00007ffa`479a1023 Qt5Widgetsd!QPushButton::QPushButton+0x22dbdc
          08 0000000a`2c2f8330 00007ffa`479f7829 Qt5Widgetsd!QPushButton::QPushButton+0x29dec9
          09 0000000a`2c2f8390 00007ffa`479fedf7 Qt5Widgetsd!QPushButton::QPushButton+0x2f46cf
          0a 0000000a`2c2f83d0 00007ffa`479fbe52 Qt5Widgetsd!QPushButton::QPushButton+0x2fbc9d
          0b 0000000a`2c2f8520 00007ffa`47795ba6 Qt5Widgetsd!QPushButton::QPushButton+0x2f8cf8
          0c 0000000a`2c2f8610 00007ffa`4779448a Qt5Widgetsd!QPushButton::QPushButton+0x92a4c
          0d 0000000a`2c2f86e0 00007ffa`47754eac Qt5Widgetsd!QPushButton::QPushButton+0x91330
          0e 0000000a`2c2f8750 00007ffa`477524c8 Qt5Widgetsd!QPushButton::QPushButton+0x51d52
          0f 0000000a`2c2f87c0 00007ffa`494fc920 Qt5Widgetsd!QPushButton::QPushButton+0x4f36e
          10 0000000a`2c2f92c0 00007ffa`494fc9bc Qt5Cored!QLockFile::error+0x47d5ba
          11 0000000a`2c2f9340 00007ffa`47807b9c Qt5Cored!QLockFile::error+0x47d656
          12 0000000a`2c2f9370 00007ffa`47805d77 Qt5Widgetsd!QPushButton::QPushButton+0x104a42
          13 0000000a`2c2f9440 00007ffa`47754ef4 Qt5Widgetsd!QPushButton::QPushButton+0x102c1d
          14 0000000a`2c2f94e0 00007ffa`4774f686 Qt5Widgetsd!QPushButton::QPushButton+0x51d9a
          15 0000000a`2c2f9550 00007ffa`494fc920 Qt5Widgetsd!QPushButton::QPushButton+0x4c52c
          16 0000000a`2c2fa050 00007ffa`494fc7bb Qt5Cored!QLockFile::error+0x47d5ba
          17 0000000a`2c2fa0d0 00007ffa`48319d53 Qt5Cored!QLockFile::error+0x47d455
          18 0000000a`2c2fa100 00007ffa`4831a86e Qt5Guid!QStyleHints::setTabFocusBehavior+0xd4463
          19 0000000a`2c2fa270 00007ffa`482e6ebc Qt5Guid!QStyleHints::setTabFocusBehavior+0xd4f7e
          1a 0000000a`2c2fa310 00007ffa`482e7135 Qt5Guid!QStyleHints::setTabFocusBehavior+0xa15cc
          1b 0000000a`2c2fa3a0 00007ffa`4b1bbafb Qt5Guid!QStyleHints::setTabFocusBehavior+0xa1845
          1c 0000000a`2c2fa460 00007ffa`4b1e47d3 qwindowsd!FT_Property_Set+0x13887
          1d 0000000a`2c2fa560 00007ffa`4b1da972 qwindowsd!FT_Property_Set+0x3c55f
          1e 0000000a`2c2fac60 00007ffa`aa6e681d qwindowsd!FT_Property_Set+0x326fe
          1f 0000000a`2c2faed0 00007ffa`aa6e63ec USER32!UserCallWinProcCheckWow+0x2bd
          20 0000000a`2c2fb060 00007ffa`aa6f2d03 USER32!DispatchClientMessage+0x9c
          21 0000000a`2c2fb0c0 00007ffa`ab6dfe14 USER32!_fnDWORD+0x33
          22 0000000a`2c2fb120 00007ffa`a8851184 ntdll!KiUserCallbackDispatcherContinue
          23 0000000a`2c2fb1a8 00007ffa`aa6e4f7a win32u!NtUserMessageCall+0x14
          24 0000000a`2c2fb1b0 00007ffa`aa6e470f USER32!RealDefWindowProcWorker+0x1fa
          25 0000000a`2c2fb2b0 00007ffa`a689984e USER32!RealDefWindowProcW+0x4f
          26 0000000a`2c2fb2f0 00007ffa`a68b25a2 UxTheme!DoMsgDefault+0x2e [shell\themes\uxtheme\handlers.cpp @ 550] 
          27 0000000a`2c2fb330 00007ffa`a689c49f UxTheme!OnDwpSysCommand+0x32 [shell\themes\uxtheme\nctheme.cpp @ 7568] 
          28 0000000a`2c2fb360 00007ffa`a689bf81 UxTheme!_ThemeDefWindowProc+0x50f [shell\themes\uxtheme\sethook.cpp @ 1068] 
          29 0000000a`2c2fb540 00007ffa`aa6e4c4f UxTheme!ThemeDefWindowProcW+0x11 [shell\themes\uxtheme\sethook.cpp @ 1110] 
          2a 0000000a`2c2fb580 00007ffa`4b1dacc6 USER32!DefWindowProcW+0x1bf
          2b 0000000a`2c2fb5f0 00007ffa`aa6e681d qwindowsd!FT_Property_Set+0x32a52
          2c 0000000a`2c2fb860 00007ffa`aa6e63ec USER32!UserCallWinProcCheckWow+0x2bd
          2d 0000000a`2c2fb9f0 00007ffa`aa6f2d03 USER32!DispatchClientMessage+0x9c
          2e 0000000a`2c2fba50 00007ffa`ab6dfe14 USER32!_fnDWORD+0x33
          2f 0000000a`2c2fbab0 00007ffa`a8851184 ntdll!KiUserCallbackDispatcherContinue
          30 0000000a`2c2fbb38 00007ffa`aa6e4f7a win32u!NtUserMessageCall+0x14
          31 0000000a`2c2fbb40 00007ffa`aa6e470f USER32!RealDefWindowProcWorker+0x1fa
          32 0000000a`2c2fbc40 00007ffa`a689984e USER32!RealDefWindowProcW+0x4f
          33 0000000a`2c2fbc80 00007ffa`a68b24f7 UxTheme!DoMsgDefault+0x2e [shell\themes\uxtheme\handlers.cpp @ 550] 
          34 0000000a`2c2fbcc0 00007ffa`a689c49f UxTheme!OnDwpNcLButtonDown+0xa7 [shell\themes\uxtheme\nctheme.cpp @ 7159] 
          35 0000000a`2c2fbd00 00007ffa`a689bf81 UxTheme!_ThemeDefWindowProc+0x50f [shell\themes\uxtheme\sethook.cpp @ 1068] 
          36 0000000a`2c2fbee0 00007ffa`aa6e4c4f UxTheme!ThemeDefWindowProcW+0x11 [shell\themes\uxtheme\sethook.cpp @ 1110] 
          37 0000000a`2c2fbf20 00007ffa`4b1dacc6 USER32!DefWindowProcW+0x1bf
          38 0000000a`2c2fbf90 00007ffa`aa6e681d qwindowsd!FT_Property_Set+0x32a52
          39 0000000a`2c2fc200 00007ffa`aa6e6212 USER32!UserCallWinProcCheckWow+0x2bd
          3a 0000000a`2c2fc390 00007ffa`495c6b3e USER32!DispatchMessageWorker+0x1e2
          3b 0000000a`2c2fc410 00007ffa`4b2a4ee4 Qt5Cored!QLockFile::error+0x5477d8
          3c 0000000a`2c2ff600 00007ffa`494f6bfd qwindowsd!FT_Property_Set+0xfcc70
          3d 0000000a`2c2ff640 00007ffa`494f6e4f Qt5Cored!QLockFile::error+0x477897
          3e 0000000a`2c2ff690 00007ffa`494fa1ca Qt5Cored!QLockFile::error+0x477ae9
          3f 0000000a`2c2ff750 00007ffa`48314928 Qt5Cored!QLockFile::error+0x47ae64
          40 0000000a`2c2ff820 00007ffa`4774efda Qt5Guid!QStyleHints::setTabFocusBehavior+0xcf038
          *** WARNING: Unable to verify checksum for QUrhoApp_d.exe
          41 0000000a`2c2ff850 00007ff7`d7ea4b0f Qt5Widgetsd!QPushButton::QPushButton+0x4be80
          42 0000000a`2c2ff880 00007ff7`d7ea6ef8 QUrhoApp_d!QUrho::Application::execute+0x10f [D:\projects\QUrhoApp\Sources\Application.cpp @ 17] 
          43 0000000a`2c2ff930 00007ff7`d8aad425 QUrhoApp_d!main+0x38 [D:\projects\QUrhoApp\Sources\Main.cpp @ 5] 
          44 0000000a`2c2ff970 00007ff7`d8aa9952 QUrhoApp_d!WinMain+0xf5 [c:\users\qt\work\qt\qtbase\src\winmain\qtmain_win.cpp @ 97] 
          45 0000000a`2c2ff9f0 00007ff7`d8aa983e QUrhoApp_d!invoke_main+0x32 [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 107] 
          46 0000000a`2c2ffa30 00007ff7`d8aa96fe QUrhoApp_d!__scrt_common_main_seh+0x12e [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 288] 
          47 0000000a`2c2ffaa0 00007ff7`d8aa99e9 QUrhoApp_d!__scrt_common_main+0xe [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl @ 331] 
          48 0000000a`2c2ffad0 00007ffa`a9ff7bd4 QUrhoApp_d!WinMainCRTStartup+0x9 [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_winmain.cpp @ 17] 
          49 0000000a`2c2ffb00 00007ffa`ab6aced1 KERNEL32!BaseThreadInitThunk+0x14
          4a 0000000a`2c2ffb30 00000000`00000000 ntdll!RtlUserThreadStart+0x21
          

          Problem was solved by disabling the window repainting while resizing inside Urho3D:

          commit 13cf594c94272e3dbb3919eb38bb1b5106d5e2cb
          Author: VladBolotov <vladislav.bolotov@gmail.com>
          Date:   Mon Oct 7 14:05:14 2019 +1000
          
              Revert "On Windows use SDL event watch to repaint the window while resizing"
              
              This reverts commit b3d2573eb5e2bb57e99750b12994c6dbdfbeb113.
          
          diff --git a/Source/Urho3D/Input/Input.cpp b/Source/Urho3D/Input/Input.cpp
          index f96e49fdc..cf10b2e98 100644
          --- a/Source/Urho3D/Input/Input.cpp
          +++ b/Source/Urho3D/Input/Input.cpp
          @@ -38,11 +38,6 @@
           #include "../UI/Text.h"
           #include "../UI/UI.h"
           
          -#ifdef _WIN32
          -#include "../Engine/Engine.h"
          -#endif
          -
          -
           #include <SDL/SDL.h>
           
           #ifdef __EMSCRIPTEN__
          @@ -300,32 +295,6 @@ int EmscriptenInput::HandleSDLEvents(void* userData, SDL_Event* event)
           
           #endif
           
          -#ifdef _WIN32
          -// On Windows repaint while the window is actively being resized.
          -int Win32_ResizingEventWatcher(void* data, SDL_Event* event)
          -{
          -    if (event->type == SDL_WINDOWEVENT && event->window.event == SDL_WINDOWEVENT_RESIZED)
          -    {
          -        SDL_Window* win = SDL_GetWindowFromID(event->window.windowID);
          -        if (win == (SDL_Window*)data)
          -        {
          -            if (auto* ctx = (Context*)SDL_GetWindowData(win, "URHO3D_CONTEXT"))
          -            {
          -                if (auto* graphics = ctx->GetSubsystem<Graphics>())
          -                {
          -                    if (graphics->IsInitialized())
          -                    {
          -                        graphics->OnWindowResized();
          -                        ctx->GetSubsystem<Engine>()->RunFrame();
          -                    }
          -                }
          -            }
          -        }
          -    }
          -    return 0;
          -}
          -#endif
          -
           void JoystickState::Initialize(unsigned numButtons, unsigned numAxes, unsigned numHats)
           {
               buttons_.Resize(numButtons);
          @@ -1543,15 +1512,6 @@ void Input::Initialize()
               SubscribeToEvent(E_ENDFRAME, URHO3D_HANDLER(Input, HandleEndFrame));
           #endif
           
          -#ifdef _WIN32
          -    // Register callback for resizing in order to repaint.
          -    if (SDL_Window* window = graphics_->GetWindow())
          -    {
          -        SDL_SetWindowData(window, "URHO3D_CONTEXT", GetContext());
          -        SDL_AddEventWatch(Win32_ResizingEventWatcher, window);
          -    }
          -#endif
          -
               URHO3D_LOGINFO("Initialized input");
           }
          

          But I want to keep the possibility to render while resizing the window. So, does this looks like Qt internal bug and I should create a bug report?

          1 Reply Last reply
          0
          • Christian EhrlicherC Offline
            Christian EhrlicherC Offline
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @YouDoItWrong said in Random crash on window resize.:

            Qt 5.13.1 from qt.io binaries still crashing here is stack trace:

            Does it crash also with the testcase provided in the bugreport? If not it would be nice if you can provide a small testcase to this bugreport so we can investigate it.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            Y 1 Reply Last reply
            0
            • Christian EhrlicherC Christian Ehrlicher

              @YouDoItWrong said in Random crash on window resize.:

              Qt 5.13.1 from qt.io binaries still crashing here is stack trace:

              Does it crash also with the testcase provided in the bugreport? If not it would be nice if you can provide a small testcase to this bugreport so we can investigate it.

              Y Offline
              Y Offline
              YouDoItWrong
              wrote on last edited by
              #6

              @Christian-Ehrlicher
              By "bugreport" you mean code and error in this "head topic forum post"? If yes then yes :).
              I used the same code to reproduce this error with Qt 5.13.1. Basically the problem can be discribed as: SDL 2 window ebededded into Qt with enabled repaint on resize (on SDL side) lead to application crash. If u need a build instruction or some other information how to reproduce this crash, please let me know.
              If no - please let me know what do you mean?

              jsulmJ 1 Reply Last reply
              0
              • Y YouDoItWrong

                @Christian-Ehrlicher
                By "bugreport" you mean code and error in this "head topic forum post"? If yes then yes :).
                I used the same code to reproduce this error with Qt 5.13.1. Basically the problem can be discribed as: SDL 2 window ebededded into Qt with enabled repaint on resize (on SDL side) lead to application crash. If u need a build instruction or some other information how to reproduce this crash, please let me know.
                If no - please let me know what do you mean?

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #7

                @YouDoItWrong said in Random crash on window resize.:

                By "bugreport" you mean code and error in this "head topic forum post"?

                No, bug report in Qt bug tracker: https://bugreports.qt.io/secure/Dashboard.jspa

                https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved