removing bluetooth USB adapter crashes kbluetooth4

Bug #364713 reported by Torsten Ekedahl
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kdebluetooth (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: kdebluetooth

I am using a bluetooth USB adapter, TRUST BLUETOOTH V2.0 USB ADAPTER CLASS 2,
It works fine except that when I remove it, kbluetooth4 crashes with a SIGSEGV. Only kbluetooth4 is killed, bluetoothd and kblueplugd keep running and one or both of them restart kbluetooth4 when the adapter is reinserted.

The crash dialog tells that no usable backtrace was generated so I cannot give you that.

I am using version 1:0.3-0ubuntu2~intrepid1~ppa1 of kdebluetooth.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 8.10
Package: kdebluetooth 1:0.3-0ubuntu2~intrepid1~ppa1
ProcEnviron:
 LANGUAGE=
 LC_CTYPE=sv_SE.UTF-8
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/aldor/linux/1.0.2/bin:/home/matte/username/bin:/home/matte/username/texfiler/bin:.
 LANG=en_US.UTF-8
 SHELL=/usr/bin/zsh
SourcePackage: kdebluetooth
Uname: Linux 2.6.27-11-generic i686
UnreportableReason: This is not a genuine Ubuntu package

Tags: apport-bug
Revision history for this message
Torsten Ekedahl (teke-lp) wrote :
Revision history for this message
kubuntu-user (kubuntu-user2) wrote :

I see the same bug with my
Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
using kubuntu 9.04 Jaunty Jackalope 32bit.

Revision history for this message
Martin (lodp) wrote :

Same here. Crashes very reliably. Happens with or without devices connected.

I'm running Kubuntu Jaunty

kdebluetooth 1:0.3-ubuntu4(i386)

$ hciconfig -a

hci0: Type: USB
        BD Address: xx:xx:xx:xx:xx ACL MTU: 1021:4 SCO MTU: 48:10
        UP RUNNING PSCAN
        RX bytes:45690 acl:2760 sco:0 events:63 errors:0
        TX bytes:638 acl:10 sco:0 commands:45 errors:0
        Features: 0xff 0xfe 0xff 0x7e 0x98 0x19 0x00 0x80
        Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
        Link policy: RSWITCH HOLD SNIFF PARK
        Link mode: SLAVE ACCEPT
        Name: 'xxxxxxxxxxxxxx'
        Class: 0x12010c
        Service Classes: Networking, Object Transfer
        Device Class: Computer, Laptop
        HCI Ver: 2.0 (0x3) HCI Rev: 0x302 LMP Ver: 2.0 (0x3) LMP Subver: 0x302
        Manufacturer: Integrated System Solution Corp. (57)

Changed in kdebluetooth (Ubuntu):
status: New → Confirmed
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Could you please install kdebluetooth-dbgsym after following the instructions at https://wiki.kubuntu.org/DebuggingProgramCrash , and then paste the backtrace? That package should make the crash logs usable. Thanks.

Changed in kdebluetooth (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Torsten Ekedahl (teke-lp) wrote :

Didn't work too well. I installed kdebluetooth-dbgsym:
homealone[1]aptitude show kdebluetooth-dbgsym
Package: kdebluetooth-dbgsym
New: yes
State: installed
Automatically installed: no
Version: 1:0.3-0ubuntu4
Priority: extra
Section: kde
Maintainer: Kubuntu Developers <email address hidden>
Uncompressed Size: 4202k
Depends: kdebluetooth (= 1:0.3-0ubuntu4)

but when I tickle the bug I get only:

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

Revision history for this message
Torsten Ekedahl (teke-lp) wrote :
Download full text (4.9 KiB)

Found another way which seems to work:

1. I insert the USB bluetooth adapter.
2. kbluetooth4 is started.
3. I attach gdb to it and continue the running inside gdb.
4. I detach the adapter and kbluetooth4 crashes.
5. I abacktrace in gdb and get the following result:
#0 0x095b75c6 in ?? ()
#1 0xb74f7c43 in ?? () from /usr/lib/libQtDBus.so.4
#2 0xb74f8501 in ?? () from /usr/lib/libQtDBus.so.4
#3 0xb74f89fa in ?? () from /usr/lib/libQtDBus.so.4
#4 0xb73ee3a0 in QObject::event () from /usr/lib/libQtCore.so.4
#5 0xb73dd3db in QCoreApplication::event () from /usr/lib/libQtCore.so.4
#6 0xb69e9379 in QApplication::event () from /usr/lib/libQtGui.so.4
#7 0xb69e5e9c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#8 0xb69ee19e in QApplication::notify () from /usr/lib/libQtGui.so.4
#9 0xb7c0494d in KApplication::notify () from /usr/lib/libkdeui.so.5
#10 0xb73dda3b in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#11 0xb73de695 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#12 0xb73de88d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#13 0xb74097ef in ?? () from /usr/lib/libQtCore.so.4
#14 0xb6310b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0xb63140eb in ?? () from /usr/lib/libglib-2.0.so.0
#16 0xb6314268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0xb7409438 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#18 0xb6a87365 in ?? () from /usr/lib/libQtGui.so.4
#19 0xb73dc06a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#20 0xb73dc4aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#21 0xb74fb99c in ?? () from /usr/lib/libQtDBus.so.4
#22 0xb74e5551 in QDBusConnection::call () from /usr/lib/libQtDBus.so.4
#23 0xb7503f3b in QDBusAbstractInterface::callWithArgumentList () from /usr/lib/libQtDBus.so.4
#24 0xb7507e8d in QDBusAbstractInterface::call () from /usr/lib/libQtDBus.so.4
#25 0x08066ce3 in ObexServer::stop (this=0x969f7a8)
    at /build/buildd/kdebluetooth-0.3/src/obexserver/obexserver.cpp:100
#26 0x080556f8 in KBlueTray::offlineMode (this=0xbfa5a9f4) at /build/buildd/kdebluetooth-0.3/src/trayicon.cpp:239
#27 0x08058e61 in KBlueTray::adapterRemoved (this=0xbfa5a9f4, ubi=@0xbfa5a130)
    at /build/buildd/kdebluetooth-0.3/src/trayicon.cpp:294
#28 0x080515d0 in KBlueTray::qt_metacall (this=0xbfa5a9f4, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfa59fbc)
    at /build/buildd/kdebluetooth-0.3/obj-i486-linux-gnu/src/moc_trayicon.cpp:142
#29 0xb73f3ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb73f4932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb7944ff3 in Solid::Control::BluetoothManager::interfaceRemoved () from /usr/lib/libsolidcontrol.so.4
#32 0xb7945302 in ?? () from /usr/lib/libsolidcontrol.so.4
#33 0xb7946c15 in Solid::Control::BluetoothManager::qt_metacall () from /usr/lib/libsolidcontrol.so.4
#34 0xb73f3ca8 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#35 0xb73f4932 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb63ee1c3 in Solid:...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.