Closed
Bug 842711
Opened 12 years ago
Closed 12 years ago
Bluetooth: SIGSEGV in DBUS with DisconnectAllConnections
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 841984
Tracking | Status | |
---|---|---|
b2g18 | --- | affected |
People
(Reporter: gwagner, Assigned: shawnjohnjr)
Details
Maybe a dup of bug 841984?
Bug 841984 happens during a request and here we are disconnecting.
Current b2g18 trunk.
process 2894: D-Bus not compiled with backtrace support so unable to print a backtrace
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 2894.3159]
__libc_android_abort () at bionic/libc/unistd/abort.c:82
82 *((char*)0xdeadbaad) = 39;
(gdb) bt
#0 __libc_android_abort () at bionic/libc/unistd/abort.c:82
#1 0x432ee192 in _dbus_abort () at external/dbus/dbus/dbus-sysdeps.c:94
#2 0x432d5cf8 in _dbus_warn_check_failed (
format=0x432f8697 "arguments to %s() were incorrect, assertion \"%s\" failed in file %s line %d.\nThis is normally a bug in some application using the D-Bus library.\n")
at external/dbus/dbus/dbus-internals.c:302
#3 0x432e1660 in dbus_message_new_method_call (destination=<value optimized out>, path=0x48cb2d54 "",
interface=<value optimized out>, method=0x426378fc "DisconnectAllConnections")
at external/dbus/dbus/dbus-message.c:1214
#4 0x41b312f8 in mozilla::ipc::dbus_func_args_timeout_valist (conn=0x49530ce0, timeout_ms=-1,
err=0x4abd34b0, path=0x48cb2d54 "", ifc=0x42637260 "org.bluez.Adapter",
func=0x426378fc "DisconnectAllConnections", first_arg_type=0, args=...)
at /Volumes/2mac/gaia/b2g18/ipc/dbus/DBusUtils.cpp:205
#5 0x41b31444 in mozilla::ipc::dbus_func_args (conn=0x49530ce0, path=0x48cb2d54 "",
ifc=0x42637260 "org.bluez.Adapter", func=0x426378fc "DisconnectAllConnections", first_arg_type=0)
at /Volumes/2mac/gaia/b2g18/ipc/dbus/DBusUtils.cpp:261
#6 0x4139a202 in mozilla::dom::bluetooth::BluetoothDBusService::DisconnectAllAcls (this=0x43ee3d80,
aAdapterPath=...) at /Volumes/2mac/gaia/b2g18/dom/bluetooth/linux/BluetoothDBusService.cpp:797
#7 0x4139c180 in mozilla::dom::bluetooth::BluetoothDBusService::StopInternal (this=0x43ee3d80)
at /Volumes/2mac/gaia/b2g18/dom/bluetooth/linux/BluetoothDBusService.cpp:1637
#8 0x4139ff88 in mozilla::dom::bluetooth::BluetoothGonkService::StopInternal (this=0x43ee3d80)
at /Volumes/2mac/gaia/b2g18/dom/bluetooth/gonk/BluetoothGonkService.cpp:143
#9 0x41385e0a in mozilla::dom::bluetooth::BluetoothService::ToggleBtTask::Run (this=0x4abd3490)
at /Volumes/2mac/gaia/b2g18/dom/bluetooth/BluetoothService.cpp:183
#10 0x41b8164c in nsThread::ProcessNextEvent (this=0x4959eb80, mayWait=true, result=0x48cb2e97)
---Type <return> to continue, or q <return> to quit---
at /Volumes/2mac/gaia/b2g18/xpcom/threads/nsThread.cpp:620
#11 0x41b3b38a in NS_ProcessNextEvent_P (thread=0x4959eb80, mayWait=true)
at /Volumes/2mac/gaia/b2g18/nooptunagibuild/xpcom/build/nsThreadUtils.cpp:237
#12 0x41b80a6e in nsThread::ThreadFunc (arg=0x4959eb80)
at /Volumes/2mac/gaia/b2g18/xpcom/threads/nsThread.cpp:258
#13 0x403aa254 in _pt_root (arg=0x4c162eb0)
at /Volumes/2mac/gaia/b2g18/nsprpub/pr/src/pthreads/ptthread.c:156
#14 0x400f5e18 in __thread_entry (func=0x403aa19d <_pt_root>, arg=0x4c162eb0, tls=<value optimized out>)
at bionic/libc/bionic/pthread.c:217
#15 0x400f596c in pthread_create (thread_out=<value optimized out>, attr=0xbe9bea28,
start_routine=0x403aa19d <_pt_root>, arg=0x4c162eb0) at bionic/libc/bionic/pthread.c:357
#16 0x00000000 in ?? ()
Reporter | ||
Updated•12 years ago
|
status-b2g18:
--- → affected
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → shuang
Assignee | ||
Comment 1•12 years ago
|
||
It looks like duplicated issue of Bug 841984. dbus connection broken first after that if user tries to turn off Bluetooth, this bug could be hitted.
Assignee | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•