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

Copying folder from NTFS-formatted USB stick never finishes (regression)

    XMLWordPrintable

    Details

    • Module:
    • Guilty Revision:
      71,060

      Description

      I have an NTFS-formatted USB stick and formerly, copying files and folders off of it in ReactOS worked just fine. With current builds of ReactOS however, when I copy a folder with many files (for testing I'm using a game folder with 94 files, 4.3MB total) from the USB drive onto the hard drive, it copies some of the files and then stops making any progress, with the progress bar partyway through and the file copy animation still running.

      I bisected and it works in r71059 and stops working in r71060 "[NTFS] Fix invalid read for data shared over two sectors Patch by Trevor Thompson" which suggests it is actually an NTFS-related issue rather than USB.

      I need to do some more testing to narrow down exactly what conditions trigger it but it seems to happen with multiple different USB sticks.

      I have attached a debug log produced with a build of r72030 with NDEBUG undefined in ntfs/attrib.c, mft.c, and rw.c as suggested by CoderTrevor. The USB drive was connected to a VirtualBox VM using the USB passthrough but I have also reproduced the issue on real hardware.

        Attachments

          Activity

            People

            • Assignee:
              Heis Spiter Pierre Schweitzer
              Reporter:
              DopefishJustin DopefishJustin
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: