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

Invalid free on cleanup IRP

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: 0.4.9
    • Component/s: Filesystems
    • Labels:
      None

      Description

      When attempting to build ReactOS, sometimes, we get an invalid free in the kernel (regarding the private cache map free). This only happens with posted cleanup IRPs, normal ones just go straight.

      (ntoskrnl/mm/ARM3/expool.c:2510) Freeing pool - invalid tag specified: CcPc != 
       
      *** Fatal System Error: 0x000000c2
                             (0x0000000A,0xB1380320,0x00000000,0x63506343)
       
       
      Entered debugger on embedded INT3 at 0x0008:0x8094d4d4.
      kdb:> bt
      Eip:
      f7791824 <NTOSKRNL.EXE:14d4d5 (:0 (RtlpBreakWithStatusInstruction))>
      Frames:
      f7791bb4 <NTOSKRNL.EXE:8923d (ntoskrnl/ke/bug.c:1100 (KeBugCheckWithTf))>
      f7791bd4 <NTOSKRNL.EXE:89814 (ntoskrnl/ke/bug.c:1456 (KeBugCheckEx))>
      f7791c34 <NTOSKRNL.EXE:a8252 (ntoskrnl/mm/ARM3/expool.c:2511 (ExFreePoolWithTag))>
      f7791c6c <NTOSKRNL.EXE:dbfd (ntoskrnl/cc/view.c:1356 (CcRosReleaseFileCache))>
      f7791c9c <NTOSKRNL.EXE:692c (ntoskrnl/cc/fs.c:361 (CcUninitializeCacheMap))>
      f7791cec <fastfat.sys:1ea2 (drivers/filesystems/fastfat/cleanup.c:121 (VfatCleanup))>
      f7791d1c <fastfat.sys:119f9 (drivers/filesystems/fastfat/misc.c:169 (VfatDispatchRequest))>
      f7791d24 <fastfat.sys:11c7d (drivers/filesystems/fastfat/misc.c:320 (VfatDoRequest))>
      f7791d6c <NTOSKRNL.EXE:41f43 (ntoskrnl/ex/work.c:162 (ExpWorkerThreadEntryPoint))>
      f7791dc4 <NTOSKRNL.EXE:116714 (ntoskrnl/ps/thread.c:156 (PspSystemThreadStartup))>
      f7791ddc <NTOSKRNL.EXE:12da55 (ntoskrnl/ke/i386/thrdini.c:78 (KiThreadStartup))>
      809166e0 <NTOSKRNL.EXE:1166db (ntoskrnl/ps/state.c:565 (NtQueueApcThread))>
      83e58955 <5d8950ec>
      00000000 <00000000>
      kdb:> 

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Heis Spiter Pierre Schweitzer
                Reporter:
                Heis Spiter Pierre Schweitzer
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: