<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>331085</bug_id>
          
          <creation_ts>2014-02-13 08:54:10 +0000</creation_ts>
          <short_desc>Adding Magic Mouse crashes bluetooth stack</short_desc>
          <delta_ts>2014-02-13 09:10:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>kdelibs</product>
          <component>kded</component>
          <version>4.11.5</version>
          <rep_platform>openSUSE</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>327765</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="William Fleming">william20111</reporter>
          <assigned_to name="Unassigned bugs">unassigned-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1430428</commentid>
    <comment_count>0</comment_count>
    <who name="William Fleming">william20111</who>
    <bug_when>2014-02-13 08:54:10 +0000</bug_when>
    <thetext>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: &quot;openSUSE 13.1 (Bottle) (x86_64)&quot;

-- 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 &quot;/lib64/libthread_db.so.1&quot;.
[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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#6  0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#7  0x00007f75e90a8005 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#4  0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#5  0x00007f75e90a8005 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#6  0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#7  0x00007f75e90a8005 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;) 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&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#27 0x00007f75e82c5936 in ?? () from /usr/lib64/libQtGui.so.4
#28 0x00007f75e90a7d0f in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib64/libQtCore.so.4
#29 0x00007f75e90a8005 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1430435</commentid>
    <comment_count>1</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2014-02-13 09:10:24 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 327765 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>