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

UltraDefrag - Exception in fastfat.sys during defragmentation process

    XMLWordPrintable

Details

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

    Description

      Using :

      reactos-bootcd-0.4.15-dev-5186-gbbef618-x86-gcc-lin-dbg

      https://sourceforge.net/projects/ultradefrag/files/stable-release/7.0.2/ultradefrag-portable-7.0.2.bin.i386.zip/download

      Start Defragmentation (FAT32 partition) => Exception in fastfat.sys occured at ~15% progress

      https://git.reactos.org/?p=reactos.git;a=blob;f=drivers/filesystems/fastfat/allocsup.c;hb=6c93f3ca6b95fa5e1806fc29295d3bc8ada979f9#l4720 

      Entered debugger on first-chance exception (Exception Code: 0xc0000420) (Assertion Failure)
      kdb:> bt
      Eip:
      <fastfat.sys:65b4 (sdk/include/crt/mingw32/intrin_x86.h:1692 (FatExamineFatEntries))>
      Frames:
      <fastfat.sys:76bd (drivers/filesystems/fastfat/allocsup.c:1951 (FatAllocateDiskSpace))>
      <fastfat.sys:3057f (drivers/filesystems/fastfat/fsctrl.c:6139 (FatMoveFile))>
      <fastfat.sys:31508 (drivers/filesystems/fastfat/fsctrl.c:2900 (FatUserFsCtrl))>
      <fastfat.sys:33a35 (drivers/filesystems/fastfat/fsctrl.c:799 (FatCommonFileSystemControl))>
      <fastfat.sys:33bec (drivers/filesystems/fastfat/fsctrl.c:720 (FatFsdFileSystemControl))>
      <ntoskrnl.exe:7723d (ntoskrnl/io/iomgr/irp.c:1286 (IofCallDriver))>
      <ntoskrnl.exe:6d03f (sdk/include/crt/mingw32/intrin_x86.h:716 (IopPerformSynchronousRequest))>
      <ntoskrnl.exe:6dd9b (ntoskrnl/io/iomgr/iofunc.c:641 (IopDeviceFsIoControl))>
      <ntoskrnl.exe:6f2d9 (ntoskrnl/io/iomgr/iofunc.c:1472 (NtFsControlFile))>
      <ntoskrnl.exe:3fe5 (:0 (KiSystemCallTrampoline))>
      <ntoskrnl.exe:15fc97 (ntoskrnl/ke/i386/traphdlr.c:1840 (KiSystemServiceHandler))>
      <ntoskrnl.exe:3e2f (:0 (KiFastCallEntry))>
      <ntdll.dll:10181>
      <00000001>
      Couldn't access memory at 0x00000047!
      

      and cont fails :

      kdb:> cont
      Assertion failed at /srv/buildbot/worker_data/Build_GCCLin_x86/build/drivers/filesystems/fastfat/allocsup.c(2067): PreviousClear - ClusterCount == Window->ClustersFree

      Attachments

        1. image-2022-10-26-14-32-24-377.png
          28 kB
          KRosUser
        2. ReactOS.log
          74 kB
          KRosUser

        Activity

          People

            Unassigned Unassigned
            KRosUser KRosUser
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: