Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-3574

Subversion can cause ERROR_FILE_CORRUPT error on Windows 7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • all
    • ---
    • libsvn_subr
    • None

    Description

      On Windows 7 RTM, moving a file over an existing file can cause a
      ERROR_FILE_CORRUPT "The file or directory is corrupted and unreadable." error 
      where older Windows version used to give an access denied error.
      
      This error is indirectly caused by using specific other applications
      at the same time. Most likely
      * Windows Search (indexer)
      * Virus scanners.
      
      After this issue is triggered you get an error popup on your start bar 
      indicating that a disk corruption was detected and that you should check
      your disk for further errors.
      
      Last but not least Windows schedules a full "CHKDSK /F" for the next reboot.
      (Luckily it never finds errors after experiencing just this issue)
      
      
      This is NOT a Subversion issue, but an issue in Windows 7. We can't work around 
      this issue inside subversion as we can never resolve the side effects mentioned 
      above. 
      (And handling catastrophic disk failures as 'access denied' will make you loose 
      more data if there is really something with your disk)
      
      In all user cases reported on the AnkhSVN support list, running svn cleanup 
      fixed everything. (No data was lost).
      
      [This issue was added as a marker issue to identify status updates]
      

      http://tinyurl.com/w7corrupt

      Attachments

        Activity

          People

            rhuijben Bert Huijben
            rhuijben Bert Huijben
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: