bugzilla.mozilla.org will be intermittently unavailable on Saturday, March 24th, from 16:00 until 20:00 UTC.

MOZ_ASSERT(mService) in ../../../dom/bluetooth/ipc/BluetoothParent.cpp:140



Firefox OS
5 years ago
5 years ago


(Reporter: gwagner, Assigned: shawnjohnjr)


Firefox Tracking Flags

(Not tracked)




5 years ago
On nexus4 when opening the Settings APP:

Program received signal SIGSEGV, Segmentation fault.
0xb4c5a4da in RecvRegisterSignalHandler (this=<optimized out>, aNode=<optimized out>) at ../../../dom/bluetooth/ipc/BluetoothParent.cpp:140
140	  MOZ_ASSERT(mService);
(gdb) bt
#0  0xb4c5a4da in RecvRegisterSignalHandler (this=<optimized out>, aNode=<optimized out>) at ../../../dom/bluetooth/ipc/BluetoothParent.cpp:140
#1  mozilla::dom::bluetooth::BluetoothParent::RecvRegisterSignalHandler (this=0xae86b250, aNode=...) at ../../../dom/bluetooth/ipc/BluetoothParent.cpp:138
#2  0xb4f50950 in mozilla::dom::bluetooth::PBluetoothParent::OnMessageReceived (this=0xae86b250, __msg=...) at PBluetoothParent.cpp:327
#3  0xb4f6f6aa in mozilla::dom::PContentParent::OnMessageReceived (this=0xaea97c00, __msg=...) at PContentParent.cpp:1876
#4  0xb4f27004 in mozilla::ipc::MessageChannel::DispatchAsyncMessage (this=0xaea97c30, aMsg=...) at ../../../ipc/glue/MessageChannel.cpp:970
#5  0xb4f2982c in mozilla::ipc::MessageChannel::OnMaybeDequeueOne (this=0xaea97c30) at ../../../ipc/glue/MessageChannel.cpp:871
#6  0xb49f4266 in DispatchToMethod<WebCore::ReverbConvolver, void (WebCore::ReverbConvolver::*)()> (method=
    (void (WebCore::ReverbConvolver::*)(WebCore::ReverbConvolver * const)) 0xb4f29795 <mozilla::ipc::MessageChannel::OnMaybeDequeueOne()>, obj=<optimized out>, arg=<optimized out>)
    at ../../../../../ipc/chromium/src/base/tuple.h:383
