Closed
Bug 512994
Opened 16 years ago
Closed 16 years ago
Deleting / recreating the updates/0 directory puts the filesystem into a weird state
Categories
(Toolkit :: Application Update, defect, P1)
Tracking
()
RESOLVED
FIXED
mozilla1.9.2b1
Tracking | Status | |
---|---|---|
status1.9.2 | --- | beta1-fixed |
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file)
1002 bytes,
patch
|
mossop
:
review+
vlad
:
approval1.9.2+
|
Details | Diff | Splinter Review |
I've seen this happen a lot in emulators and also on the Tegra. When the dir is deleted and immediately recreated the dir can't be opened or deleted without restarting the OS.
![]() |
Assignee | |
Comment 1•16 years ago
|
||
There doesn't seem to be a good reason to do this on any platform.
Assignee: nobody → robert.bugzilla
Status: NEW → ASSIGNED
Attachment #397023 -
Flags: review?(dtownsend)
![]() |
Assignee | |
Comment 2•16 years ago
|
||
(In reply to comment #1)
> Created an attachment (id=397023) [details]
> patch rev1
>
> There doesn't seem to be a good reason to do this on any platform.
There doesn't seem to be a good reason NOT to do this on all platforms.
Comment 3•16 years ago
|
||
(In reply to comment #1)
> There doesn't seem to be a good reason to do this on any platform.
Please excuse the hand wavyness, but is the handling of status files, mar's, etc robust enough that we'll be OK without wiping updates/0 frequently ?
![]() |
Assignee | |
Comment 4•16 years ago
|
||
We already enumerate the files in the dir and delete them one by one with the exception of the last update log which was copied (now moved) to the parent dir. If we have trouble deleting them individually we'll have trouble deleting the directory as well.
Updated•16 years ago
|
Attachment #397023 -
Flags: review?(dtownsend) → review+
![]() |
Assignee | |
Comment 5•16 years ago
|
||
Pushed to mozilla-central
http://hg.mozilla.org/mozilla-central/rev/06b5fd4ebee8
along with tests
http://hg.mozilla.org/mozilla-central/rev/10119fe2af2b
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a1
Comment 6•16 years ago
|
||
Unrelated to NT ghosting a deleted directory until all its handles are closed?
![]() |
Assignee | |
Comment 7•16 years ago
|
||
Likely something along those lines. I found that exiting Firefox on the Tegra or exiting Fennec on an emulator didn't fix it and the OS had to be restarted. I talked with dougt about it and filed bug 513051 to try to find the underlying issue.
![]() |
Assignee | |
Updated•16 years ago
|
Attachment #397023 -
Flags: approval1.9.2?
Attachment #397023 -
Flags: approval1.9.2? → approval1.9.2+
![]() |
Assignee | |
Comment 8•16 years ago
|
||
Pushed to mozilla-1.9.2
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/33981af4e914
along with tests
http://hg.mozilla.org/releases/mozilla-1.9.2/rev/d37939b149f0
Updated•16 years ago
|
Keywords: fixed1.9.2
You need to log in
before you can comment on or make changes to this bug.
Description
•