Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-24189

Qt application Crashes in QtGui4!QRasterPaintEngine::setDC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 4.7.4
    • GUI: Window management
    • None

    Description

      • A Qt application is running in windows 7
      • Windows 7 goes to sleep mode
      • Wake computer
      • Activate Qt application from the Windows 7 task bar
      • Application crashes

      CALL STACK::

      . 0 Id: 10b0.b7c Suspend: 0 Teb: 7ffdf000 Unfrozen
      Memory ChildEBP RetAddr Args to Child
      0012c150 77b35aec 75d268cc 00000002 0012c1a4 ntdll!KiFastSystemCallRet (FPO: [0,0,0])
      4 0012c154 75d268cc 00000002 0012c1a4 00000001 ntdll!ZwWaitForMultipleObjects+0xc (FPO: [5,0,0])
      9c 0012c1f0 778bf0ca 0012c1a4 0012c218 00000000 KERNELBASE!WaitForMultipleObjectsEx+0x100 (FPO: [Non-Fpo])
      48 0012c238 778bf23e 00000002 7ffdc000 00000000 kernel32!WaitForMultipleObjectsExImplementation+0xe0 (FPO: [Non-Fpo])
      1c 0012c254 778d2e95 00000002 0012c288 00000000 kernel32!WaitForMultipleObjects+0x18 (FPO: [Non-Fpo])
      6c 0012c2c0 778d2f32 0012c3a0 00000001 00000001 kernel32!WerpReportFaultInternal+0x186 (FPO: [Non-Fpo])
      14 0012c2d4 778d2cc0 0012c3a0 00000001 0012c370 kernel32!WerpReportFault+0x70 (FPO: [Non-Fpo])
      10 0012c2e4 778d2c3f 0012c3a0 00000001 eb8bfa27 kernel32!BasepReportFault+0x20 (FPO: [Non-Fpo])
      8c 0012c370 77b65944 00000000 77b0d674 00000000 kernel32!UnhandledExceptionFilter+0x1af (FPO: [Non-Fpo])
      8 0012c378 77b0d674 00000000 0012f9fc 77b40420 ntdll!__RtlUserThreadStart+0x62 (FPO: [SEH])
      14 0012c38c 77b0d50c 00000000 00000000 00000000 ntdll!_EH4_CallFilterFunc+0x12 (FPO: [Uses EBP] [0,0,4])
      28 0012c3b4 77b36299 fffffffe 0012f9ec 0012c4bc ntdll!_except_handler4+0x8e (FPO: [Non-Fpo])
      24 0012c3d8 77b3626b 0012c4a0 0012f9ec 0012c4bc ntdll!ExecuteHandler2+0x26
      b0 0012c488 77b360f7 0012c4a0 0012c4bc 0012c4a0 ntdll!ExecuteHandler+0x24
      0 0012c488 5afd11a0 0012c4a0 0012c4bc 0012c4a0 ntdll!KiUserExceptionDispatcher+0xf (FPO: [2,0,0]) (CONTEXT @ 0012c4bc)
      314 0012c79c 5af18068 0301087c eb920ac7 026327f8 QtGui4!QRasterPaintEngine::setDC (FPO: [1,0,0]) (CONV: thiscall)
      78 0012c814 5b005721 000004fe 000002ce 00000006 QtGui4!QNativeImage::QNativeImage+0x168 (FPO: [5,23,4]) (CONV: thiscall)
      68 0012c87c 5b005aa2 00000006 02633b90 02592580 QtGui4!QRasterWindowSurface::prepareBuffer+0xe1 (FPO: [2,15,4]) (CONV: thiscall)
      1c 0012c898 5b009016 0012c8e0 eb9205c3 02592580 QtGui4!QRasterWindowSurface::setGeometry+0x72 (FPO: [1,0,0]) (CONV: thiscall)
      178 0012ca10 5aea8d51 eb920777 02592580 02633b90 QtGui4!QWidgetBackingStore::sync+0x346 (FPO: [Non-Fpo]) (CONV: thiscall)
      24 0012ca34 5aeca5ee eb92072b 02633b90 02ce04fe QtGui4!QWidgetPrivate::syncBackingStore+0xc1 (FPO: [0,5,4]) (CONV: thiscall)
      b4 0012cae8 5aecc93f 0012cb50 0012cd98 00000005 QtGui4!QETWidget::translateConfigEvent+0x4ee (FPO: [Non-Fpo]) (CONV: thiscall)
      234 0012cd1c 779886ef 000b07a8 00000005 00000000 QtGui4!QtWndProc+0xa4f (FPO: [4,135,0]) (CONV: stdcall)
      2c 0012cd48 77988876 5aecbef0 000b07a8 00000005 user32!InternalCallWinProc+0x23
      78 0012cdc0 779870f4 00000000 5aecbef0 000b07a8 user32!UserCallWinProcCheckWow+0x14b (FPO: [Non-Fpo])
      5c 0012ce1c 7798738f 009a0e08 00000005 00000000 user32!DispatchClientMessage+0xda (FPO: [Non-Fpo])
      28 0012ce44 77b360ce 0012ce5c 00000018 0012cfc4 user32!__fnDWORD+0x24 (FPO: [Non-Fpo])
      2c 0012ce70 7798732e 7797b6db 000b07a8 00000005 ntdll!KiUserCallbackDispatcher+0x2e (FPO: [0,0,0])
      4 0012ce74 7797b6db 000b07a8 00000005 00000000 user32!NtUserMessageCall+0xc (FPO: [7,0,0])
      84 0012cef8 77987308 000b07a8 5aecbef0 000b07a8 user32!RealDefWindowProcWorker+0x528 (FPO: [Non-Fpo])
      1c 0012cf14 74851e60 000b07a8 00000047 00000000 user32!RealDefWindowProcW+0x47 (FPO: [Non-Fpo])
      5c 0012cf70 74851f20 00000000 00000000 00000000 uxtheme!_ThemeDefWindowProc+0x197 (FPO: [Non-Fpo])
      1c 0012cf8c 779879f0 000b07a8 00000047 00000000 uxtheme!ThemeDefWindowProcW+0x18 (FPO: [Non-Fpo])
      48 0012cfd4 5b2e9b00 000b07a8 00000047 00000000 user32!DefWindowProcW+0x68 (FPO: [Non-Fpo])
      28 0012cffc 5aece2c0 000b07a8 00000047 00000000 QtGui4!QWinInputContext::DefWindowProcW+0x40 (FPO: [4,1,0]) (CONV: cdecl)
      240 0012d23c 779886ef 000b07a8 00000047 00000000 QtGui4!QtWndProc+0x23d0 (FPO: [4,135,0]) (CONV: stdcall)
      2c 0012d268 779879cc 5aecbef0 000b07a8 00000047 user32!InternalCallWinProc+0x23
      78 0012d2e0 779870f4 00000000 5aecbef0 000b07a8 user32!UserCallWinProcCheckWow+0xe0 (FPO: [Non-Fpo])
      5c 0012d33c 7798184e 009a0e08 00000047 00000000 user32!DispatchClientMessage+0xda (FPO: [Non-Fpo])
      28 0012d364 77b360ce 0012d37c 00000030 0012d51c user32!__fnINLPWINDOWPOS+0x25 (FPO: [Non-Fpo])
      44 0012d3a8 7798732e 77987361 000b07a8 00000112 ntdll!KiUserCallbackDispatcher+0x2e (FPO: [0,0,0])
      4 0012d3ac 77987361 000b07a8 00000112 0000f008 user32!NtUserMessageCall+0xc (FPO: [7,0,0])
      84 0012d430 77987308 000b07a8 00000112 0000f008 user32!RealDefWindowProcWorker+0x72 (FPO: [Non-Fpo])
      1c 0012d44c 74855eef 000b07a8 00000112 0000f008 user32!RealDefWindowProcW+0x47 (FPO: [Non-Fpo])
      18 0012d464 7486d128 0012d490 01975a98 0012d4c8 uxtheme!DoMsgDefault+0x2d (FPO: [Non-Fpo])
      10 0012d474 74851e09 01975a98 0012d490 0000f008 uxtheme!OnDwpSysCommand+0x47 (FPO: [Non-Fpo])
      54 0012d4c8 74851f20 00000000 00000000 0000f008 uxtheme!_ThemeDefWindowProc+0x13c (FPO: [Non-Fpo])
      1c 0012d4e4 779879f0 000b07a8 00000112 0000f008 uxtheme!ThemeDefWindowProcW+0x18 (FPO: [Non-Fpo])
      48 0012d52c 5b2e9b00 000b07a8 00000112 0000f008 user32!DefWindowProcW+0x68 (FPO: [Non-Fpo])
      28 0012d554 5aece2c0 000b07a8 00000112 0000f008 QtGui4!QWinInputContext::DefWindowProcW+0x40 (FPO:
      240 0012d794 779886ef 000b07a8 00000112 0000f008 QtGui4!QtWndProc+0x23d0 (FPO: [4,135,0])
      2c 0012d7c0 779879cc 5aecbef0 000b07a8 00000112 user32!InternalCallWinProc+0x23
      78 0012d838 779889b5 00000000 5aecbef0 000b07a8 user32!UserCallWinProcCheckWow+0xe0 (FPO: [Non-Fpo])
      60 0012d898 77988e9c 5aecbef0 00000000 0012f6bc user32!DispatchMessageWorker+0x35e (FPO: [Non-Fpo])
      10 0012d8a8 5ad0ccd1 0012d8d8 eb9215c1 0b69f778 user32!DispatchMessageW+0xf (FPO: [Non-Fpo])
      1dd4 0012f67c 5aecbccf 00000024 5ace80a0 00000024 QtCore4!QEventDispatcherWin32::processEvents+0x5d1 (FPO: [1,1902,4]) (CONV: thiscall)
      8 0012f684 5ace80a0 00000024 eb923bc5 0012f7f4 QtGui4!QGuiEventDispatcherWin32::processEvents+0xf (FPO: [1,0,0]) (CONV: thiscall)
      38 0012f6bc 5acec176 00000000 eb923bb5 0012f7f4 QtCore4!QEventLoop::exec+0x100 (FPO: [Non-Fpo]) (CONV: thiscall)
      30 0012f6ec 0088afd1 eb92150c 00000004 00657e18 QtCore4!QCoreApplication::exec+0x106 (FPO: [0,6,0]) (CONV: cdecl)
      1d4 0012f8c0 008ea48e 00000001 00657e60 0095d178 AQTAPPLICATION!main+0x3081 (FPO: [Non-Fpo]) (CONV: cdecl)
      5c 0012f91c 008eb42c 00870000 00000000 00191f14 AQTAPPLICATION!WinMain+0x35e (FPO: [4,16,0]) (CONV: stdcall)
      94 0012f9b0 778c1114 7ffdc000 0012f9fc 77b4b299 AQTAPPLICATION!__tmainCRTStartup+0x150 (FPO: [Non-Fpo]) (CONV: cdecl)
      c 0012f9bc 77b4b299 7ffdc000 77e4a146 00000000 kernel32!BaseThreadInitThunk+0xe (FPO: [Non-Fpo])
      40 0012f9fc 77b4b26c 008eb5b6 7ffdc000 00000000 ntdll!__RtlUserThreadStart+0x70 (FPO: [Non-Fpo])
      18 0012fa14 00000000 008eb5b6 7ffdc000 00000000 ntdll!_RtlUserThreadStart+0x1b (FPO: [Non-Fpo])

      0:000> .exr 0012c4a0
      ExceptionAddress: 5afd11a0 (QtGui4!QRasterPaintEngine::setDC)
      ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
      NumberParameters: 2
      Parameter[0]: 00000000
      Parameter[1]: 00000010
      Attempt to read from address 00000010

      0:000> .cxr 0012c4bc
      eax=00000000 ebx=000002ce ecx=00000000 edx=5b3f215c esi=1b8d5220 edi=d7011233
      eip=5afd11a0 esp=0012c7a0 ebp=000004fe iopl=0 nv up ei pl nz na pe nc
      cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010206
      QtGui4!QRasterPaintEngine::setDC:
      5afd11a0 8b4110 mov eax,dword ptr [ecx+10h] ds:0023:00000010=????????

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              spsarkar Suprasanna Sarkar
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes