Bug 325625

Summary: kded crashed after login due to kdeconnect
Product: [Applications] kdeconnect Reporter: Andreas Hencke <andreas.hencke>
Component: commonAssignee: Albert Vaca Cintora <albertvaka>
Status: RESOLVED FIXED    
Severity: crash CC: scarpino
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=325691
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Andreas Hencke 2013-10-04 14:31:36 UTC
Application: kded4 (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.8.0-31-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:

I booted my machine HP625 laptop.After login kde-service (German name kde-dienst) crashed.

-- Backtrace:
Application: KDE-Dienst (kded4), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f70ab09c7c0 (LWP 2738))]

Thread 3 (Thread 0x7f708b1b6700 (LWP 2746)):
#0  0x00007f70a891c3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f70a5a641dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f70a5a64304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70a9d4e036 in QEventDispatcherGlib::processEvents (this=0x7f70840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f70a9d1e38f in QEventLoop::processEvents (this=this@entry=0x7f708b1b5d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f70a9d1e618 in QEventLoop::exec (this=this@entry=0x7f708b1b5d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f70a9c20410 in QThread::exec (this=this@entry=0x1589b80) at thread/qthread.cpp:542
#7  0x00007f70a9cffedf in QInotifyFileSystemWatcherEngine::run (this=0x1589b80) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f70a9c22bec in QThreadPrivate::start (arg=0x1589b80) at thread/qthread_unix.cpp:338
#9  0x00007f70a6138f8e in start_thread (arg=0x7f708b1b6700) at pthread_create.c:311
#10 0x00007f70a8928e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f707bc24700 (LWP 2760)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x7f7070000a60, decr=1) at pthread_mutex_unlock.c:52
#1  0x00007f70a5aa35f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f70a5a63c61 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f70a5a64175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f70a5a64304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f70a9d4e036 in QEventDispatcherGlib::processEvents (this=0x7f70700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f70a9d1e38f in QEventLoop::processEvents (this=this@entry=0x7f707bc23dc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f70a9d1e618 in QEventLoop::exec (this=this@entry=0x7f707bc23dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f70a9c20410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f70a9c22bec in QThreadPrivate::start (arg=0x18bd840) at thread/qthread_unix.cpp:338
#10 0x00007f70a6138f8e in start_thread (arg=0x7f707bc24700) at pthread_create.c:311
#11 0x00007f70a8928e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f70ab09c7c0 (LWP 2738)):
[KCrash Handler]
#6  0x00007f707adaf107 in Device::sendPackage (this=0xdfb97b8, np=...) at /home/andreas/kdeconnect-kded/daemon/device.cpp:190
#7  0x00007f707adab35b in BatteryPlugin::connected (this=0x1851e90) at /home/andreas/kdeconnect-kded/daemon/plugins/battery/batteryplugin.cpp:43
#8  0x00007f708870c5da in Device::reloadPlugins (this=this@entry=0x18bd5a0) at /home/andreas/kdeconnect-kde-0.1/kded/device.cpp:119
#9  0x00007f7088710070 in Device::addLink (this=0x18bd5a0, link=0x18f0250) at /home/andreas/kdeconnect-kde-0.1/kded/device.cpp:215
#10 0x00007f7088708de7 in Daemon::onNewDeviceLink (this=0x136ab20, identityPackage=..., dl=0x18f0250) at /home/andreas/kdeconnect-kde-0.1/kded/daemon.cpp:143
#11 0x00007f70886ff828 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /home/andreas/kdeconnect-kde-0.1/kded/moc_daemon.cpp:80
#12 Daemon::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /home/andreas/kdeconnect-kde-0.1/kded/moc_daemon.cpp:65
#13 0x00007f70a9d340ef in QMetaObject::activate (sender=sender@entry=0x12a05a0, m=m@entry=0x7f7088916be0 <LinkProvider::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff3f2c46e0) at kernel/qobject.cpp:3539
#14 0x00007f70886ff1c4 in LinkProvider::onConnectionReceived (this=this@entry=0x12a05a0, _t1=..., _t2=0x18f0250) at /home/andreas/kdeconnect-kde-0.1/kded/moc_linkprovider.cpp:109
#15 0x00007f7088700a01 in LoopbackLinkProvider::onNetworkChange (this=0x12a05a0, state=<optimized out>) at /home/andreas/kdeconnect-kde-0.1/kded/linkproviders/loopbacklinkprovider.cpp:40
#16 0x00007f70887008f5 in LoopbackLinkProvider::onStart (this=0x12a05a0) at /home/andreas/kdeconnect-kde-0.1/kded/linkproviders/loopbacklinkprovider.cpp:46
#17 0x00007f70887088cd in Daemon::setDiscoveryEnabled (this=this@entry=0x136ab20, b=b@entry=true) at /home/andreas/kdeconnect-kde-0.1/kded/daemon.cpp:105
#18 0x00007f7088709c7b in Daemon::Daemon (this=0x136ab20, parent=<optimized out>) at /home/andreas/kdeconnect-kde-0.1/kded/daemon.cpp:97
#19 0x00007f708870aba7 in KPluginFactory::createInstance<Daemon, QObject> (parentWidget=<optimized out>, parent=<optimized out>, args=...) at /usr/include/KDE/../kpluginfactory.h:477
#20 0x00007f70aa282455 in KPluginFactory::create (this=0x18520b0, iface=0x7f70aa2d9680 <qt_meta_stringdata_KDEDModule> "KDEDModule", parentWidget=0x0, parent=0x1254860, args=..., keyword=...) at ../../kdecore/util/kpluginfactory.cpp:203
#21 0x00007f7095b093bd in create<KDEDModule> (args=..., parent=0x1254860, this=<optimized out>) at ../../kdecore/util/kpluginfactory.h:507
#22 Kded::loadModule (this=this@entry=0x1254860, s=..., onDemand=onDemand@entry=false) at ../../kded/kded.cpp:410
#23 0x00007f7095b0a2e7 in Kded::initModules (this=this@entry=0x1254860) at ../../kded/kded.cpp:269
#24 0x00007f7095b0a6d0 in Kded::recreateDone (this=this@entry=0x1254860) at ../../kded/kded.cpp:578
#25 0x00007f7095b0a707 in Kded::recreate (this=0x1254860, initial=<optimized out>) at ../../kded/kded.cpp:548
#26 0x00007f7095b0c1ab in newInstance (this=<optimized out>) at ../../kded/kded.cpp:818
#27 KDEDApplication::newInstance (this=<optimized out>) at ../../kded/kded.cpp:806
#28 0x00007f70aaaa3c52 in KUniqueApplicationAdaptor::newInstance (this=0x1382b80, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#29 0x00007f70aaaa3cd4 in qt_static_metacall (_a=0x7fff3f2c51f0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#30 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff3f2c51f0) at ./kuniqueapplication_p.moc:52
#31 0x00007f70aaaa3e0b in KUniqueApplicationAdaptor::qt_metacall (this=0x1382b80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff3f2c51f0) at ./kuniqueapplication_p.moc:102
#32 0x00007f70a70e2063 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x124fc20, object=object@entry=0x1382b80, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#33 0x00007f70a70e2886 in QDBusConnectionPrivate::activateCall (this=this@entry=0x124fc20, object=0x1382b80, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:856
#34 0x00007f70a70e32cf in QDBusConnectionPrivate::activateObject (this=0x124fc20, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#35 0x00007f70a70e33ab in QDBusActivateObjectEvent::placeMetaCall (this=0x13d85d0) at qdbusintegrator.cpp:1541
#36 0x00007f70a9d395be in QObject::event (this=this@entry=0x7fff3f2c60a0, e=e@entry=0x13d85d0) at kernel/qobject.cpp:1194
#37 0x00007f70a9d23f8c in QCoreApplication::event (this=this@entry=0x7fff3f2c60a0, e=e@entry=0x13d85d0) at kernel/qcoreapplication.cpp:1758
#38 0x00007f70a90cd314 in QApplication::event (this=0x7fff3f2c60a0, e=0x13d85d0) at kernel/qapplication.cpp:2549
#39 0x00007f70a90c58ec in QApplicationPrivate::notify_helper (this=this@entry=0x1260b60, receiver=receiver@entry=0x7fff3f2c60a0, e=e@entry=0x13d85d0) at kernel/qapplication.cpp:4567
#40 0x00007f70a90c825b in QApplication::notify (this=this@entry=0x7fff3f2c60a0, receiver=receiver@entry=0x7fff3f2c60a0, e=e@entry=0x13d85d0) at kernel/qapplication.cpp:4428
#41 0x00007f70aaaa09b6 in KApplication::notify (this=0x7fff3f2c60a0, receiver=0x7fff3f2c60a0, event=0x13d85d0) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f70a9d1f63e in QCoreApplication::notifyInternal (this=0x7fff3f2c60a0, receiver=receiver@entry=0x7fff3f2c60a0, event=event@entry=0x13d85d0) at kernel/qcoreapplication.cpp:946
#43 0x00007f70a9d23171 in sendEvent (event=0x13d85d0, receiver=0x7fff3f2c60a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x11b8150) at kernel/qcoreapplication.cpp:1570
#45 0x00007f70a9d234a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#46 0x00007f70a9d4de83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#47 postEventSourceDispatch (s=0x1262000) at kernel/qeventdispatcher_glib.cpp:279
#48 0x00007f70a5a63f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f70a5a64248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f70a5a64304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f70a9d4e016 in QEventDispatcherGlib::processEvents (this=0x11ba670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#52 0x00007f70a916b13e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f70a9d1e38f in QEventLoop::processEvents (this=this@entry=0x7fff3f2c5e20, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f70a9d1e618 in QEventLoop::exec (this=this@entry=0x7fff3f2c5e20, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007f70a9d23cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#56 0x00007f70a90c3ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x00007f7095b08e30 in kdemain (argc=1, argv=0x122be40) at ../../kded/kded.cpp:925
#58 0x00000000004084ea in launch (argc=argc@entry=1, _name=_name@entry=0x40b167 "kded4", args=args@entry=0x0, cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x0, reset_env=reset_env@entry=false, tty=tty@entry=0x0, avoid_loops=avoid_loops@entry=false, startup_id_str=startup_id_str@entry=0x40aff6 "0") at ../../kinit/kinit.cpp:738
#59 0x0000000000405b69 in main (argc=4, argv=<optimized out>, envp=0x7fff3f2c6aa0) at ../../kinit/kinit.cpp:1853

Reported using DrKonqi
Comment 1 Andrea Scarpino 2013-10-28 10:59:35 UTC
*** Bug 325691 has been marked as a duplicate of this bug. ***
Comment 2 Andrea Scarpino 2013-10-28 11:02:20 UTC
I guess this has been fixed by fc45b64362f8e335ac0ee2b1a1b7b87d27823127
Comment 3 Andreas Hencke 2013-10-28 15:55:16 UTC
Thanks for your answer!
In the meantime I installed Kubuntu 13.10, no problems here