Closed Bug 1430524 Opened 8 years ago Closed 3 years ago

OS.File.writeAtomic may fail with "Win error 32 during operation move on file ...\filename.tmp (The process cannot access the file because it is being used by another process. )"

Categories

(Toolkit Graveyard :: OS.File, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: markh, Unassigned)

Details

In bug 1428183 we see evidence of this error when used by Firefox Accounts. Presumably the error happens when OS.File tries to move the .tmp file to the actual filename. We've no real insights into how often users hit this, but I suspect the answer is a vague "somewhat rarely, but often enough to care". My money is on either anti-virus or the builtin Windows search service. A typical, but unsatisfying solution is often to sleep and retry.

Mass closure: OSFIle is being replaced with IOUtils and PathUtils. If you think this bug was closed in error, please re-open.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
Product: Toolkit → Toolkit Graveyard
You need to log in before you can comment on or make changes to this bug.