Closed Bug 1046737 Opened 12 years ago Closed 12 years ago

[Bluetooth] Segmentation fault in BluetoothReplyRunnable::SetReply

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tzimmermann, Assigned: tzimmermann)

Details

Attachments

(1 file)

Seen on latest Gecko 196891:005424a764da. I was trying to pair Nexus 4 with a Handset. (gdb) c Continuing. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 180.180] mozilla::dom::bluetooth::BluetoothReplyRunnable::SetReply (this=0x0, aReply=0xad6617c0) at ../../../../mozilla-central/dom/bluetooth/BluetoothReplyRunnable.cpp:22 22 mReply = aReply; (gdb) bt #0 mozilla::dom::bluetooth::BluetoothReplyRunnable::SetReply (this=0x0, aReply=0xad6617c0) at ../../../../mozilla-central/dom/bluetooth/BluetoothReplyRunnable.cpp:22 #1 0xb4d81086 in mozilla::dom::bluetooth::DispatchBluetoothReply (aRunnable=0x0, aValue=..., aErrorStr=<optimized out>) at ../../../../mozilla-central/dom/bluetooth/bluedroid/BluetoothUtils.cpp:168 #2 0xb4d7f556 in BondStateChangedCallbackTask::Run (this=0xae986120) at ../../../../mozilla-central/dom/bluetooth/bluedroid/BluetoothServiceBluedroid.cpp:736 #3 0xb42ad272 in nsThread::ProcessNextEvent (this=0xb6b4e700, aMayWait=<optimized out>, aResult=0xbecc47f7) at ../../../../mozilla-central/xpcom/threads/nsThread.cpp:770 #4 0xb42c1174 in NS_ProcessNextEvent (aThread=0xb6b4e700, aMayWait=<optimized out>) at /home/mozilla/Projects/mozilla/src/mozilla-central/xpcom/glue/nsThreadUtils.cpp:265 #5 0xb4470cd4 in mozilla::ipc::MessagePump::Run (this=0xb6b01ee0, aDelegate=0xb6b701a0) at ../../../../mozilla-central/ipc/glue/MessagePump.cpp:99 #6 0xb445f3c6 in MessageLoop::RunInternal (this=0xb6b701a0) at ../../../../mozilla-central/ipc/chromium/src/base/message_loop.cc:229 #7 0xb445f3de in RunHandler (this=0xb6b701a0) at ../../../../mozilla-central/ipc/chromium/src/base/message_loop.cc:222 #8 MessageLoop::Run (this=0xb6b701a0) at ../../../../mozilla-central/ipc/chromium/src/base/message_loop.cc:196 #9 0xb4d8b92e in nsBaseAppShell::Run (this=0xb20bb700) at ../../../../mozilla-central/widget/xpwidgets/nsBaseAppShell.cpp:164 #10 0xb5398a6e in nsAppStartup::Run (this=0xb2112970) at ../../../../../mozilla-central/toolkit/components/startup/nsAppStartup.cpp:278 #11 0xb53b3642 in XREMain::XRE_mainRun (this=0xbecc498c) at ../../../../mozilla-central/toolkit/xre/nsAppRunner.cpp:4013 #12 0xb53b382e in XREMain::XRE_main (this=0xbecc498c, argc=<optimized out>, argv=<optimized out>, aAppData=<optimized out>) at ../../../../mozilla-central/toolkit/xre/nsAppRunner.cpp:4084 #13 0xb53b3988 in XRE_main (argc=1, argv=0xbecc6b44, aAppData=0x24938, aFlags=<optimized out>) at ../../../../mozilla-central/toolkit/xre/nsAppRunner.cpp:4298 #14 0x0000ae9c in do_main (argv=0xbecc6b44, argc=1) at ../../../../mozilla-central/b2g/app/nsBrowserApp.cpp:163 #15 main (argc=<optimized out>, argv=<optimized out>) at ../../../../mozilla-central/b2g/app/nsBrowserApp.cpp:256 (gdb)
Assignee: nobody → tzimmermann
Status: NEW → ASSIGNED
Attachment #8465419 - Flags: review?(shuang)
Comment on attachment 8465419 [details] [diff] [review] [01] Bug 1046737: Use value to maintain Bluetooth bonding arrays Review of attachment 8465419 [details] [diff] [review]: ----------------------------------------------------------------- Thanks.
Attachment #8465419 - Flags: review?(shuang) → review+
I wonder we also need to check crash happened after this patch landed. Because I saw bluetooth2, there is one crash happened. https://bugzilla.mozilla.org/show_bug.cgi?id=1036233#c18
(In reply to Shawn Huang [:shuang] [:shawnjohnjr] from comment #3) > I wonder we also need to check crash happened after this patch landed. > Because I saw bluetooth2, there is one crash happened. > https://bugzilla.mozilla.org/show_bug.cgi?id=1036233#c18 Sorry, nothing is related to this patch.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: