Closed
Bug 809964
Opened 13 years ago
Closed 13 years ago
Assertion failure: count.numLocks >= count.numHidden, at /home/mikeh/dev/mozilla/btg014/gecko/hal/HalWakeLock.cpp:118
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 809671
People
(Reporter: mikeh, Unassigned)
Details
Observed on Otoro builds: during start-up, logcat shows:
F/MOZ_Assert( 106): Assertion failure: count.numLocks >= count.numHidden, at /home/mikeh/dev/mozilla/btg014/gecko/hal/HalWakeLock.cpp:118
F/libc ( 106): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
This is because in DEBUG builds, the assertion failure (intentionally) throws a SIGSEGV to cause a process abort.
http://mxr.mozilla.org/mozilla-central/source/mfbt/Assertions.h#239
| Reporter | ||
Comment 1•13 years ago
|
||
bt
#0 0x41513324 in mozilla::hal_impl::ModifyWakeLock (aTopic=..., aLockAdjust=mozilla::hal::WAKE_LOCK_NO_CHANGE, aHiddenAdjust=mozilla::hal::WAKE_LOCK_ADD_ONE) at /home/mikeh/dev/mozilla/btg014/gecko/hal/HalWakeLock.cpp:118
#1 0x4150f3c6 in mozilla::hal::ModifyWakeLock (aTopic=..., aLockAdjust=mozilla::hal::WAKE_LOCK_NO_CHANGE, aHiddenAdjust=mozilla::hal::WAKE_LOCK_ADD_ONE) at /home/mikeh/dev/mozilla/btg014/gecko/hal/Hal.cpp:656
#2 0x40e25794 in mozilla::dom::power::WakeLock::HandleEvent (this=0x43144430, aEvent=<value optimized out>) at /home/mikeh/dev/mozilla/btg014/gecko/dom/power/WakeLock.cpp:183
#3 0x40c6ce06 in nsEventListenerManager::HandleEventSubType (this=<value optimized out>, aListenerStruct=<value optimized out>, aListener=0x43144434, aDOMEvent=0x44565670, aCurrentTarget=0x47221000, aPhaseFlags=516,
aPusher=0xbefc9560) at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventListenerManager.cpp:882
#4 0x40c6cf9c in nsEventListenerManager::HandleEventInternal (this=0x47235a60, aPresContext=<value optimized out>, aEvent=0x46ef8580, aDOMEvent=0xbefc9550, aCurrentTarget=0x47221000, aFlags=516, aEventStatus=0xbefc9554,
aPusher=0xbefc9560) at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventListenerManager.cpp:955
#5 0x40c85294 in nsEventListenerManager::HandleEvent (this=<value optimized out>, aVisitor=..., aFlags=516, aMayHaveNewListenerManagers=<value optimized out>, aPusher=0xbefc9560)
at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventListenerManager.h:153
#6 nsEventTargetChainItem::HandleEvent (this=<value optimized out>, aVisitor=..., aFlags=516, aMayHaveNewListenerManagers=<value optimized out>, aPusher=0xbefc9560)
at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventDispatcher.cpp:184
#7 0x40c853b8 in nsEventTargetChainItem::HandleEventTargetChain (this=<value optimized out>, aVisitor=..., aFlags=518, aCallback=0x0, aMayHaveNewListenerManagers=false, aPusher=0xbefc9560)
at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventDispatcher.cpp:286
#8 0x40c8551a in nsEventTargetChainItem::HandleEventTargetChain (this=<value optimized out>, aVisitor=..., aFlags=6, aCallback=0x0, aMayHaveNewListenerManagers=false, aPusher=0xbefc9560)
at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventDispatcher.cpp:371
#9 0x40c85e44 in nsEventDispatcher::Dispatch (aTarget=<value optimized out>, aPresContext=0x4434f800, aEvent=0x46ef8580, aDOMEvent=0x44565670, aEventStatus=0xbefc95e8, aCallback=0x0, aTargets=0x0)
at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventDispatcher.cpp:634
#10 0x40c8608a in nsEventDispatcher::DispatchDOMEvent (aTarget=0x46ea4800, aEvent=0x46ef8580, aDOMEvent=0x44565670, aPresContext=0x4434f800, aEventStatus=0xbefc95e8)
at /home/mikeh/dev/mozilla/btg014/gecko/content/events/src/nsEventDispatcher.cpp:694
#11 0x40be75ae in nsINode::DispatchEvent (this=0x46ea4800, aEvent=0x44565670, aRetVal=0xbefc963f) at /home/mikeh/dev/mozilla/btg014/gecko/content/base/src/nsINode.cpp:1086
#12 0x40b8f334 in nsContentUtils::DispatchEvent (aDoc=<value optimized out>, aTarget=<value optimized out>, aEventName=<value optimized out>, aCanBubble=<value optimized out>, aCancelable=false, aTrusted=true,
aDefaultAction=0xbefc963f) at /home/mikeh/dev/mozilla/btg014/gecko/content/base/src/nsContentUtils.cpp:3527
#13 0x40b8f396 in nsContentUtils::DispatchTrustedEvent (aDoc=0x83, aTarget=0xbefc8e20, aEventName=..., aCanBubble=false, aCancelable=<value optimized out>, aDefaultAction=0x0)
at /home/mikeh/dev/mozilla/btg014/gecko/content/base/src/nsContentUtils.cpp:3498
#14 0x40bb6ac4 in nsDocument::UpdateVisibilityState (this=<value optimized out>) at /home/mikeh/dev/mozilla/btg014/gecko/content/base/src/nsDocument.cpp:9490
#15 0x40859512 in nsRunnableMethodImpl<void (nsPACMan::*)(), true>::Run (this=<value optimized out>) at ../../../dist/include/nsThreadUtils.h:350
#16 0x415b8986 in nsThread::ProcessNextEvent (this=0x404081d0, mayWait=<value optimized out>, result=0xbefc971f) at /home/mikeh/dev/mozilla/btg014/gecko/xpcom/threads/nsThread.cpp:627
#17 0x415807e4 in NS_ProcessNextEvent_P (thread=0x83, mayWait=false) at /home/mikeh/dev/mozilla/btg014/objdir-gecko-debug/xpcom/build/nsThreadUtils.cpp:221
#18 0x413fb636 in mozilla::ipc::MessagePump::Run (this=0x40403430, aDelegate=0x404260c0) at /home/mikeh/dev/mozilla/btg014/gecko/ipc/glue/MessagePump.cpp:82
#19 0x415eddaa in MessageLoop::RunInternal (this=0x404260c0) at /home/mikeh/dev/mozilla/btg014/gecko/ipc/chromium/src/base/message_loop.cc:215
#20 0x415ede0a in MessageLoop::RunHandler (this=0x404260c0) at /home/mikeh/dev/mozilla/btg014/gecko/ipc/chromium/src/base/message_loop.cc:208
#21 MessageLoop::Run (this=0x404260c0) at /home/mikeh/dev/mozilla/btg014/gecko/ipc/chromium/src/base/message_loop.cc:182
#22 0x4133a436 in nsBaseAppShell::Run (this=0x43166700) at /home/mikeh/dev/mozilla/btg014/gecko/widget/xpwidgets/nsBaseAppShell.cpp:163
#23 0x411e4c3e in nsAppStartup::Run (this=0x43167100) at /home/mikeh/dev/mozilla/btg014/gecko/toolkit/components/startup/nsAppStartup.cpp:290
#24 0x408291a8 in XREMain::XRE_mainRun (this=0xbefc99b4) at /home/mikeh/dev/mozilla/btg014/gecko/toolkit/xre/nsAppRunner.cpp:3822
#25 0x4082bdc6 in XREMain::XRE_main (this=0xbefc99b4, argc=<value optimized out>, argv=0xbefcbbb4, aAppData=<value optimized out>) at /home/mikeh/dev/mozilla/btg014/gecko/toolkit/xre/nsAppRunner.cpp:3889
#26 0x4082bf86 in XRE_main (argc=1, argv=0xbefcbbb4, aAppData=0xb1e0, aFlags=<value optimized out>) at /home/mikeh/dev/mozilla/btg014/gecko/toolkit/xre/nsAppRunner.cpp:4083
#27 0x00008b24 in do_main (argc=1, argv=0xbefcbbb4) at /home/mikeh/dev/mozilla/btg014/gecko/b2g/app/nsBrowserApp.cpp:154
#28 main (argc=1, argv=0xbefcbbb4) at /home/mikeh/dev/mozilla/btg014/gecko/b2g/app/nsBrowserApp.cpp:239
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•