#7  RunnableMethod<WebCore::ReverbConvolver, void (WebCore::ReverbConvolver::*)(), Tuple0>::Run (this=<optimized out>) at ../../../../../ipc/chromium/src/base/task.h:307
#8  0xb4f27468 in Run (this=<optimized out>) at ../../dist/include/mozilla/ipc/MessageChannel.h:440
#9  mozilla::ipc::MessageChannel::DequeueTask::Run (this=<optimized out>) at ../../dist/include/mozilla/ipc/MessageChannel.h:457
#10 0xb5254c50 in MessageLoop::RunTask (this=0xb6a4e1a0, task=0xae97a340) at ../../../ipc/chromium/src/base/message_loop.cc:338
#11 0xb52554ee in MessageLoop::DeferOrRunPendingTask (this=<optimized out>, pending_task=<optimized out>) at ../../../ipc/chromium/src/base/message_loop.cc:346
#12 0xb52565e2 in DoWork (this=<optimized out>) at ../../../ipc/chromium/src/base/message_loop.cc:446
#13 MessageLoop::DoWork (this=0xb6a4e1a0) at ../../../ipc/chromium/src/base/message_loop.cc:425
#14 0xb4f2a740 in mozilla::ipc::DoWorkRunnable::Run (this=<optimized out>) at ../../../ipc/glue/MessagePump.cpp:45
#15 0xb522f2f2 in nsThread::ProcessNextEvent (this=0xb6a02390, mayWait=<optimized out>, result=0xbecf17ff) at ../../../xpcom/threads/nsThread.cpp:622
#16 0xb51fe58a in NS_ProcessNextEvent (thread=0xb6a02390, mayWait=<optimized out>) at ../../../xpcom/glue/nsThreadUtils.cpp:238
#17 0xb4f2ac12 in mozilla::ipc::MessagePump::Run (this=0xb6a01dc0, aDelegate=0xb6a4e1a0) at ../../../ipc/glue/MessagePump.cpp:85
#18 0xb5254d96 in MessageLoop::RunInternal (this=0xb6a4e1a0) at ../../../ipc/chromium/src/base/message_loop.cc:220
#19 0xb5254dae in RunHandler (this=0xb6a4e1a0) at ../../../ipc/chromium/src/base/message_loop.cc:213
#20 MessageLoop::Run (this=0xb6a4e1a0) at ../../../ipc/chromium/src/base/message_loop.cc:187
#21 0xb4eba586 in nsBaseAppShell::Run (this=0xb1f26be0) at ../../../widget/xpwidgets/nsBaseAppShell.cpp:161
#22 0xb4de7738 in nsAppStartup::Run (this=0xb243d880) at ../../../../toolkit/components/startup/nsAppStartup.cpp:268
#23 0xb4486130 in XREMain::XRE_mainRun (this=0xbecf198c) at ../../../toolkit/xre/nsAppRunner.cpp:3886
#24 0xb4486308 in XREMain::XRE_main (this=0xbecf198c, argc=<optimized out>, argv=<optimized out>, aAppData=<optimized out>) at ../../../toolkit/xre/nsAppRunner.cpp:3954
#25 0xb4486454 in XRE_main (argc=1, argv=0xbecf3b44, aAppData=0x23948, aFlags=<optimized out>) at ../../../toolkit/xre/nsAppRunner.cpp:4156
#26 0x0000a45c in do_main (argv=0xbecf3b44, argc=1) at ../../../b2g/app/nsBrowserApp.cpp:168
#27 main (argc=<optimized out>, argv=<optimized out>) at ../../../b2g/app/nsBrowserApp.cpp:261

Comment 1

5 years ago
Probably caused by 925638?
Blocks: 925638

Comment 2

5 years ago
Or Maybe 880610
Blocks: 880610

Comment 3

5 years ago
And right before:
[Parent 831] WARNING: No platform support for bluetooth!: file ../../../dom/bluetooth/BluetoothService.cpp, line 317
[Parent 831] WARNING: NS_ENSURE_TRUE(service) failed: file ../../../dom/bluetooth/BluetoothService.cpp, line 751
[Parent 831] WARNING: NS_ENSURE_TRUE(btService) failed: file ../../../dom/ipc/ContentParent.cpp, line 2663
It shall be related to 880610 instead of 925638.
The problem can be happened because real bluedroid implementation in bluedroid does not exist yet, so null returned, which causes ASSERT for jb.
No longer blocks: 925638
After Bug 928214 submitted, this will be fixed, i expect this shall be done in a few hours only.
Depends on: 928214

Comment 7

5 years ago
(In reply to Shawn Huang from comment #6)
> After Bug 928214 submitted, this will be fixed, i expect this shall be done
> in a few hours only.

Bug 928214 is still not fixed. We can't have a broken debug build for a day. Please back out the patch that caused it!


5 years ago
Flags: needinfo?(shuang)
backout: https://hg.mozilla.org/integration/b2g-inbound/rev/7238f0bd3ebd

Settings app will crash after this patch applied. Bug 880610 will be backed out as well.

backout: https://hg.mozilla.org/integration/b2g-inbound/rev/51e1f24155fd

The patches has been backed out since this causes bug 928135. Bug 928214 should be able to solve bug 928135 this but it didn't.
Flags: needinfo?(shuang)
Bug 928214 should be able to solve bug 928135. I have verified it. 
As gwagner requests to backout first, so we indeed backout both patches of Bug 880610, 928214.
Assignee: nobody → shuang
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.