Closed Bug 1153563 Opened 11 years ago Closed 10 years ago

~CacheFile() releases main thread objects off the main thread

Categories

(Core :: Networking: Cache, defect)

defect
Not set
critical

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox40 --- affected

People

(Reporter: mccr8, Unassigned)

References

Details

(Keywords: crash, sec-moderate)

Crash Data

I found this crash stack: https://crash-stats.mozilla.com/report/index/59cdac00-5ddc-47e0-bf0b-b65732150406 Maybe something is left in mObjsToRelease?
Keywords: sec-moderate
(In reply to Andrew McCreight [:mccr8] from comment #0) > I found this crash stack: > https://crash-stats.mozilla.com/report/index/59cdac00-5ddc-47e0-bf0b- > b65732150406 > > Maybe something is left in mObjsToRelease? 0 xul.dll NS_CycleCollectorSuspect3 xpcom/base/nsCycleCollector.cpp 1 xul.dll nsXMLElement::Release() dom/xml/nsXMLElement.cpp 2 xul.dll nsRefPtr<mozilla::dom::RecordErrorEvent>::~nsRefPtr<mozilla::dom::RecordErrorEvent>() xpcom/base/nsRefPtr.h 3 xul.dll mozilla::net::CacheFile::~CacheFile() netwerk/cache2/CacheFile.cpp 4 xul.dll mozilla::net::CacheFile::`scalar deleting destructor'(unsigned int) 5 xul.dll mozilla::net::CacheFile::Release() netwerk/cache2/CacheFile.cpp 6 xul.dll nsRefPtr<mozilla::net::CacheFile>::~nsRefPtr<mozilla::net::CacheFile>() xpcom/base/nsRefPtr.h 7 xul.dll mozilla::net::CacheEntry::~CacheEntry() netwerk/cache2/CacheEntry.cpp 8 xul.dll mozilla::net::CacheEntry::`scalar deleting destructor'(unsigned int) 9 xul.dll mozilla::net::CacheStorageService::MemoryPool::PurgeByFrecency(bool&, unsigned int) netwerk/cache2/CacheStorageService.cpp
Severity: normal → critical
Keywords: crash
Group: core-security → network-core-security
Flags: needinfo?(michal.novotny)
The call stack doesn't make any sense. CacheFile doesn't hold reference to anything in dom.
Flags: needinfo?(michal.novotny)
I'll just mark this incomplete for now. I don't think I've seen this frequently.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Group: network-core-security
You need to log in before you can comment on or make changes to this bug.