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:
Perform a fix that will have RomVault create a large zip archive, for example a compressed DVD-sized ISO
While RomVault is compressing the archive, force the application to close using the task manager
Open the temporary archive in another application so that the file is locked
Test that the file is properly locked by trying to delete the temp archive with explorer
After you confirm the file is locked, start RomVault back up
Scan the directory where the temp archive resides
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)
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:
Perform a fix that will have RomVault create a large zip archive, for example a compressed DVD-sized ISO
While RomVault is compressing the archive, force the application to close using the task manager
Open the temporary archive in another application so that the file is locked
Test that the file is properly locked by trying to delete the temp archive with explorer
After you confirm the file is locked, start RomVault back up
Scan the directory where the temp archive resides
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)