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

WS03 kernel32.dll and ntdll.dll: 'Assertion failed: DesktopObject // /win32ss/user/ntuser/desktop.c, line 1240'

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Untriaged
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: 0.4.14
    • Component/s: None
    • Environment:

      QEMU 0.9.1

    • Guilty Commit:
      0.4.12-dev-???

      Description

      kernel32.dll v5.2.3790.4480
      (npfs.sys v5.2.3790.3959)
      ntdll.dll v5.2.3790.4455

      1. Install.
      2. After Stage 3 completes, rename 2-3 files and copy WS03 ones.
      3. Restart.
      3r. New start asserts.

      reactos-bootcd-0.4.11-dev-948-gde7c959-x86-gcc-lin-dbg
      reactos-bootcd-0.4.12-dev-1-g4d974e5-x86-gcc-lin-dbg
      reactos-bootcd-0.4.12-dev-31-g7d18e36-x86-gcc-lin-dbg
      Still CORE-17488 only.

      (reactos-bootcd-0.4.12-dev-46-gec96bf8-x86-gcc-lin-dbg, Stage 3 crashes.)
      (reactos-bootcd-0.4.12-dev-62-g4ad2789-x86-gcc-lin-dbg, Stage 3 crashes.)
      (reactos-bootcd-0.4.12-dev-93-gc94ca81-x86-gcc-lin-dbg, Stage 3 crashes.)
      (reactos-bootcd-0.4.12-dev-115-gbba8262-x86-gcc-lin-dbg, Stage 3 crashes.)

      reactos-bootcd-0.4.12-dev-135-g5629743-x86-gcc-lin-dbg
      (reactos-bootcd-0.4.12-dev-271-g3f71687-x86-gcc-lin-dbg, Stage 3 crashes.)
      (reactos-bootcd-0.4.12-dev-541-g3425afa-x86-gcc-lin-dbg, Stage 3 crashes.)
      reactos-bootcd-0.4.12-dev-811-g22bacc6-x86-gcc-lin-dbg
      reactos-bootcd-0.4.12-dev-1082-ge0e5363-x86-gcc-lin-dbg
      reactos-bootcd-0.4.13-dev-1227-g94a66f4-x86-gcc-lin-dbg
      reactos-bootcd-0.4.15-dev-2069-gfd8080b-x86-gcc-lin-dbg
      Assertion, then CORE-17488.

      (/ntoskrnl/mm/ARM3/sysldr.c:176) Loading: \SystemRoot\System32\framebuf.dll at FC0FB000 with d pages
      (/win32ss/user/ntuser/winsta.c:241) err: Invalid window station handle
      (/win32ss/user/ntuser/clipboard.c:31) err: Cannot open winsta
      (/subsystems/win/basesrv/nls.c:350) NLS Data copy complete
      (/subsystems/win/basesrv/proc.c:38) BaseSrvSxsCreateActivationContext not yet implemented
      SXS: BasepCreateActCtx() Calling csrss server failed
      LDR: LdrpWalkImportDescriptor() failed to probe C:\ReactOS\system32\mpr.dll for its manifest, ntstatus 0xc0000002
       
      *** Assertion failed: DesktopObject
      ***   Source File: /win32ss/user/ntuser/desktop.c, line 1240
       
      Break repeatedly, break Once, Ignore, terminate Process or terminate Thread (boipt)?
      kdb:> o
      Execute '.cxr FC117914' to dump context
      ?[7h?
      Entered debugger on embedded INT3 at 0x0008:0x809817dd.
      kdb:> bt
      Eip:
      <ntoskrnl.exe:1817de (:0 (DbgUserBreakPoint))>
      Frames:
      <win32k.sys:34880 (win32ss/user/ntuser/desktop.c:1240 (IntGetDesktopObjectHandle))>
      <win32k.sys:6a3bd (win32ss/user/ntuser/ntstubs.c:836 (NtUserSetInformationThread))>
      <ntoskrnl.exe:1486c9 (ntoskrnl/include/internal/i386/ke.h:712 (KiSystemServiceHandler))>
      <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))>
      <ntdll.dll:28607>
      <csrsrv.dll:2a9b>
      kdb:> cont
       
      *** Fatal System Error: 0x00000050
                             (0xFFFFFFF0,0x00000000,0x80911677,0x00000000)
       
      Driver at fault:
      ***  ntoskrnl.exe - Address 80911677 base at 80800000, DateStamp 6031357c
      .
       
      Entered debugger on embedded INT3 at 0x0008:0x809817e3.
      kdb:> bt
      Eip:
      <ntoskrnl.exe:1817e4 (srv/buildbot/worker_data/Build_GCCLin_x86/build/sdk/lib/rtl/i386/debug_asm.S:56 (RtlpBreakWithStatusInstruction))>
      Frames:
      <ntoskrnl.exe:8bc18 (ntoskrnl/ke/bug.c:1066 (KeBugCheckWithTf))>
      <ntoskrnl.exe:8c1b7 (ntoskrnl/ke/bug.c:1413 (KeBugCheckEx))>
      <ntoskrnl.exe:baf9d (ntoskrnl/mm/ARM3/pagfault.c:2024 (MmArmAccessFault))>
      <ntoskrnl.exe:f07c6 (ntoskrnl/mm/mmfault.c:250 (MmAccessFault))>
      <ntoskrnl.exe:14782d (ntoskrnl/ke/i386/traphdlr.c:1373 (KiTrap0EHandler))>
      <ntoskrnl.exe:36ae (:0 (KiTrap0E))>
      <ntoskrnl.exe:111672 (ntoskrnl/ob/obref.c:388 (ObReferenceObjectByPointer))>
      <ntoskrnl.exe:1094b3 (ntoskrnl/ob/obhandle.c:2757 (ObOpenObjectByPointer))>
      <win32k.sys:3484a (win32ss/user/ntuser/desktop.c:1248 (IntGetDesktopObjectHandle))>
      <win32k.sys:6a3bd (win32ss/user/ntuser/ntstubs.c:836 (NtUserSetInformationThread))>
      <ntoskrnl.exe:1486c9 (ntoskrnl/include/internal/i386/ke.h:712 (KiSystemServiceHandler))>
      <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))>
      <ntdll.dll:28607>
      <csrsrv.dll:2a9b>
      kdb:>
      

      https://git.reactos.org/?p=reactos.git;a=blob;f=win32ss/user/ntuser/desktop.c;hb=HEAD#l1230

      1235 IntGetDesktopObjectHandle(PDESKTOP DesktopObject)
      ...
      1240     ASSERT(DesktopObject);
      


      Is this old assertion, for some reason, newly detecting CORE-17488 earlier and more explicitly?
      Or is this issue actually an additional regression?

      NB:
      CORE-10207 PR3374 does not help.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Serge Gautherie Serge Gautherie
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated: