Bug 280908

Summary: Crash in bluetooth input helper
Product: [Unmaintained] solid Reporter: Ales Seifert <seifert>
Component: bluetooth-daemonAssignee: Alex Fiestas <afiestas>
Status: RESOLVED FIXED    
Severity: crash CC: lamarque
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 1.0.6
Sentry Crash Report:

Description Ales Seifert 2011-08-28 02:32:25 UTC
Application: bluedevil-input (0.1)
KDE Platform Version: 4.7.00 (4.7.0) "release 10"
Qt Version: 4.7.4
Operating System: Linux 3.0.1-40 x86_64
Distribution: "openSUSE 11.4 (x86_64)"

-- Information about the crash:
It happend some time after I swithed off hardware wirelless switch, so bluetooth was not active at the moment.

-- Backtrace:
Application: Bluetooth Input Helper (bluedevil-input), signal: Segmentation fault
[KCrash Handler]
#6  0x00007f2c55a0c6cd in malloc_consolidate () from /lib64/libc.so.6
#7  0x00007f2c55a0de14 in _int_malloc () from /lib64/libc.so.6
#8  0x00007f2c55a10d99 in malloc () from /lib64/libc.so.6
#9  0x00007f2c55dc348d in operator new(unsigned long) () from /usr/lib64/libstdc++.so.6
#10 0x00007f2c55dc35a9 in operator new[](unsigned long) () from /usr/lib64/libstdc++.so.6
#11 0x00007f2c56db259c in makeSpace (where=QIODevicePrivateLinearBuffer::freeSpaceAtEnd, required=<optimized out>, this=0x8e4bd0) at io/qiodevice_p.h:173
#12 reserve (size=16384, this=0x8e4bd0) at io/qiodevice_p.h:114
#13 QIODevice::read (this=0x817120, data=0x7fff5d88f650 "\001", maxSize=6) at io/qiodevice.cpp:824
#14 0x00007f2c56db2991 in QIODevicePrivate::peek (this=0x8e4b30, data=0x7fff5d88f650 "\001", maxSize=<optimized out>) at io/qiodevice.cpp:1453
#15 0x00007f2c4cf5c457 in QGifHandler::canRead (device=<optimized out>) at ../../../gui/image/qgifhandler.cpp:1099
#16 0x00007f2c4cf5d500 in QGifPlugin::capabilities (this=<optimized out>, device=0x817120, format=<optimized out>) at main.cpp:80
#17 0x00007f2c562a2a1a in createReadHandlerHelper (device=0x817120, format=<optimized out>, autoDetectImageFormat=true, ignoresFormatAndExtension=false) at image/qimagereader.cpp:311
#18 0x00007f2c562a431c in QImageReaderPrivate::initHandler (this=0x80d610) at image/qimagereader.cpp:618
#19 0x00007f2c562a4c08 in QImageReader::read (this=0x7fff5d88fb60, image=0x7fff5d88fb00) at image/qimagereader.cpp:1185
#20 0x00007f2c562a4dcc in QImageReader::read (this=0x7fff5d88fb60) at image/qimagereader.cpp:1155
#21 0x00007f2c5629a106 in QImage::load (this=0x7fff5d88fc20, fileName=..., format=<optimized out>) at image/qimage.cpp:5014
#22 0x00007f2c5629a2a5 in QImage::QImage (this=0x7fff5d88fc20, fileName=..., format=0x8f3d98 "PNG") at image/qimage.cpp:1033
#23 0x00007f2c57cbcb19 in KIconLoaderPrivate::createIconImage(QString const&, int) () from /usr/lib64/libkdeui.so.5
#24 0x00007f2c57cc3dbc in KIconLoader::loadIcon(QString const&, KIconLoader::Group, int, int, QStringList const&, QString*, bool) const () from /usr/lib64/libkdeui.so.5
#25 0x00007f2c57cbb227 in KIconEngine::pixmap(QSize const&, QIcon::Mode, QIcon::State) () from /usr/lib64/libkdeui.so.5
#26 0x00007f2c56283d65 in QIcon::pixmap (this=<optimized out>, size=<optimized out>, mode=<optimized out>, state=<optimized out>) at image/qicon.cpp:676
#27 0x00007f2c4929b7a2 in ?? () from /usr/lib64/kde4/bluedevilinputactionplugin.so
#28 0x00007f2c4929b0f1 in ?? () from /usr/lib64/kde4/bluedevilinputactionplugin.so
#29 0x00007f2c56e2ca7f in QMetaObject::activate (sender=0x7d3e30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#30 0x00007f2c56e336ef in QSingleShotTimer::timerEvent (this=0x7d3e30) at kernel/qtimer.cpp:308
#31 0x00007f2c56e2c0c9 in QObject::event (this=0x7d3e30, e=<optimized out>) at kernel/qobject.cpp:1181
#32 0x00007f2c561dc194 in QApplicationPrivate::notify_helper (this=0x62ce90, receiver=0x7d3e30, e=0x7fff5d890a70) at kernel/qapplication.cpp:4481
#33 0x00007f2c561e474a in QApplication::notify (this=<optimized out>, receiver=0x7d3e30, e=0x7fff5d890a70) at kernel/qapplication.cpp:4360
#34 0x00007f2c57d12736 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#35 0x00007f2c56e183dc in QCoreApplication::notifyInternal (this=0x7fff5d890e20, receiver=0x7d3e30, event=0x7fff5d890a70) at kernel/qcoreapplication.cpp:787
#36 0x00007f2c56e45d78 in sendEvent (event=0x7fff5d890a70, receiver=<optimized out>) at kernel/qcoreapplication.h:215
#37 QTimerInfoList::activateTimers (this=0x6305a0) at kernel/qeventdispatcher_unix.cpp:617
#38 0x00007f2c56e42af4 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#39 0x00007f2c5236f7d3 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#40 0x00007f2c5236ffb0 in ?? () from /lib64/libglib-2.0.so.0
#41 0x00007f2c52370250 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#42 0x00007f2c56e431cf in QEventDispatcherGlib::processEvents (this=0x610430, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#43 0x00007f2c56281eae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f2c56e17832 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#45 0x00007f2c56e17a45 in QEventLoop::exec (this=0x7fff5d890d70, flags=...) at kernel/qeventloop.cpp:201
#46 0x00007f2c56e1be8b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#47 0x0000000000404498 in _start ()

Reported using DrKonqi
Comment 1 Alex Fiestas 2011-10-08 18:55:38 UTC
Git commit 50fc9f4e579f9cc22b13d7bedeb68ce0d21148f4 by Alex Fiestas.
Committed on 08/10/2011 at 20:54.
Pushed by afiestas into branch '1.0'.

If the device is destroyed, finish the plugin

BUG: 270064
BUG: 280908
FIXED-IN: 1.0.6

M  +7    -0    src/actionplugins/actionplugin.cpp
M  +3    -0    src/actionplugins/actionplugin.h

http://commits.kde.org/bluedevil/50fc9f4e579f9cc22b13d7bedeb68ce0d21148f4
Comment 2 Alex Fiestas 2011-10-08 18:56:16 UTC
Git commit 825c80e913e8015422826200d2cd5a366d2a2df3 by Alex Fiestas.
Committed on 08/10/2011 at 20:54.
Pushed by afiestas into branch '1.1'.

If the device is destroyed, finish the plugin

BUG: 270064
BUG: 280908
FIXED-IN: 1.0.6

M  +7    -0    src/actionplugins/actionplugin.cpp
M  +3    -0    src/actionplugins/actionplugin.h

http://commits.kde.org/bluedevil/825c80e913e8015422826200d2cd5a366d2a2df3