Ticket #394 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years ago

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

IdSummaryMilestone
#394Crash when deleting open fileEraser 6.0.9

Blocked by

IdSummaryMilestone
#394Crash when deleting open fileEraser 6.0.9

Change History

comment:1 Changed 2 years ago by Joel

  • Owner set to Joel
  • Status changed from new to accepted

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.

comment:2 Changed 2 years 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 2 years 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 2 years 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?

comment:5 Changed 2 years ago by Joel

  • Status changed from accepted to closed
  • Resolution set to fixed

Fixed in r2341, pending confirmation that the fix does work. The fix has been included in 6.0.9.

Note: See TracTickets for help on using tickets.