Closed
Bug 880468
Opened 12 years ago
Closed 12 years ago
MOZ_Assert: Assertion failure: aHiddenAdjust >= 0 || processCount.numHidden > 0, at hal/HalWakeLock.cpp:230
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(b2g18? affected)
RESOLVED
DUPLICATE
of bug 809671
People
(Reporter: mikeh, Unassigned)
Details
Observed on Unagi DEBUG build:
- gecko: b2g18:82f1dfb84097
- gaia: v1-train:b5937ae0d91682e5d5fc89591765813fff72c8dc
STR:
0. BRANCH=v1-train ./config.sh unagi && B2G_DEBUG=1 ./build.sh && ./flash.sh
1. open the Camera app
2. press the Home button to return to the homescreen
3. press the Camera app icon again to return to the Camera app
Expected results: return to the Camera app, viewfinder active
Observed: b2g parent process crashes, restarts
logcat shows:
06-06 17:52:57.703 523 523 F MOZ_Assert: Assertion failure: aHiddenAdjust >= 0 || processCount.numHidden > 0, at /home/mikeh/dev/mozilla/m-c/b2g18/hal/HalWakeLock.cpp:230
06-06 17:52:57.703 523 523 F libc : Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1)
Reporter | ||
Updated•12 years ago
|
Summary: MOZ_Assert: Assertion failure: aHiddenAdjust >= 0 || processCount.numHidden > 0, at /home/mikeh/dev/mozilla/m-c/b2g18/hal/HalWakeLock.cpp:230 → MOZ_Assert: Assertion failure: aHiddenAdjust >= 0 || processCount.numHidden > 0, at hal/HalWakeLock.cpp:230
Reporter | ||
Comment 1•12 years ago
|
||
gdb backtrace of parent process:
Program received signal SIGSEGV, Segmentation fault.
0x4194d9ea in mozilla::hal_impl::ModifyWakeLock (aTopic=..., aLockAdjust=mozilla::hal::WAKE_LOCK_NO_CHANGE, aHiddenAdjust=mozilla::hal::WAKE_LOCK_REMOVE_ONE, aProcessID=<value optimized out>) at /home/mikeh/dev/mozilla/m-c/b2g18/hal/HalWakeLock.cpp:232
232 MOZ_ASSERT(aLockAdjust >= 0 || totalCount.numLocks > 0);
(gdb) bt
#0 0x4194d9ea in mozilla::hal_impl::ModifyWakeLock (aTopic=..., aLockAdjust=mozilla::hal::WAKE_LOCK_NO_CHANGE, aHiddenAdjust=mozilla::hal::WAKE_LOCK_REMOVE_ONE, aProcessID=<value optimized out>) at /home/mikeh/dev/mozilla/m-c/b2g18/hal/HalWakeLock.cpp:232
#1 0x41948a36 in mozilla::hal::ModifyWakeLock (aTopic=..., aLockAdjust=mozilla::hal::WAKE_LOCK_NO_CHANGE, aHiddenAdjust=mozilla::hal::WAKE_LOCK_REMOVE_ONE, aProcessID=3) at /home/mikeh/dev/mozilla/m-c/b2g18/hal/Hal.cpp:651
#2 0x4194adc6 in mozilla::hal_sandbox::HalParent::RecvModifyWakeLock (this=<value optimized out>, aTopic=<value optimized out>, aLockAdjust=<value optimized out>, aHiddenAdjust=@0x7b, aProcessID=@0xbe8ea6c8)
at /home/mikeh/dev/mozilla/m-c/b2g18/hal/sandbox/SandboxHal.cpp:733
#3 0x4188fac8 in mozilla::hal_sandbox::PHalParent::OnMessageReceived (this=0x48380740, __msg=<value optimized out>) at /home/mikeh/dev/mozilla/btg025/objdir-gecko-b2g18-debug/ipc/ipdl/PHalParent.cpp:709
#4 0x41869e1c in mozilla::dom::PContentParent::OnMessageReceived (this=0x4919bc00, __msg=...) at /home/mikeh/dev/mozilla/btg025/objdir-gecko-b2g18-debug/ipc/ipdl/PContentParent.cpp:1461
#5 0x41817ca0 in mozilla::ipc::AsyncChannel::OnDispatchMessage (this=0x4919bc10, msg=...) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/glue/AsyncChannel.cpp:471
#6 0x4181e518 in mozilla::ipc::RPCChannel::OnMaybeDequeueOne (this=0x4919bc10) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/glue/RPCChannel.cpp:402
#7 0x417e8950 in DispatchToMethod<mozilla::dom::ContentParent, void (mozilla::dom::ContentParent::*)()> (this=<value optimized out>) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/tuple.h:383
#8 RunnableMethod<mozilla::dom::ContentParent, void (mozilla::dom::ContentParent::*)(), Tuple0>::Run (this=<value optimized out>) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/task.h:307
#9 0x4181c95a in mozilla::ipc::RPCChannel::RefCountedTask::Run (this=0x48aa8e00) at ../../dist/include/mozilla/ipc/RPCChannel.h:425
#10 mozilla::ipc::RPCChannel::DequeueTask::Run (this=0x48aa8e00) at ../../dist/include/mozilla/ipc/RPCChannel.h:448
#11 0x41a1bffa in MessageLoop::RunTask (this=0x404e90c0, task=0x48aa8e00) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/message_loop.cc:337
#12 0x41a1c824 in MessageLoop::DeferOrRunPendingTask (this=0x8f, pending_task=<value optimized out>) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/message_loop.cc:345
#13 0x41a1d576 in MessageLoop::DoWork (this=0x404e90c0) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/message_loop.cc:445
#14 0x4181bf78 in mozilla::ipc::DoWorkRunnable::Run (this=<value optimized out>) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/glue/MessagePump.cpp:42
#15 0x419e5e42 in nsThread::ProcessNextEvent (this=0x404c78d0, mayWait=<value optimized out>, result=0xbe8eb6df) at /home/mikeh/dev/mozilla/m-c/b2g18/xpcom/threads/nsThread.cpp:620
#16 0x419ad588 in NS_ProcessNextEvent_P (thread=0x8f, mayWait=false) at /home/mikeh/dev/mozilla/btg025/objdir-gecko-b2g18-debug/xpcom/build/nsThreadUtils.cpp:237
#17 0x4181c12e in mozilla::ipc::MessagePump::Run (this=0x404c5490, aDelegate=0x404e90c0) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/glue/MessagePump.cpp:82
#18 0x41a1c5ae in MessageLoop::RunInternal (this=0x404e90c0) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/message_loop.cc:219
#19 0x41a1c60e in MessageLoop::RunHandler (this=0x404e90c0) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/message_loop.cc:212
#20 MessageLoop::Run (this=0x404e90c0) at /home/mikeh/dev/mozilla/m-c/b2g18/ipc/chromium/src/base/message_loop.cc:186
#21 0x41752cb6 in nsBaseAppShell::Run (this=0x4389d880) at /home/mikeh/dev/mozilla/m-c/b2g18/widget/xpwidgets/nsBaseAppShell.cpp:163
#22 0x4164d4a2 in nsAppStartup::Run (this=0x438bc220) at /home/mikeh/dev/mozilla/m-c/b2g18/toolkit/components/startup/nsAppStartup.cpp:290
#23 0x40c4b666 in XREMain::XRE_mainRun (this=0xbe8eb974) at /home/mikeh/dev/mozilla/m-c/b2g18/toolkit/xre/nsAppRunner.cpp:3794
#24 0x40c4dd4c in XREMain::XRE_main (this=0xbe8eb974, argc=<value optimized out>, argv=0xbe8edb74, aAppData=0x21170) at /home/mikeh/dev/mozilla/m-c/b2g18/toolkit/xre/nsAppRunner.cpp:3860
#25 0x40c4defa in XRE_main (argc=1, argv=0xbe8edb74, aAppData=0x21170, aFlags=<value optimized out>) at /home/mikeh/dev/mozilla/m-c/b2g18/toolkit/xre/nsAppRunner.cpp:3935
#26 0x00009b12 in do_main (argc=1, argv=0xbe8edb74) at /home/mikeh/dev/mozilla/m-c/b2g18/b2g/app/nsBrowserApp.cpp:168
#27 main (argc=1, argv=0xbe8edb74) at /home/mikeh/dev/mozilla/m-c/b2g18/b2g/app/nsBrowserApp.cpp:261
![]() |
||
Comment 3•12 years ago
|
||
Checking...
![]() |
||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Reporter | ||
Comment 6•12 years ago
|
||
Thanks, Kan-Ru!
You need to log in
before you can comment on or make changes to this bug.
Description
•