Closed
Bug 873623
Opened 12 years ago
Closed 12 years ago
Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread() (nsDOMMemoryFileDataOwnerMemoryReporter not thread-safe)
Categories
(Core Graveyard :: File Handling, defect)
Core Graveyard
File Handling
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 832609
People
(Reporter: Yoric, Unassigned)
Details
Attachments
(2 files)
|
10.79 KB,
patch
|
Details | Diff | Splinter Review | |
|
7.60 KB,
text/plain
|
Details |
While working on bug 872421, I intermittently encounter the following error during shutdown:
Assertion failure: _mOwningThread.GetThread() == PR_GetCurrentThread() (nsDOMMemoryFileDataOwnerMemoryReporter not thread-safe), at /Users/david/Documents/Code/mc-osfile/content/base/src/nsDOMFile.cpp:705
I will try and produce a simple test case.
Updated•12 years ago
|
Component: Networking → DOM
| Reporter | ||
Updated•12 years ago
|
Component: DOM → File Handling
| Reporter | ||
Comment 1•12 years ago
|
||
Attaching a sample that intermittently causes the assertion failure.
I haven't minimized it yet.
| Reporter | ||
Comment 2•12 years ago
|
||
| Reporter | ||
Comment 3•12 years ago
|
||
Justin, do you have any idea of what happens?
Flags: needinfo?(justin.lebar+bug)
Comment 4•12 years ago
|
||
(In reply to David Rajchenbach Teller [:Yoric] from comment #3)
> Justin, do you have any idea of what happens?
I bet we're calling nsDOMMemoryFile::DataOwner::EnsureMemoryReporterRegistered off the main thread. Probably because of a worker.
This means that we're manipulating a linked list off the main thread in the DataOwner constructor, which is also bad.
I could have sworn we saw and fixed this bug, but I can't find it now.
Flags: needinfo?(justin.lebar+bug)
Comment 5•12 years ago
|
||
Thanks a lot for filing this; bug 832609 fell off the radar.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
| Assignee | ||
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•