Bug 274137

Summary: Crash of Bluetooth IO helpers when disconnecting Bluetooth USB dongle
Product: [Unmaintained] solid Reporter: Christian Bayer <christian_bay>
Component: bluetoothAssignee: Alex Fiestas <afiestas>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Bayer 2011-05-25 20:52:07 UTC
Application: bluedevil-input (0.1)
KDE Platform Version: 4.6.3 (4.6.3)
Qt Version: 4.7.2
Operating System: Linux 2.6.35.13-91.fc14.x86_64 x86_64
Distribution: "redhat-4"

-- Information about the crash:
- What I was doing when the application crashed:
I disconnected my Bluetooth USB key and connected it to another USB jack. There might be still a hci command be running, I am having problems with this bug, too:
https://bugzilla.kernel.org/show_bug.cgi?id=10126
So there might be a hci action still be running in the backgound.

-- Backtrace:
Application: Bluetooth Input Helper (bluedevil-input), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#6  isEmpty (this=0x1312a70) at /usr/include/QtCore/qstring.h:708
#7  BlueDevil::Device::icon (this=0x1312a70) at /usr/src/debug/libbluedevil-v1.9/bluedevil/bluedevildevice.cpp:332
#8  0x00007fefb9b444c5 in InputPlugin::timeout (this=0x12f81d0) at /usr/src/debug/bluedevil-1.1/src/actionplugins/input/input.cpp:56
#9  0x00007fefb9b43e21 in InputPlugin::qt_metacall (this=0x12f81d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff7d379190) at /usr/src/debug/bluedevil-1.1/x86_64-redhat-linux-gnu/src/actionplugins/input/moc_input.cpp:78
#10 0x000000317c971acf in QMetaObject::activate (sender=0x134ec20, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#11 0x000000317c97856f in QSingleShotTimer::timerEvent (this=0x134ec20) at kernel/qtimer.cpp:308
#12 0x000000317c9712f9 in QObject::event (this=0x134ec20, e=<value optimized out>) at kernel/qobject.cpp:1181
#13 0x000000317e1b7cd4 in QApplicationPrivate::notify_helper (this=0x1251a70, receiver=0x134ec20, e=0x7fff7d3798e0) at kernel/qapplication.cpp:4462
#14 0x000000317e1bc88a in QApplication::notify (this=<value optimized out>, receiver=0x134ec20, e=0x7fff7d3798e0) at kernel/qapplication.cpp:4341
#15 0x000000361de409f6 in KApplication::notify (this=0x7fff7d379c20, receiver=0x134ec20, event=0x7fff7d3798e0) at /usr/src/debug/kdelibs-4.6.3/kdeui/kernel/kapplication.cpp:311
#16 0x000000317c95d19c in QCoreApplication::notifyInternal (this=0x7fff7d379c20, receiver=0x134ec20, event=0x7fff7d3798e0) at kernel/qcoreapplication.cpp:731
#17 0x000000317c98aeae in sendEvent (this=0x12575a0) at kernel/qcoreapplication.h:215
#18 QTimerInfoList::activateTimers (this=0x12575a0) at kernel/qeventdispatcher_unix.cpp:604
#19 0x000000317c987c54 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#20 0x0000003edea41e33 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#21 0x0000003edea42610 in ?? () from /lib64/libglib-2.0.so.0
#22 0x0000003edea428ad in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x000000317c98834f in QEventDispatcherGlib::processEvents (this=0x1233dd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#24 0x000000317e25d35e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#25 0x000000317c95c532 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x000000317c95c77c in QEventLoop::exec (this=0x7fff7d379b70, flags=...) at kernel/qeventloop.cpp:201
#27 0x000000317c960c3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#28 0x00000000004040d8 in main (argc=2, argv=0x7fff7d379f08) at /usr/src/debug/bluedevil-1.1/src/actionplugins/input/helper/main.cpp:51

Reported using DrKonqi
Comment 1 Alex Fiestas 2011-10-08 19:02:58 UTC
Fixed, will be released with 1.0.6, 1.1.3 and 1.2.2

Thanks!