Crash occurs if a RV temp archive cannot be deleted

RV 3.5.2

File Access
j

johnsanc

2 years ago

If a RV temp file is encountered during a scan, RV will try to delete it. A crash will occur if the temp archive is open by another process.


Steps to reproduce:

  1. Perform a fix that will have RomVault create a large zip archive, for example a compressed DVD-sized ISO

  2. While RomVault is compressing the archive, force the application to close using the task manager

  3. Open the temporary archive in another application so that the file is locked

  4. Test that the file is properly locked by trying to delete the temp archive with explorer

  5. After you confirm the file is locked, start RomVault back up

  6. Scan the directory where the temp archive resides

  7. When the scan reaches the archive, RV will attempt to delete the temp file and crash


Expected behavior:

  • RomVault should present the user with a halting error notifying that the temporary file could not be deleted, OR

  • RomVault should flag the file as locked and proceed with the rest of the scan.


(screenshot)

Activity

j

johnsanc changed the status to Cannot Reproduce

2 years ago

j

johnsanc changed the status to Reproducible

2 years ago

G

GordonJ changed the status to WIP Testing

2 years ago

G

GordonJ

2 years ago

Addressed in 3.5.1 WIP1

G

GordonJ changed the status to RV 3.5.2

2 years ago


Powered by Convas