Closed
Bug 1192782
Opened 11 years ago
Closed 10 years ago
Do double-lock check on CacheStorageService::mLock
Categories
(Core :: Networking: Cache, defect)
Core
Networking: Cache
Tracking
()
RESOLVED
WONTFIX
| Tracking | Status | |
|---|---|---|
| firefox43 | --- | affected |
People
(Reporter: mayhemer, Assigned: mayhemer)
Details
(Whiteboard: [necko-backlog])
Sometimes this lock deadlocks on its own. Probably double locking issue under some circumstances.
Best to use nsSocketTransportService2.cpp!DebugMutexAutoLock (moved to a more general place) on CacheStorageService::mLock.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → honzab.moz
Status: NEW → ASSIGNED
Note that, because of the way DebugMutexAutoLock works (storing a static member variable that keeps track of the owning thread), you actually can't use the same code unless you templatize it (maybe - I'm not sure how templates + static members interact; also... ugh!). It's probably best to just copy/paste for readability. Removing the static member isn't an option, since it absolutely needs to be shared across instances.
Updated•10 years ago
|
Whiteboard: [necko-backlog]
| Assignee | ||
Comment 2•10 years ago
|
||
Haven't heard about any single thread deadlocks, we probably don't need this.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•