Closed Bug 865063 Opened 12 years ago Closed 7 years ago

b2g desktop shutdown crash in mozilla::BlockingResourceBase::CheckAcquire

Categories

(Core :: Storage: IndexedDB, defect, P5)

x86
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: gwagner, Unassigned)

Details

(Keywords: crash, Whiteboard: [b2g-crash])

Crash Data

during shutdown with mc gecko and v1train gaia: ###!!! ASSERTION: Must have a manager here!: 'mgr', file ../../../dist/include/mozilla/dom/indexedDB/IndexedDatabaseManager.h, line 90 Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000050 mozilla::BlockingResourceBase::CheckAcquire (this=0x48, aCallContext=@0x7fff5fbf6870) at BlockingResourceBase.cpp:97 97 if (eCondVar == mDDEntry->mType) { (gdb) bt #0 mozilla::BlockingResourceBase::CheckAcquire (this=0x48, aCallContext=@0x7fff5fbf6870) at BlockingResourceBase.cpp:97 #1 0x0000000103e7bdda in mozilla::Mutex::Lock (this=0x48) at BlockingResourceBase.cpp:227 #2 0x000000010161922d in mozilla::BaseAutoLock<mozilla::Mutex>::BaseAutoLock (this=0x7fff5fbf6948, aLock=@0x48, _notifier=@0x7fff5fbf6940) at Mutex.h:153 #3 0x00000001016183d5 in mozilla::BaseAutoLock<mozilla::Mutex>::BaseAutoLock (this=0x7fff5fbf6948, aLock=@0x48, _notifier=@0x7fff5fbf6940) at Mutex.h:154 #4 0x00000001029b5644 in mozilla::dom::indexedDB::FileInfo::UpdateReferences (this=0x11f1c2280, aRefCount=@0x11f1c2288, aDelta=-1, aClear=false) at /Volumes/mac/code/src/dom/indexedDB/FileInfo.cpp:77 #5 0x0000000102008475 in mozilla::dom::indexedDB::FileInfo::Release (this=0x11f1c2280) at FileInfo.h:59 #6 0x00000001020083bd in nsRefPtr<mozilla::dom::indexedDB::FileInfo>::~nsRefPtr (this=0x11f34fd48) at nsAutoPtr.h:880 #7 0x0000000102008385 in nsRefPtr<mozilla::dom::indexedDB::FileInfo>::~nsRefPtr (this=0x11f34fd48) at nsAutoPtr.h:878 #8 0x0000000102008365 in nsTArrayElementTraits<nsRefPtr<mozilla::dom::indexedDB::FileInfo> >::Destruct (e=0x11f34fd48) at nsTArray.h:526 #9 0x0000000102008302 in nsTArray_Impl<nsRefPtr<mozilla::dom::indexedDB::FileInfo>, nsTArrayInfallibleAllocator>::DestructRange (this=0x11f07bf58, start=0, count=1) at nsTArray.h:1393 #10 0x0000000102008285 in nsTArray_Impl<nsRefPtr<mozilla::dom::indexedDB::FileInfo>, nsTArrayInfallibleAllocator>::RemoveElementsAt (this=0x11f07bf58, start=0, count=1) at nsTArray.h:1110 #11 0x000000010200810f in nsTArray_Impl<nsRefPtr<mozilla::dom::indexedDB::FileInfo>, nsTArrayInfallibleAllocator>::Clear (this=0x11f07bf58) at nsTArray.h:1121 #12 0x00000001020080c9 in nsTArray_Impl<nsRefPtr<mozilla::dom::indexedDB::FileInfo>, nsTArrayInfallibleAllocator>::~nsTArray_Impl (this=0x11f07bf58) at nsTArray.h:606 #13 0x00000001020080a5 in nsTArray<nsRefPtr<mozilla::dom::indexedDB::FileInfo> >::~nsTArray (this=0x11f07bf58) at nsTArray.h:1466 #14 0x0000000102008085 in nsTArray<nsRefPtr<mozilla::dom::indexedDB::FileInfo> >::~nsTArray (this=0x11f07bf58) at nsTArray.h:1466 #15 0x0000000102008041 in nsDOMFileBase::~nsDOMFileBase (this=0x11f07bf00) at nsDOMFile.h:117 #16 0x0000000102007fe5 in nsDOMFile::~nsDOMFile (this=0x11f07bf00) at nsDOMFile.h:158 #17 0x0000000102010b7d in nsDOMFileFile::~nsDOMFileFile (this=0x11f07bf00) at nsDOMFile.h:203 #18 0x000000010200f625 in nsDOMFileFile::~nsDOMFileFile (this=0x11f07bf00) at nsDOMFile.h:203 #19 0x000000010200f649 in nsDOMFileFile::~nsDOMFileFile (this=0x11f07bf00) at nsDOMFile.h:203 #20 0x000000010200c8f8 in nsDOMFile::Release (this=0x11f07bf00) at /Volumes/mac/code/src/content/base/src/nsDOMFile.cpp:451 #21 0x0000000102f2605b in DoDeferredRelease<nsISupports *> (array=@0x10051caf8) at /Volumes/mac/code/src/js/xpconnect/src/XPCJSRuntime.cpp:614 #22 0x0000000102f25ef2 in XPCJSRuntime::GCCallback (rt=0x10cc23000, status=JSGC_END) at /Volumes/mac/code/src/js/xpconnect/src/XPCJSRuntime.cpp:814 #23 0x0000000104e01983 in Collect (rt=0x10cc23000, incremental=false, budget=0, gckind=js::GC_NORMAL, reason=JS::gcreason::SHUTDOWN_CC) at /Volumes/mac/code/src/js/src/jsgc.cpp:4611 #24 0x0000000104dfe35c in js::GC (rt=0x10cc23000, gckind=js::GC_NORMAL, reason=JS::gcreason::SHUTDOWN_CC) at /Volumes/mac/code/src/js/src/jsgc.cpp:4628 #25 0x0000000104de6d32 in JS::GCForReason (rt=0x10cc23000, reason=JS::gcreason::SHUTDOWN_CC) at /Volumes/mac/code/src/js/src/jsfriendapi.cpp:180 #26 0x0000000102ecb0b6 in nsXPConnect::Collect (this=0x10054cc80, reason=51) at /Volumes/mac/code/src/js/xpconnect/src/nsXPConnect.cpp:315 #27 0x0000000102ecb0e2 in non-virtual thunk to nsXPConnect::Collect(unsigned int) () at /Volumes/mac/code/src/js/xpconnect/src/nsXPConnect.cpp:316 #28 0x0000000103f320bf in nsCycleCollector::FixGrayBits (this=0x1005e0000, aForceGC=true) at /Volumes/mac/code/src/xpcom/base/nsCycleCollector.cpp:2622 #29 0x0000000103f35224 in nsCycleCollector::MainThreadCollect (this=0x1005e0000, aMergeZones=false, aResults=0x0, aTryCollections=5, aListener=0x0) at /Volumes/mac/code/src/xpcom/base/nsCycleCollector.cpp:2708 #30 0x0000000103f35432 in nsCycleCollector::Shutdown (this=0x1005e0000) at /Volumes/mac/code/src/xpcom/base/nsCycleCollector.cpp:2825 #31 0x0000000103f35ca0 in nsCycleCollector_shutdown () at /Volumes/mac/code/src/xpcom/base/nsCycleCollector.cpp:3041 #32 0x0000000103e86942 in mozilla::ShutdownXPCOM (servMgr=0x0) at /Volumes/mac/code/src/xpcom/build/nsXPComInit.cpp:646 #33 0x0000000103e864f5 in NS_ShutdownXPCOM (servMgr=0x100594338) at /Volumes/mac/code/src/xpcom/build/nsXPComInit.cpp:535 #34 0x00000001015360bb in ScopedXPCOMStartup::~ScopedXPCOMStartup (this=0x10050d3a0) at /Volumes/mac/code/src/toolkit/xre/nsAppRunner.cpp:1119 #35 0x0000000101535fd5 in ScopedXPCOMStartup::~ScopedXPCOMStartup (this=0x10050d3a0) at /Volumes/mac/code/src/toolkit/xre/nsAppRunner.cpp:1100 #36 0x000000010153f11a in XREMain::XRE_main (this=0x7fff5fbfef68, argc=3, argv=0x7fff5fbffb58, aAppData=0x1000081c0) at /Volumes/mac/code/src/toolkit/xre/nsAppRunner.cpp:3970 #37 0x000000010153f50f in XRE_main (argc=3, argv=0x7fff5fbffb58, aAppData=0x1000081c0, aFlags=0) at /Volumes/mac/code/src/toolkit/xre/nsAppRunner.cpp:4146 #38 0x000000010000176e in do_main (argc=3, argv=0x7fff5fbffb58) at /Volumes/mac/code/src/b2g/app/nsBrowserApp.cpp:168 #39 0x00000001000011c3 in main (argc=3, argv=0x7fff5fbffb58) at /Volumes/mac/code/src/b2g/app/nsBrowserApp.cpp:261
Crash Signature: [@ mozilla::BlockingResourceBase::CheckAcquire]
Keywords: crash
Whiteboard: [b2g-crash]
Priority: -- → P5
Mass closing as we are no longer working on b2g/firefox os.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Mass closing as we are no longer working on b2g/firefox os.
You need to log in before you can comment on or make changes to this bug.