Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-12461

Deadlock in consrv

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • Win32SS
    • None

    Description

      steps to reproduce:

      • Run stress.bat from CORE-11915 (after applying the regedit fix from there)
      • Let it run until you see (R:\src\trunk\reactos\win32ss\user\ntuser\msgqueue.c:1271) err: MsqSendMessage timed out 2 Status 102 (multiple times)
      • At this point cmd appears to be hung (no painting occurs, everything dragged over it will stay painted).
      • Run new instances of stress.bat until you can no longer start one
      • Wait until it deadlocks

      fixme:(R:\src\trunk\reactos\win32ss\user\user32\misc\dllmain.c:362) ClientThreadSetup is UNIMPLEMENTED!
      (R:\src\trunk\reactos\win32ss\user\ntuser\msgqueue.c:2390) err: MQ Cleanup Post Messages E16B8D58
      (R:\src\trunk\reactos\win32ss\user\ntuser\msgqueue.c:1271) err: MsqSendMessage timed out 2 Status 102
      (R:\src\trunk\reactos\win32ss\user\ntuser\msgqueue.c:1271) err: MsqSendMessage timed out 2 Status 102
      (R:\src\trunk\reactos\win32ss\user\ntuser\msgqueue.c:1271) err: MsqSendMessage timed out 2 Status 102
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      err:(R:\src\trunk\reactos\dll\win32\comctl32\commctrl.c:1757) GdiAlphaBlend failed: 0
      fixme:(R:\src\trunk\reactos\dll\win32\comctl32\toolbar.c:380) [008E014E] TBSTYLE_REGISTERDROP not implemented
      (R:\src\trunk\reactos\win32ss\user\winsrv\consrv\frontends\terminal.c:272) Using FrontEndIFace HACK(1), should be removed after proper implementation!
      ERROR:  RtlpWaitForCriticalSection at R:\src\trunk\reactos\sdk\lib\rtl\critical.c:172 
      Deadlock: 0x00225954
      Break instruction exception - code 80000003 (first chance)
      001b:7c92c792 cc              int     3
      kd> .reload /user
      Loading User Symbols
      .................
      kd> k
      ChildEBP RetAddr  
      00d2fb20 7c937980 ntdll!DbgBreakPoint
      00d2fb80 7c9372ca ntdll!RtlpWaitForCriticalSection+0x100 [r:\src\trunk\reactos\sdk\lib\rtl\critical.c @ 172]
      00d2fb90 7a89b2e6 ntdll!RtlEnterCriticalSection+0x4a [r:\src\trunk\reactos\sdk\lib\rtl\critical.c @ 520]
      00d2fb9c 7a8a86ff winsrv!ConDrvValidateConsoleUnsafe+0x26 [r:\src\trunk\reactos\win32ss\user\winsrv\consrv\condrv\console.c @ 137]
      00d2fcdc 7a8a5f6a winsrv!GuiPaintTextModeBuffer+0x2f [r:\src\trunk\reactos\win32ss\user\winsrv\consrv\frontends\gui\text.c @ 363]
      00d2fd48 7a8a374a winsrv!OnPaint+0x8a [r:\src\trunk\reactos\win32ss\user\winsrv\consrv\frontends\gui\conwnd.c @ 1078]
      00d2fda8 7c550c7a winsrv!ConWndProc+0x1fa [r:\src\trunk\reactos\win32ss\user\winsrv\consrv\frontends\gui\conwnd.c @ 2288]
      00d2fdd8 7c542dd9 user32!CALL_EXTERN_WNDPROC+0x1a
      00d2fe74 7c54743d user32!IntCallWindowProcW+0x3c9 [r:\src\trunk\reactos\win32ss\user\user32\windows\message.c @ 1522]
      00d2fee8 7c92c3a1 user32!User32CallWindowProcFromKernel+0x23d [r:\src\trunk\reactos\win32ss\user\user32\windows\message.c @ 2974]
      00d2ff60 7a8a1edb ntdll!KiUserCallbackDispatcher+0x2e
      00d2fff4 00000000 winsrv!GuiConsoleInputThread+0x2fb [r:\src\trunk\reactos\win32ss\user\winsrv\consrv\frontends\gui\guiterm.c @ 279]

      Attachments

        Issue Links

          Activity

            People

              hbelusca hbelusca
              learn_more Mark Jansen
              Votes:
              3 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: