Ticket #394 (closed defect: fixed)
Crash when deleting open file
| Reported by: | Joel | Owned by: | Joel |
|---|---|---|---|
| Priority: | critical | Milestone: | Eraser 6.0.9 |
| Component: | Core | Version: | 6.0.8.2273 |
| Keywords: | Cc: | ||
| Processor Architecture: | Blocked By: | ||
| Blocking: | Operating System: | Windows 7 |
Description
As reported by mr.flot, erasing a PDF which is open will cause Eraser to crash.
Blocking
| Id | Summary | Milestone |
|---|---|---|
| #394 | └ Crash when deleting open file | Eraser 6.0.9 |
Blocked by
| Id | Summary | Milestone |
|---|---|---|
| #394 | └ Crash when deleting open file | Eraser 6.0.9 |
Change History
comment:2 Changed 20 months ago by Joel
There has been a change to DuplicateHandle that would prevent Eraser from successfully unlocking a file. A fix was implemented in r2332-r2333.
comment:3 Changed 20 months ago by Joel
r2335-r2337 adds extra code to unlock files which allow ADS enumeration but not deletion. The same bug is fixed in Eraser 6.0 in r2338.
comment:4 Changed 20 months ago by Joel
A separate thread suggests that the unlock code does not work for some users. If you are experiencing a similar problem, provide the following information:
- Version and architecture of Windows (e.g. Windows 7 Professional x64)
- Anti-virus applications running.
- TrueCrypt or other file-system level drivers installed?
Note: See
TracTickets for help on using
tickets.

I can't get Eraser to crash with this. I tried to erase both an open Word and PDF document: while the file could not be unlocked, Eraser did not crash.