Bug 331085 - Adding Magic Mouse crashes bluetooth stack
Summary: Adding Magic Mouse crashes bluetooth stack
Status: RESOLVED DUPLICATE of bug 327765
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: kded (show other bugs)
Version: 4.11.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-02-13 08:54 UTC by William Fleming
Modified: 2014-02-13 09:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Fleming 2014-02-13 08:54:10 UTC
Application: kded4 (4.11.5)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.11.10-7-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed: Adding my mouse via the following commands in terminator. Running OpenSUSE 13.1

[bluetooth]# list
Controller 00:02:72:C5:D1:75 linux-pqpb.site [default]
[bluetooth]# select 04:DB:56:5F:BF:CD
Controller 04:DB:56:5F:BF:CD not available
[bluetooth]# select 00:02:72:C5:D1:75
[bluetooth]# power on
Changing power on succeeded
[bluetooth]# scan on
Discovery started
[bluetooth]# devices
Device 04:DB:56:5F:BF:CD William Fleming’s Mouse
[bluetooth]# pair 04:DB:56:5F:BF:CD
Attempting to pair with 04:DB:56:5F:BF:CD
Failed to pair: org.bluez.Error.AlreadyExists
[bluetooth]# connect 04:DB:56:5F:BF:CD
Attempting to connect to 04:DB:56:5F:BF:CD
[CHG] Device 04:DB:56:5F:BF:CD Connected: yes
[DEL] Controller 00:02:72:C5:D1:75 linux-pqpb.site [default]
Failed to connect: org.freedesktop.DBus.Error.NoReply

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f75ea45b780 (LWP 1552))]

Thread 4 (Thread 0x7f75cb7bf700 (LWP 1558)):
#0  0x00007f75e49c2ffd in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f75e49c3289 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f75e498308c in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f75e498359b in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f75e498370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f75e90d5d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f75e90a8005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007f75e8fa6fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007f75e9089513 in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f75e8fa968f in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00007f75e8d120db in start_thread () from /lib64/libpthread.so.0
#12 0x00007f75e7a7b90d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f75b2c07700 (LWP 1619)):
#0  0x00007f75e7a72b3d in poll () from /lib64/libc.so.6
#1  0x00007f75e4983604 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f75e498370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f75e90d5d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#4  0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#5  0x00007f75e90a8005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f75e8fa6fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#7  0x00007f75cd081297 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#8  0x00007f75e8fa968f in ?? () from /usr/lib64/libQtCore.so.4
#9  0x00007f75e8d120db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f75e7a7b90d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f75b2406700 (LWP 1620)):
#0  0x00007f75e8d15560 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f75e49c32c1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f75e4982ca0 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f75e4983523 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f75e498370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f75e90d5d76 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#6  0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#7  0x00007f75e90a8005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#8  0x00007f75e8fa6fef in QThread::exec() () from /usr/lib64/libQtCore.so.4
#9  0x00007f75e8fa968f in ?? () from /usr/lib64/libQtCore.so.4
#10 0x00007f75e8d120db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f75e7a7b90d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f75ea45b780 (LWP 1552)):
[KCrash Handler]
#5  findNode (akey=..., this=0x72000000000078) at /usr/include/QtCore/qmap.h:483
#6  contains (akey=..., this=0x72000000000078) at /usr/include/QtCore/qmap.h:555
#7  BlueDevil::Adapter::deviceForUBI (this=0x194c57a, UBI=...) at /usr/src/debug/libbluedevil/bluedevil/bluedeviladapter.cpp:190
#8  0x00007f75cbc86e71 in BluezAgent::RequestPinCode (this=0x194c560, device=..., msg=...) at /usr/src/debug/bluedevil/src/daemon/kded/bluezagent.cpp:88
#9  0x00007f75cbc81173 in BluezAgent::qt_static_metacall (_o=0x194c57a, _o@entry=0x194c560, _id=-582608144, _id@entry=3, _a=0x7fffdd461d00, _c=<optimized out>) at /usr/src/debug/bluedevil/build/src/daemon/kded/moc_bluezagent.cpp:76
#10 0x00007f75cbc81633 in qt_static_metacall (_a=0x7fffdd461d00, _id=3, _c=QMetaObject::InvokeMetaMethod, _o=0x194c560) at /usr/src/debug/bluedevil/build/src/daemon/kded/moc_bluezagent.cpp:123
#11 BluezAgent::qt_metacall (this=0x194c560, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffdd461d00) at /usr/src/debug/bluedevil/build/src/daemon/kded/moc_bluezagent.cpp:124
#12 0x00007f75e5df1ead in QDBusConnectionPrivate::deliverCall (this=this@entry=0x17f30e0, object=object@entry=0x194c560, msg=..., metaTypes=..., slotIdx=7) at qdbusintegrator.cpp:951
#13 0x00007f75e5df3039 in QDBusConnectionPrivate::activateCall (this=this@entry=0x17f30e0, object=0x194c560, flags=flags@entry=273, msg=...) at qdbusintegrator.cpp:856
#14 0x00007f75e5df3b1d in QDBusConnectionPrivate::activateObject (this=0x17f30e0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#15 0x00007f75e5df3beb in QDBusActivateObjectEvent::placeMetaCall (this=0x1d10230) at qdbusintegrator.cpp:1541
#16 0x00007f75e90c111e in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#17 0x00007f75e82288ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f75e822ee70 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f75e9e5018a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f75e90a90ad in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#21 0x00007f75e90ac0ff in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#22 0x00007f75e90d6493 in ?? () from /usr/lib64/libQtCore.so.4
#23 0x00007f75e4983316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#24 0x00007f75e4983668 in ?? () from /usr/lib64/libglib-2.0.so.0
#25 0x00007f75e498370c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f75e90d5d55 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00007f75e82c5936 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#29 0x00007f75e90a8005 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007f75e90ad13b in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#31 0x00007f75d4236fbb in kdemain () from /usr/lib64/libkdeinit4_kded4.so
#32 0x000000000040879e in _start ()

Possible duplicates by query: bug 328379, bug 328112, bug 327885, bug 327765.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-02-13 09:10:24 UTC

*** This bug has been marked as a duplicate of bug 327765 ***