<?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>277451</bug_id>
          
          <creation_ts>2011-07-10 06:41:29 +0000</creation_ts>
          <short_desc>Ramdom crash after sleeping</short_desc>
          <delta_ts>2011-07-16 17:40:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>solid</product>
          <component>bluetooth-daemon</component>
          <version>unspecified</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Alejandro Diaz Caro">alejandro</reporter>
          <assigned_to name="Alex Fiestas">afiestas</assigned_to>
          <cc>frank78ac</cc>
          
          <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>1140120</commentid>
    <comment_count>0</comment_count>
    <who name="Alejandro Diaz Caro">alejandro</who>
    <bug_when>2011-07-10 06:41:29 +0000</bug_when>
    <thetext>Application: kded4 ($Id$)
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 2.6.39-ck i686
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Weak up my laptop by opening the lid.
- Unusual behavior I noticed:
KDE-plasma uses to crash at that moment also (however not both, kded4 and kde-plasma, at the same time)

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Dæmon (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb57d9b60 (LWP 1236))]

Thread 3 (Thread 0xb0326b70 (LWP 1237)):
#0  0xb612e4b0 in ?? () from /lib/libc.so.6
#1  0xb6115d37 in poll () from /lib/libc.so.6
#2  0xb5bb7e6b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb5ba92b6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5ba9aeb in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb0561ae1 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0xb5bd02e4 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb6d2fc77 in start_thread () from /lib/libpthread.so.0
#8  0xb612043e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac96ab70 (LWP 1252)):
#0  0xb7818424 in __kernel_vsyscall ()
#1  0xb6115d4e in poll () from /lib/libc.so.6
#2  0xb5bb7e6b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb5ba92b6 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5ba96da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6ece4a7 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#6  0xb6e9f1fd in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#7  0xb6e9f441 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#8  0xb6da2abb in QThread::exec() () from /usr/lib/libQtCore.so.4
#9  0xb6e7fd9d in ?? () from /usr/lib/libQtCore.so.4
#10 0xb6da5913 in ?? () from /usr/lib/libQtCore.so.4
#11 0xb6d2fc77 in start_thread () from /lib/libpthread.so.0
#12 0xb612043e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb57d9b60 (LWP 1236)):
[KCrash Handler]
#7  0xb6ec1a5b in QVariant::QVariant(QVariant const&amp;) () from /usr/lib/libQtCore.so.4
#8  0xb5d78285 in QDBusPendingReplyData::argumentAt(int) const () from /usr/lib/libQtDBus.so.4
#9  0xad2944aa in BlueDevilDaemon::isServiceStarted() () from /usr/lib/kde4/kded_bluedevil.so
#10 0xad2947ee in BlueDevilDaemon::offlineMode() () from /usr/lib/kde4/kded_bluedevil.so
#11 0xad2954f2 in BlueDevilDaemon::defaultAdapterChanged(BlueDevil::Adapter*) () from /usr/lib/kde4/kded_bluedevil.so
#12 0xad2937e9 in BlueDevilDaemon::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/kded_bluedevil.so
#13 0xb6ea65ad in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#14 0xb6eb535a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#15 0xad2436c3 in BlueDevil::Manager::defaultAdapterChanged(BlueDevil::Adapter*) () from /usr/lib/libbluedevil.so.1
#16 0xad244cf3 in BlueDevil::Manager::Private::_k_adapterRemoved(QDBusObjectPath const&amp;) () from /usr/lib/libbluedevil.so.1
#17 0xad247b78 in BlueDevil::Manager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libbluedevil.so.1
#18 0xb6ea65ad in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb6eb535a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#20 0xad25d023 in OrgBluezManagerInterface::AdapterRemoved(QDBusObjectPath const&amp;) () from /usr/lib/libbluedevil.so.1
#21 0xad25d69a in OrgBluezManagerInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libbluedevil.so.1
#22 0xb5d37b35 in ?? () from /usr/lib/libQtDBus.so.4
#23 0xb5d42056 in ?? () from /usr/lib/libQtDBus.so.4
#24 0xb6eb8442 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#25 0xb63d1084 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#26 0xb63d6433 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#27 0xb75af321 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#28 0xb6ea01be in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#29 0xb6ea39a3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#30 0xb6ea3afc in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#31 0xb6ece014 in ?? () from /usr/lib/libQtCore.so.4
#32 0xb5ba8c4f in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb5ba93b0 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb5ba96da in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb6ece44a in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#36 0xb64846ba in ?? () from /usr/lib/libQtGui.so.4
#37 0xb6e9f1fd in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#38 0xb6e9f441 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /usr/lib/libQtCore.so.4
#39 0xb6ea3bad in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#40 0xb63ceed4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#41 0xb5331609 in kdemain () from /usr/lib/libkdeinit4_kded4.so
#42 0x0804f24a in _start ()

Reported using DrKonqi</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1140182</commentid>
    <comment_count>1</comment_count>
    <who name="Frank Reininghaus">frank78ac</who>
    <bug_when>2011-07-10 10:53:29 +0000</bug_when>
    <thetext>Thanks for the bug report! Looks like it&apos;s related to BlueDevil.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1140237</commentid>
    <comment_count>2</comment_count>
    <who name="Alex Fiestas">afiestas</who>
    <bug_when>2011-07-10 14:57:15 +0000</bug_when>
    <thetext>I&apos;m testing a fix locally, if it works well I will commit it and release it with the incoming 1.0.5 and 1.1.1 versions.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1140486</commentid>
    <comment_count>3</comment_count>
    <who name="Alejandro Diaz Caro">alejandro</who>
    <bug_when>2011-07-11 08:13:30 +0000</bug_when>
    <thetext>Thanks for answering that fast!

If you need any test from my part, please do not hesitate to ask.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1142418</commentid>
    <comment_count>4</comment_count>
    <who name="Alex Fiestas">afiestas</who>
    <bug_when>2011-07-16 14:36:42 +0000</bug_when>
    <thetext>Are you able to compile your own bluedevil?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1142455</commentid>
    <comment_count>5</comment_count>
    <who name="Alex Fiestas">afiestas</who>
    <bug_when>2011-07-16 15:47:43 +0000</bug_when>
    <thetext>Git commit b769654963f41775b475b658019580fbc59825fa by Alex Fiestas.
Committed on 16/07/2011 at 16:57.
Pushed by afiestas into branch &apos;1.1&apos;.

Don&apos;t assume that bluedevil-helper is responding our dbus requests

If the helper doesn&apos;t answer, just return false

BUG: 277451
FIX-IN: 1.1.1
FIX-IN: 1.0.5

M  +6    -1    src/daemon/kded/BlueDevilDaemon.cpp

http://commits.kde.org/bluedevil/b769654963f41775b475b658019580fbc59825fa</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1142456</commentid>
    <comment_count>6</comment_count>
    <who name="Alex Fiestas">afiestas</who>
    <bug_when>2011-07-16 15:48:44 +0000</bug_when>
    <thetext>Git commit eac4bc99e72312f7e54ee941f20359daa0f01138 by Alex Fiestas.
Committed on 16/07/2011 at 16:57.
Pushed by afiestas into branch &apos;1.0&apos;.

Don&apos;t assume that bluedevil-helper is responding our dbus requests

If the helper doesn&apos;t answer, just return false

BUG: 277451
FIX-IN: 1.1.1
FIX-IN: 1.0.5
(cherry picked from commit b769654963f41775b475b658019580fbc59825fa)

M  +6    -1    src/daemon/kded/BlueDevilDaemon.cpp

http://commits.kde.org/bluedevil/eac4bc99e72312f7e54ee941f20359daa0f01138</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1142486</commentid>
    <comment_count>7</comment_count>
    <who name="Alejandro Diaz Caro">alejandro</who>
    <bug_when>2011-07-16 17:40:46 +0000</bug_when>
    <thetext>&gt; Are you able to compile your own bluedevil?

No problem. I can do it, however I see you already commit the fix. Do you still need I compile it and provide any information or it is enough with the commit you just did?</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>