[Bug 173154] Re: KBlueMon crashes when scanning with service discovery enabled

jdb2 jonathanbusby at gmail.com
Sat Jan 17 02:18:25 GMT 2009

I compiled kdebluetooth ( which includes kbluemon ) from the latest svn
snapshot, with all the debugging symbols enabled.

Here's the crash backtrace :

[Thread debugging using libthread_db enabled]
[New Thread 0xb675c6c0 (LWP 26800)]
[KCrash handler]
#6  0x08054c2d in QValueVector<QString>::detach (this=0x6f008e)
    at /usr/share/qt3/include/qvaluevector.h:482
#7  0x08054c8d in QValueVector<QString>::at (this=0x6f008e, i=0, ok=0x0)
    at /usr/share/qt3/include/qvaluevector.h:345
#8  0x0805207d in Monitor::newdev (this=0xbff38724, name=@0x81500c0, 
    dev_class=5898764, rssi=44) at monitor.cpp:150
#9  0x08052882 in Monitor::qt_invoke (this=0xbff38724, _id=53, _o=0xbff37df0)
    at monitor.moc:123
#10 0xb702c704 in QObject::activate_signal (this=0x80edab8, clist=0x809c790, 
    o=0xbff37df0) at kernel/qobject.cpp:2359
#11 0xb7ef96bd in KBluetooth::Adapter::remoteDeviceFound (this=0x80edab8, 
    t0=@0xbff37ee4, t1=5898764, t2=-62) at adapter.moc:324
#12 0xb7efa17a in KBluetooth::Adapter::filterFunctionAd (msg=0x80eda40)
    at adapter.cpp:556
#13 0xb7e8ea37 in dbus_connection_dispatch () from /usr/lib/libdbus-1.so.3
#14 0xb7e67893 in DBusQt::Connection::dispatchRead ()
   from /usr/lib/libdbus-qt-1.so.1
#15 0xb7e68147 in DBusQt::Connection::qt_invoke ()
   from /usr/lib/libdbus-qt-1.so.1
#16 0xb702c704 in QObject::activate_signal (this=0x80ef028, clist=0x80ef428, 
    o=0xbff38038) at kernel/qobject.cpp:2359
#17 0xb702d1e9 in QObject::activate_signal (this=0x80ef028, signal=2)
    at kernel/qobject.cpp:2328
#18 0xb7e68b29 in DBusQt::Internal::Integrator::readReady ()
   from /usr/lib/libdbus-qt-1.so.1
#19 0xb7e68c0f in DBusQt::Internal::Integrator::slotRead ()
   from /usr/lib/libdbus-qt-1.so.1
#20 0xb7e68c8a in DBusQt::Internal::Integrator::qt_invoke ()
   from /usr/lib/libdbus-qt-1.so.1
#21 0xb702c704 in QObject::activate_signal (this=0x80ece60, clist=0x80ef2a8, 
    o=0xbff38170) at kernel/qobject.cpp:2359
#22 0xb702d051 in QObject::activate_signal (this=0x80ece60, signal=2, 
    param=12) at kernel/qobject.cpp:2452
#23 0xb73bcb99 in QSocketNotifier::activated (this=0x80ece60, t0=12)
    at .moc/debug-shared-mt/moc_qsocketnotifier.cpp:85
#24 0xb704e766 in QSocketNotifier::event (this=0x80ece60, e=0xbff38480)
    at kernel/qsocketnotifier.cpp:261
#25 0xb6fc0c36 in QApplication::internalNotify (this=0xbff38940, 
    receiver=0x80ece60, e=0xbff38480) at kernel/qapplication.cpp:2638
#26 0xb6fc2a5f in QApplication::notify (this=0xbff38940, receiver=0x80ece60, 
    e=0xbff38480) at kernel/qapplication.cpp:2361
#27 0xb77819b2 in KApplication::notify (this=0xbff38940, receiver=0x80ece60, 
    at /build/buildd/kdelibs-3.5.10/./kdecore/kapplication.cpp:550
#28 0xb6f5128d in QApplication::sendEvent (receiver=0x80ece60, 
    event=0xbff38480) at ../include/qapplication.h:523
#29 0xb6fb2b4a in QEventLoop::activateSocketNotifiers (this=0x8096b88)
    at kernel/qeventloop_unix.cpp:581
#30 0xb6f66630 in QEventLoop::processEvents (this=0x8096b88, flags=4)
    at kernel/qeventloop_x11.cpp:386
#31 0xb6fdbf90 in QEventLoop::enterLoop (this=0x8096b88)
    at kernel/qeventloop.cpp:201
#32 0xb6fc275d in QApplication::enter_loop (this=0xbff38940)
    at kernel/qapplication.cpp:2796
#33 0xb71df6c7 in QDialog::exec (this=0xbff38724) at dialogs/qdialog.cpp:435
#34 0x0804f7e4 in main (argc=1, argv=0xbff38ac4) at main.cpp:82

With the debugging symbols enabled you can see that the backtrace
exactly pinpoints the source of the segfault. It's getting pretty
ridiculous that nothing is being done by the kdebluetooth team for such
an obvious and probably easily fixable bug.

Do the users have to fix this, in the ironically named Kubuntu 8.04
"Long Term Support", because of the KDE Team's negligence? Such behavior
is the primary reason people are put off by Linux.

KBlueMon crashes when scanning with service discovery enabled
You received this bug notification because you are a member of
Bluetooth, which is subscribed to kdebluetooth in ubuntu.

More information about the Ubuntu-bluetooth mailing list