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

Total Commander Copying a File and Deleting it Multiple Times Causes File Corruption

    XMLWordPrintable

Details

    • 0.4.15-dev-xxx (either some MemoryManager or FastFat commit)

    Description

      While testing https://jira.reactos.org/browse/CORE-17624 I found another issue.

      Reproduction steps:

       1) Create a VM using VBox or VMware with 512 MB of RAM.
       2) Choose a virtual HDD with at least 30 GB (you may need this much).
       3) Install ReactOS into the VM using 0.4.15-dev-6679-g945ee4b with FAT32.
       4) Open RAPPS and select and install Total Commander Version 9.12.
       5) Redirect the CD drive to an ISO file having the file of over 500 MB.
       6) Open Total Commander and in the right hand window select the the CD drive with the 500 MB file.
       7) Drag and Drop the large file from the CD drive into the C:\ directory in the left window.
       8) Confirm the copy with the "OK" button.
       9) Now use the mouse to select the new file in the left window and hit the DELETE key.
      10) Confirm the DELETE with the "Yes" button in Total Commander.
      11) Repeat this procedure 10 times. This is normally enough, but you may need to repeat more.
      12) Shutdown the VM and then re-open it.

      Expected results: Boots to desktop normally.
      Actual results: Shows some icons on the desktop, but not the Recycle Bin.
                      Now an assert on ntoskrnl/io/iomgr/error.c, line 716 occurs.
                      Booting can continue after entering "O" for once and "cont".

      Debug Log: tc-copy-15-6679-01.txt

      Results Screen:

      Attachments

        1. 15-1709-after-copy.png
          136 kB
          DougLyons
        2. 15-1709-after-reboot.png
          109 kB
          DougLyons
        3. Boot-fail-file-corrupt.png
          59 kB
          DougLyons
        4. Boot-fail-file-corrupt-02.png
          84 kB
          DougLyons
        5. tc-copy-15-6679-01.txt
          286 kB
          DougLyons
        6. tc-file-corrupt-fix-15-6679.txt
          0.9 kB
          DougLyons

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: