Bug 343293

Summary: kded5 crashes during/after s2ram
Product: [Frameworks and Libraries] frameworks-kded Reporter: Christian Trippe <christiandehne>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdelibs-bugs, tajidinabd
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Trippe 2015-01-25 18:11:49 UTC
Application: kded5 ()

Qt Version: 5.4.0
Operating System: Linux 3.16.7-7-desktop x86_64
Distribution: "openSUSE 13.2 (Harlequin) (x86_64)"

-- Information about the crash:
When I trigger a s2ram via closing the lid and the resume, I am confronted with DrKonqi telling me kded5 has crashed. The crash happens every time.

The crash can be reproduced every time.

-- Backtrace:
Application: kded5 (kded5), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff0b7b5c780 (LWP 5849))]

Thread 2 (Thread 0x7ff0ab222700 (LWP 5850)):
#0  0x00007ff0b749f3cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff0b15f9322 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007ff0b15fadef in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007ff0ad772bf9 in ?? () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007ff0b50376ff in QThreadPrivate::start (arg=0x2432ff0) at thread/qthread_unix.cpp:337
#5  0x00007ff0b4a730a4 in start_thread (arg=0x7ff0ab222700) at pthread_create.c:309
#6  0x00007ff0b74a77fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ff0b7b5c780 (LWP 5849)):
[KCrash Handler]
#5  ref (this=<optimized out>) at ../../src/corelib/arch/qatomic_x86_64.h:121
#6  QList (this=0x7ff07c3dd438 <QPrinterInfoPrivate::shared_null+24>) at ../../src/corelib/tools/qlist.h:121
#7  QPrinterInfoPrivate (name=..., this=0x7ff07c3dd420 <QPrinterInfoPrivate::shared_null>) at painting/qprinterinfo_p.h:71
#8  __static_initialization_and_destruction_0 (__initialize_p=1, __priority=65535) at painting/qprinterinfo.cpp:35
#9  _GLOBAL__sub_I_qprinterinfo.cpp(void) () at painting/qprinterinfo.cpp:163
#10 0x00007ff0b798b92a in call_init (l=<optimized out>, argc=argc@entry=1, argv=argv@entry=0x7fff6a1a6798, env=env@entry=0x2417bb0) at dl-init.c:78
#11 0x00007ff0b798ba13 in call_init (env=0x2417bb0, argv=0x7fff6a1a6798, argc=1, l=<optimized out>) at dl-init.c:36
#12 _dl_init (main_map=main_map@entry=0x27e9220, argc=1, argv=0x7fff6a1a6798, env=0x2417bb0) at dl-init.c:126
#13 0x00007ff0b798fb48 in dl_open_worker (a=a@entry=0x7fff6a1a4828) at dl-open.c:566
#14 0x00007ff0b798b7e4 in _dl_catch_error (objname=objname@entry=0x7fff6a1a4818, errstring=errstring@entry=0x7fff6a1a4820, mallocedp=mallocedp@entry=0x7fff6a1a4817, operate=operate@entry=0x7ff0b798f870 <dl_open_worker>, args=args@entry=0x7fff6a1a4828) at dl-error.c:187
#15 0x00007ff0b798f33b in _dl_open (file=0x27e91a0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=-2147483647, caller_dlopen=<optimized out>, nsid=-2, argc=1, argv=0x7fff6a1a6798, env=0x2417bb0) at dl-open.c:650
#16 0x00007ff0b1e8902b in dlopen_doit (a=a@entry=0x7fff6a1a4a40) at dlopen.c:66
#17 0x00007ff0b798b7e4 in _dl_catch_error (objname=0x2420130, errstring=0x2420138, mallocedp=0x2420128, operate=0x7ff0b1e88fd0 <dlopen_doit>, args=0x7fff6a1a4a40) at dl-error.c:187
#18 0x00007ff0b1e895dd in _dlerror_run (operate=operate@entry=0x7ff0b1e88fd0 <dlopen_doit>, args=args@entry=0x7fff6a1a4a40) at dlerror.c:163
#19 0x00007ff0b1e890c1 in __dlopen (file=file@entry=0x27e91a0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", mode=<optimized out>) at dlopen.c:87
#20 0x00007ff08115659f in module_Load (p_this=p_this@entry=0x26f97c8, path=path@entry=0x27e91a0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", p_handle=p_handle@entry=0x7fff6a1a4a98, lazy=<optimized out>) at posix/plugin.c:60
#21 0x00007ff08113fd5d in module_InitDynamic (obj=0x26f97c8, path=0x27e91a0 "/usr/lib64/vlc/plugins/gui/libqt4_plugin.so", fast=<optimized out>) at modules/bank.c:586
#22 0x00007ff081140057 in AllocatePluginFile (st=<optimized out>, relpath=<optimized out>, abspath=<optimized out>, bank=<optimized out>) at modules/bank.c:529
#23 AllocatePluginDir (bank=0x7fff6a1a4cf0, maxdepth=1780115352, absdir=0x2417b01 "", reldir=0x27cedf0 "gui") at modules/bank.c:490
#24 0x00007ff0811402c9 in AllocatePluginDir (bank=0x7fff6a1a4cf0, maxdepth=1780115352, maxdepth@entry=5, absdir=0x2417b01 "", absdir@entry=0x2736820 "/usr/lib64/vlc/plugins", reldir=0x0) at modules/bank.c:494
#25 0x00007ff081140534 in AllocatePluginPath (p_this=p_this@entry=0x26f97c8, path=0x2736820 "/usr/lib64/vlc/plugins", mode=mode@entry=CACHE_USE) at modules/bank.c:403
#26 0x00007ff081140a87 in AllocateAllPlugins (p_this=0x26f97c8) at modules/bank.c:330
#27 module_LoadPlugins (obj=obj@entry=0x26f97c8) at modules/bank.c:186
#28 0x00007ff0810d849d in libvlc_InternalInit (p_libvlc=p_libvlc@entry=0x26f97c8, i_argc=i_argc@entry=11, ppsz_argv=ppsz_argv@entry=0x7fff6a1a4e70) at libvlc.c:159
#29 0x00007ff080eadcb3 in libvlc_new (argc=10, argv=<optimized out>) at core.c:59
#30 0x00007ff0813dfc12 in LibVLC::init () at /usr/src/debug/phonon-backend-vlc-0.8.2/src/utils/libvlc.cpp:117
#31 0x00007ff0813c0fa5 in Phonon::VLC::Backend::Backend (this=0x26e11b0, parent=<optimized out>) at /usr/src/debug/phonon-backend-vlc-0.8.2/src/backend.cpp:90
#32 0x00007ff0813e295d in qt_plugin_instance () at /usr/src/debug/phonon-backend-vlc-0.8.2/build/src/moc_backend.cpp:238
#33 0x00007ff0b51fad71 in QPluginLoader::instance (this=this@entry=0x7fff6a1a5330) at plugin/qpluginloader.cpp:192
#34 0x00007ff0a30d1fa0 in Phonon::FactoryPrivate::tryCreateBackend (this=this@entry=0x2703810, path=...) at /usr/src/debug/phonon-4.8.3/phonon/factory.cpp:117
#35 0x00007ff0a30d3a14 in Phonon::FactoryPrivate::createSuitableBackend (this=this@entry=0x2703810, libPath=..., plugins=...) at /usr/src/debug/phonon-4.8.3/phonon/factory.cpp:219
#36 0x00007ff0a30d42f1 in Phonon::FactoryPrivate::createBackend (this=0x2703810) at /usr/src/debug/phonon-4.8.3/phonon/factory.cpp:303
#37 0x00007ff0a30d4b1d in Phonon::Factory::backend (createWhenNull=createWhenNull@entry=true) at /usr/src/debug/phonon-4.8.3/phonon/factory.cpp:576
#38 0x00007ff0a30d5003 in Phonon::Factory::createAudioOutput (parent=0x24b3630) at /usr/src/debug/phonon-4.8.3/phonon/factory.cpp:470
#39 0x00007ff0a30cae09 in Phonon::AudioOutputPrivate::createBackendObject (this=0x26e7fe0) at /usr/src/debug/phonon-4.8.3/phonon/audiooutput.cpp:133
#40 0x00007ff0a30c867c in Phonon::AudioOutputPrivate::init (this=0x26e7fe0, c=Phonon::NotificationCategory) at /usr/src/debug/phonon-4.8.3/phonon/audiooutput.cpp:100
#41 0x00007ff0a9c8c521 in NotifyByAudio::NotifyByAudio (this=0x26ef1f0, parent=<optimized out>) at /usr/src/debug/knotifications-5.6.0/src/notifybyaudio.cpp:41
#42 0x00007ff0a9c73d22 in KNotificationManager::KNotificationManager (this=0x7ff0a9ea3eb0 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>) at /usr/src/debug/knotifications-5.6.0/src/knotificationmanager.cpp:72
#43 0x00007ff0a9c74861 in KNotificationManagerSingleton (this=0x7ff0a9ea3eb0 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>) at /usr/src/debug/knotifications-5.6.0/src/knotificationmanager.cpp:49
#44 Holder (this=0x7ff0a9ea3eb0 <(anonymous namespace)::Q_QGS_s_self::innerFunction()::holder>) at /usr/src/debug/knotifications-5.6.0/src/knotificationmanager.cpp:55
#45 innerFunction () at /usr/src/debug/knotifications-5.6.0/src/knotificationmanager.cpp:55
#46 operator() (this=<optimized out>) at /usr/include/qt5/QtCore/qglobalstatic.h:129
#47 KNotificationManager::self () at /usr/src/debug/knotifications-5.6.0/src/knotificationmanager.cpp:59
#48 0x00007ff0a9c71c3d in KNotification::sendEvent (this=this@entry=0x26f0310) at /usr/src/debug/knotifications-5.6.0/src/knotification.cpp:384
#49 0x00007ff09808d380 in Notification::onActiveConnectionStateChanged (this=0x26adcf0, state=<optimized out>) at /usr/src/debug/plasma-nm-5.1.95/kded/notification.cpp:357
#50 0x00007ff0b5241441 in QMetaObject::activate (sender=sender@entry=0x25b4020, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7fff6a1a5ae0) at kernel/qobject.cpp:3716
#51 0x00007ff0b5241a67 in QMetaObject::activate (sender=sender@entry=0x25b4020, m=m@entry=0x7ff08bb09560 <NetworkManager::ActiveConnection::staticMetaObject>, local_signal_index=local_signal_index@entry=11, argv=argv@entry=0x7fff6a1a5ae0) at kernel/qobject.cpp:3582
#52 0x00007ff08b8bae71 in NetworkManager::ActiveConnection::stateChanged (this=this@entry=0x25b4020, _t1=NetworkManager::ActiveConnection::Deactivated) at /usr/src/debug/networkmanager-qt-5.6.0/build/src/moc_activeconnection.cpp:360
#53 0x00007ff08b82e1ec in NetworkManager::ActiveConnectionPrivate::propertiesChanged (this=0x27034a0, properties=...) at /usr/src/debug/networkmanager-qt-5.6.0/src/activeconnection.cpp:321
#54 0x00007ff0b5240ebf in call (a=0x7fff6a1a5d80, r=0x27034a0, this=0x262d9f0) at ../../src/corelib/kernel/qobject_impl.h:124
#55 QMetaObject::activate (sender=0x27034d8, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=argv@entry=0x7fff6a1a5d80) at kernel/qobject.cpp:3702
#56 0x00007ff0b5241a67 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ff08bb09260 <OrgFreedesktopNetworkManagerConnectionActiveInterface::staticMetaObject>, local_signal_index=<optimized out>, argv=argv@entry=0x7fff6a1a5d80) at kernel/qobject.cpp:3582
#57 0x00007ff08b8c0218 in PropertiesChanged (_t1=..., this=<optimized out>) at /usr/src/debug/networkmanager-qt-5.6.0/build/src/moc_nm-active-connectioninterface.cpp:222
#58 OrgFreedesktopNetworkManagerConnectionActiveInterface::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/networkmanager-qt-5.6.0/build/src/moc_nm-active-connectioninterface.cpp:110
#59 0x00007ff08b8c79cf in OrgFreedesktopNetworkManagerConnectionActiveInterface::qt_metacall (this=0x27034d8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff6a1a5f10) at /usr/src/debug/networkmanager-qt-5.6.0/build/src/moc_nm-active-connectioninterface.cpp:166
#60 0x00007ff0b5feb69f in QDBusConnectionPrivate::deliverCall (this=0x2561200, object=0x27034d8, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:990
#61 0x00007ff0b5242246 in QObject::event (this=0x27034d8, e=<optimized out>) at kernel/qobject.cpp:1245
#62 0x00007ff0b6cb01dc in QApplicationPrivate::notify_helper (this=this@entry=0x2417e90, receiver=receiver@entry=0x27034d8, e=e@entry=0x267ad10) at kernel/qapplication.cpp:3722
#63 0x00007ff0b6cb51f0 in QApplication::notify (this=0x7fff6a1a6630, receiver=0x27034d8, e=0x267ad10) at kernel/qapplication.cpp:3505
#64 0x00007ff0b5211be5 in QCoreApplication::notifyInternal (this=0x7fff6a1a6630, receiver=0x27034d8, event=event@entry=0x267ad10) at kernel/qcoreapplication.cpp:932
#65 0x00007ff0b5213a7f in sendEvent (event=0x267ad10, receiver=<optimized out>) at kernel/qcoreapplication.h:228
#66 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2418000) at kernel/qcoreapplication.cpp:1536
#67 0x00007ff0b52140b8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1394
#68 0x00007ff0b5269a93 in postEventSourceDispatch (s=0x247ad30) at kernel/qeventdispatcher_glib.cpp:271
#69 0x00007ff0b4557a04 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#70 0x00007ff0b4557c48 in ?? () from /usr/lib64/libglib-2.0.so.0
#71 0x00007ff0b4557cec in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#72 0x00007ff0b5268f0c in QEventDispatcherGlib::processEvents (this=0x2460360, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#73 0x00007ff0b520fb4b in QEventLoop::exec (this=this@entry=0x7fff6a1a6560, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#74 0x00007ff0b52171b6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185
#75 0x00007ff0b7775a9a in kdemain (argc=1, argv=<optimized out>) at /usr/src/debug/kded-5.6.0/src/kded.cpp:827
#76 0x00007ff0b73e3b05 in __libc_start_main (main=0x4007c0 <main(int, char**)>, argc=1, argv=0x7fff6a1a6798, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6a1a6788) at libc-start.c:285
#77 0x00000000004007ee in _start () at ../sysdeps/x86_64/start.S:122

Reported using DrKonqi
Comment 1 Christian Trippe 2015-01-25 18:19:10 UTC
This is for kded 5.6 (I hope I picked the right component, as DrKonqi seems to assign everything to the kde product.)
Comment 2 Tajidin Abd 2015-01-25 20:49:46 UTC
I can confirm this symptom in Archlinux git build. On resuming kded5 is crashing on me I can not get a backtrace but I can say this symptom after I applied the fix from https://bugs.kde.org/show_bug.cgi?id=337674

Before kded5 was taking one core from laptop but now it crashes from resume and occasionally on restarts and starts.
Comment 3 Christoph Feck 2015-01-26 13:11:01 UTC

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