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

Null pointer dereference in GDIOBJ_vDereferenceObject when running user32_apitest:DrawIconEx

    XMLWordPrintable

Details

    Description

      This started in r66228, seems to be a problem with brush cleanup.

      Entered debugger on last-chance exception (Exception Code: 0xc0000005) (Page Fault)
      Memory at 0x00000001 could not be read: Page not present.
      kdb:>
       bt
      Eip:
      <win32k.sys:aaf6b (win32ss/gdi/ntgdi/gdiobj.c:556 (GDIOBJ_vDereferenceObject))>
      Frames:
      <win32k.sys:9b17 (win32ss/gdi/eng/engbrush.c:172 (EBRUSHOBJ_vCleanup))>
      <win32k.sys:fa024 (win32ss/user/ntuser/cursoricon_new.c:1464 (UserDrawIconEx))>
      <win32k.sys:fa6ea (win32ss/user/ntuser/cursoricon_new.c:1690 (NtUserDrawIconEx))>
      <NTOSKRNL.EXE:147550 (ntoskrnl/include/internal/i386/ke.h:689 (KiSystemServiceHandler))>
      <NTOSKRNL.EXE:3d95 (:0 (KiFastCallEntry))>
      <ntdll.dll:c761 (:0 (KiIntSystemCall))>
      <user32_apitest.exe:9ee6 (modules/rostests/apitests/user32/DrawIconEx.c:37 (func_DrawIconEx))>
      <user32_apitest.exe:22ed5 (include/reactos/wine/test.h:614 (main))>
      <user32_apitest.exe:23a36 (lib/sdk/crt/startup/crtexe.c:310 (__tmainCRTStartup))>
      <user32_apitest.exe:23a98 (lib/sdk/crt/startup/crtexe.c:196 (mainCRTStartup))>
      <kernel32.dll:fbe3 (dll/win32/kernel32/client/proc.c:472 (BaseProcessStartup))>
      <00000000>
      kdb:>

      https://reactos.org/sites/all/modules/reactos/testman/detail.php?id=19184817&prev=0

      Attachments

        Activity

          People

            ThePhysicist Timo Kreuzer
            ThFabba ThFabba
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: