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

REGRESSION: BSOD 0xc000021a when logging off or shutting down

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • None
    • None

    Description

      reactos-bootcd-0.4.16-dev-1610-g4f61d2e-x86-gcc-lin-dbg
      reactos-bootcd-0.4.16-dev-1611-g51ee32f-x86-gcc-lin-dbg

      Guilty commit: https://github.com/reactos/reactos/commit/51ee32f5f870444873cc2dbdf187b2d15f5e981a from hbelusca 

      • VirtualBox 7, new installation on a fresh partition. Install, Stage 2, reboot then on 1st full session:
      • Start Menu > Log off, click "Log off (note : System Shutdown affected similarly)

      • BSOD 0xc000021a

      fixme:(dll/win32/comctl32/toolbar.c:403) [000B0126] TBSTYLE_REGISTERDROP not implemented
      traywnd.cpp:3133: Unexpected failure (m_TrayBandSite->ProcessMessage(m_hWnd, uMsg, wParam, lParam, &Ret))=80004005.
      err:(dll/win32/comctl32/listview.c:12048) unknown msg 10af wp=00000000 lp=00000000
      (win32ss/user/winsrv/usersrv/shutdown.c:619) SrvExitWindowsEx(ClientId: 198.19c, Flags: 0x0)
      (win32ss/user/ntuser/shutdown.c:129) err: NotifyLogon(0x0, 0x0)
      (win32ss/user/winsrv/usersrv/shutdown.c:672) NtUserSetInformationThread returned STATUS_PENDING
      (win32ss/user/winsrv/usersrv/shutdown.c:619) SrvExitWindowsEx(ClientId: a8.3a8, Flags: 0x200)
      (sdk/lib/rtl/priv.c:446) Retrieving token handle failed (Status c0000022)
      (win32ss/user/winsrv/usersrv/shutdown.c:786) Terminating process 328 (\Device\HarddiskVolume1\ReactOS\system32\kbswitch.exe)
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 00020116 when the thread is in cleanup!
      (win32ss/user/winsrv/usersrv/shutdown.c:786) Terminating process 198 (\Device\HarddiskVolume1\ReactOS\explorer.exe)
      (win32ss/user/ntuser/window.c:2991) err: Destroying the ShellWindow!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000200C4 when the thread is in cleanup!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000200C4 when the thread is in cleanup!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000200C4 when the thread is in cleanup!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000200C4 when the thread is in cleanup!
      (win32ss/user/ntuser/desktop.c:1370) err: ptiLastInput is CLEARED!!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000200C4 when the thread is in cleanup!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000200C4 when the thread is in cleanup!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000200C4 when the thread is in cleanup!
      (win32ss/user/ntuser/message.c:1468) err: Attempted to post message to window 000900B6 when the thread is in cleanup!
      (win32ss/user/ntuser/shutdown.c:129) err: NotifyLogon(0x200, 0x0)
      WARNING:  SfcWLEventLogoff at dll/win32/sfc_os/sfc_os.c:194 is UNIMPLEMENTED!
      (win32ss/user/ntuser/msgqueue.c:842) err: Remove Window Messages E16F25F8 From Sent Queue
      (win32ss/user/ntuser/msgqueue.c:1272) err: NB Receiving Thread woken up dead!
      (win32ss/user/ntuser/msgqueue.c:2266) err: Thread Cleanup Sent Messages E16F25F8
      (win32ss/user/ntuser/message.c:1460) err: UserPostMessage: Invalid handle 0x00040132 Msg 0x0!
      (win32ss/user/ntuser/desktop.c:3338) err: Attempted to change thread desktop although the thread has windows!
      Terminating critical process 0xB43556A0 (winlogon.exe)
      Break, or Ignore (bi)?
      kdb:> bEntered debugger on embedded INT3 at 0x0008:0x805ADA04.
      Eip:
      <ntoskrnl.exe:1ada04 (sdk/lib/rtl/i386/thread.c:94 (DbgBreakPoint))>
      Frames:
      <ntoskrnl.exe:135bc3 (ntoskrnl/ps/kill.c:1198 (NtTerminateProcess))>
      <ntoskrnl.exe:3fe5 (:0 (KiSystemCallTrampoline))>
      <ntoskrnl.exe:16ac1d (ntoskrnl/ke/i386/traphdlr.c:1840 (KiSystemServiceHandler))>
      <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))>
      <ntdll.dll:f4c5>Type "help" for a list of commands.kdb:> cont
      Terminating critical thread 0xB43542F8 (winlogon.exe)
      Break, or Ignore (bi)?
      kdb:> i
      Critical thread 0xB43542F8 (in winlogon.exe) exited
      Break, or Ignore (bi)?
      kdb:> i
      Critical  process 0xB43556A0 (in winlogon.exe) exited
      Break, or Ignore (bi)?
      kdb:> i
      (win32ss/user/ntuser/msgqueue.c:2266) err: Thread Cleanup Sent Messages E157A930
      (base/system/smss/smss.c:554) SMSS: Initial command 'winlogon.exe' terminated when it wasn't supposed to.
      (sdk/lib/rtl/priv.c:446) Retrieving token handle failed (Status c000007c)*** Fatal System Error: 0xc000021a
                             (0x0031FF58,0x00000080,0x00000000,0x00000000)
      Entered debugger on embedded INT3 at 0x0008:0x805ADA0A.
      Eip:
      <ntoskrnl.exe:1ada0a (sdk/lib/rtl/i386/debug_asm.S:45 (RtlpBreakWithStatusInstruction))>
      Frames:
      <ntoskrnl.exe:9b0aa (ntoskrnl/ke/bug.c:1079 (KeBugCheckWithTf))>
      <ntoskrnl.exe:9b65e (ntoskrnl/ke/bug.c:1420 (KeBugCheckEx))>
      <ntoskrnl.exe:32a0a (ntoskrnl/ex/harderr.c:76 (ExpSystemErrorHandler))>
      <ntoskrnl.exe:32c2f (ntoskrnl/ex/harderr.c:148 (ExpRaiseHardError))>
      <ntoskrnl.exe:3332c (ntoskrnl/ex/harderr.c:670 (NtRaiseHardError))>
      <ntoskrnl.exe:3fe5 (:0 (KiSystemCallTrampoline))>
      <ntoskrnl.exe:16ac1d (ntoskrnl/ke/i386/traphdlr.c:1840 (KiSystemServiceHandler))>
      <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))>
      <ntdll.dll:f4c5>
      <smss.exe:c457>
      <smss.exe:c70c>Type "help" for a list of commands.kdb:> cont
      (ntoskrnl/ke/bug.c:568) Potentially unloaded driver!
      (ntoskrnl/ke/bug.c:568) Potentially unloaded driver!
      (ntoskrnl/ke/bug.c:568) Potentially unloaded driver!
      (ntoskrnl/ke/bug.c:568) Potentially unloaded driver!Entered debugger on embedded INT3 at 0x0008:0x805ADA0A.
      Eip:
      <ntoskrnl.exe:1ada0a (sdk/lib/rtl/i386/debug_asm.S:45 (RtlpBreakWithStatusInstruction))>
      Frames:
      <ntoskrnl.exe:9b133 (ntoskrnl/ke/bug.c:1160 (KeBugCheckWithTf))>
      <ntoskrnl.exe:9b65e (ntoskrnl/ke/bug.c:1420 (KeBugCheckEx))>
      <ntoskrnl.exe:32a0a (ntoskrnl/ex/harderr.c:76 (ExpSystemErrorHandler))>
      <ntoskrnl.exe:32c2f (ntoskrnl/ex/harderr.c:148 (ExpRaiseHardError))>
      <ntoskrnl.exe:3332c (ntoskrnl/ex/harderr.c:670 (NtRaiseHardError))>
      <ntoskrnl.exe:3fe5 (:0 (KiSystemCallTrampoline))>
      <ntoskrnl.exe:16ac1d (ntoskrnl/ke/i386/traphdlr.c:1840 (KiSystemServiceHandler))>
      <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))>
      <ntdll.dll:f4c5>
      <smss.exe:c457>
      <smss.exe:c70c>Type "help" for a list of commands. 

      Attachments

        Issue Links

          Activity

            People

              hbelusca hbelusca
              KRosUser KRosUser
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: