Bug 340492 - kded crashed in KScreen just after boot/login
Summary: kded crashed in KScreen just after boot/login
Status: RESOLVED DUPLICATE of bug 327075
Alias: None
Product: KScreen
Classification: Plasma
Component: kded (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Alex Fiestas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-30 12:25 UTC by Sektor van Skijlen
Modified: 2014-10-30 12:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sektor van Skijlen 2014-10-30 12:25:48 UTC
Application: kded4 (4.13.3)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-36-generic i686
Distribution: Ubuntu 14.04.1 LTS

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

After entering credentials to log in to KDE, I let it do startup things, and switched to a text console (Alt-Ctrl-F1). I was keeping the text console for kind-of 10 minutes, after which I have switched by Alt-F8 back to the X console. This time I saw the crash report.

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

Thread 6 (Thread 0xadff0b40 (LWP 2288)):
#0  0xb778c0b2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0xb600556b in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb59d320b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb59c43e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb59c4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6e1d95f in QEventDispatcherGlib::processEvents (this=0xad600468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb6dec823 in QEventLoop::processEvents (this=this@entry=0xadff0288, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6decb49 in QEventLoop::exec (this=this@entry=0xadff0288, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6cd923d in QThread::exec (this=this@entry=0x92353a8) at thread/qthread.cpp:537
#9  0xb6cd938b in QThread::run (this=0x92353a8) at thread/qthread.cpp:604
#10 0xb6cdbb6f in QThreadPrivate::start (arg=0x92353a8) at thread/qthread_unix.cpp:349
#11 0xb5a94f70 in start_thread (arg=0xadff0b40) at pthread_create.c:312
#12 0xb60144ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0xaa398b40 (LWP 2298)):
#0  0xb779cccc in ___tls_get_addr (ti=0xb6f5ad10) at dl-tls.c:772
#1  0xb6cda7f3 in get_thread_data () at thread/qthread_unix.cpp:188
#2  QThreadData::current () at thread/qthread_unix.cpp:219
#3  0xb6e1dd9b in postEventSourcePrepare (s=0xa9202800, timeout=0xaa3980fc) at kernel/qeventdispatcher_glib.cpp:263
#4  0xb59c39b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb59c42df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb59c4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb6e1d95f in QEventDispatcherGlib::processEvents (this=0xa9200468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#8  0xb6dec823 in QEventLoop::processEvents (this=this@entry=0xaa398268, flags=...) at kernel/qeventloop.cpp:149
#9  0xb6decb49 in QEventLoop::exec (this=this@entry=0xaa398268, flags=...) at kernel/qeventloop.cpp:204
#10 0xb6cd923d in QThread::exec (this=0x928a0b0) at thread/qthread.cpp:537
#11 0xae4608c7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#12 0xb6cdbb6f in QThreadPrivate::start (arg=0x928a0b0) at thread/qthread_unix.cpp:349
#13 0xb5a94f70 in start_thread (arg=0xaa398b40) at pthread_create.c:312
#14 0xb60144ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0xa9b97b40 (LWP 2299)):
#0  0xb5a9812e in __pthread_mutex_unlock_usercnt (mutex=0x92bbb08, decr=1) at pthread_mutex_unlock.c:57
#1  0xb60218f4 in pthread_mutex_unlock (mutex=0x92bbb08) at forward.c:194
#2  0xb5a09120 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb59c3dbf in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb59c437a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb59c4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb6e1d95f in QEventDispatcherGlib::processEvents (this=0x92a1290, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb6dec823 in QEventLoop::processEvents (this=this@entry=0xa9b97288, flags=...) at kernel/qeventloop.cpp:149
#8  0xb6decb49 in QEventLoop::exec (this=this@entry=0xa9b97288, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6cd923d in QThread::exec (this=this@entry=0x915f5f8) at thread/qthread.cpp:537
#10 0xb6cd938b in QThread::run (this=0x915f5f8) at thread/qthread.cpp:604
#11 0xb6cdbb6f in QThreadPrivate::start (arg=0x915f5f8) at thread/qthread_unix.cpp:349
#12 0xb5a94f70 in start_thread (arg=0xa9b97b40) at pthread_create.c:312
#13 0xb60144ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0xa91ffb40 (LWP 2301)):
#0  0xb600556f in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0xb59d320b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb59c43e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb59c4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb6e1d95f in QEventDispatcherGlib::processEvents (this=0xa9204428, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0xb6dec823 in QEventLoop::processEvents (this=this@entry=0xa91ff258, flags=...) at kernel/qeventloop.cpp:149
#6  0xb6decb49 in QEventLoop::exec (this=this@entry=0xa91ff258, flags=...) at kernel/qeventloop.cpp:204
#7  0xb6cd923d in QThread::exec (this=this@entry=0x93a8ab8) at thread/qthread.cpp:537
#8  0xb6dccc44 in QInotifyFileSystemWatcherEngine::run (this=0x93a8ab8) at io/qfilesystemwatcher_inotify.cpp:265
#9  0xb6cdbb6f in QThreadPrivate::start (arg=0x93a8ab8) at thread/qthread_unix.cpp:349
#10 0xb5a94f70 in start_thread (arg=0xa91ffb40) at pthread_create.c:312
#11 0xb60144ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0xa887db40 (LWP 2474)):
#0  0xb5a08d0e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb5a09118 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb59c4280 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb59c476b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xa895d36a in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#5  0xb59ea9aa in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb5a94f70 in start_thread (arg=0xa887db40) at pthread_create.c:312
#7  0xb60144ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xb56b4740 (LWP 2286)):
[KCrash Handler]
#7  0xad775dc2 in KScreen::Mode::size() const () from /usr/lib/libkscreen.so.1
#8  0xae06ab0f in Generator::biggestOutput (this=0x934b550, outputs=...) at /build/buildd/kscreen-1.0.2.1/kded/generator.cpp:474
#9  0xae06ad55 in Generator::extendToRight (this=0x934b550, outputs=...) at /build/buildd/kscreen-1.0.2.1/kded/generator.cpp:392
#10 0xae06d796 in Generator::idealConfig (this=0x934b550) at /build/buildd/kscreen-1.0.2.1/kded/generator.cpp:93
#11 0xae0648ab in KScreenDaemon::applyIdealConfig (this=0x9348130) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:118
#12 0xae064b4f in KScreenDaemon::applyConfig (this=this@entry=0x9348130) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:98
#13 0xae064c01 in KScreenDaemon::init (this=0x9348130) at /build/buildd/kscreen-1.0.2.1/kded/daemon.cpp:87
#14 0xae064dc8 in KScreenDaemon::qt_static_metacall (_o=0x0, _id=134562561, _a=0xbfa28008, _c=<optimized out>) at /build/buildd/kscreen-1.0.2.1/obj-i686-linux-gnu/kded/daemon.moc:81
#15 0xb6e030f7 in QMetaObject::activate (sender=sender@entry=0x934b550, m=m@entry=0xae075d58 <Generator::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#16 0xae06a37e in ready (this=this@entry=0x934b550) at /build/buildd/kscreen-1.0.2.1/obj-i686-linux-gnu/kded/generator.moc:98
#17 Generator::qt_static_metacall (_o=_o@entry=0x934b550, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfa280c8) at /build/buildd/kscreen-1.0.2.1/obj-i686-linux-gnu/kded/generator.moc:49
#18 0xb6e030f7 in QMetaObject::activate (sender=0x934aeb8, sender@entry=0x936b0d0, m=m@entry=0xae075db8 <Device::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#19 0xae06ee65 in ready (this=0x936b0d0) at /build/buildd/kscreen-1.0.2.1/obj-i686-linux-gnu/kded/device.moc:113
#20 Device::setReady (this=this@entry=0x934aeb8) at /build/buildd/kscreen-1.0.2.1/kded/device.cpp:80
#21 0xae06fb10 in setReady (this=0x934aeb8) at /build/buildd/kscreen-1.0.2.1/kded/device.cpp:75
#22 Device::isLaptopFetched (this=0x934aeb8, watcher=0x936b0d0) at /build/buildd/kscreen-1.0.2.1/kded/device.cpp:122
#23 0xae070381 in Device::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0xbfa28278, _c=<optimized out>) at /build/buildd/kscreen-1.0.2.1/obj-i686-linux-gnu/kded/device.moc:64
#24 0xb6e030f7 in QMetaObject::activate (sender=sender@entry=0x936b0d0, m=m@entry=0xb5c03b58 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0xbfa28278) at kernel/qobject.cpp:3539
#25 0xb5be3835 in QDBusPendingCallWatcher::finished (this=0x936b0d0, _t1=0x936b0d0) at .moc/release-shared/moc_qdbuspendingcall.cpp:105
#26 0xb5be387c in _q_finished (this=<optimized out>) at qdbuspendingcall.cpp:491
#27 QDBusPendingCallWatcher::qt_static_metacall (_o=0x936b0d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x9340120) at .moc/release-shared/moc_qdbuspendingcall.cpp:54
#28 0xb6dff8aa in QMetaCallEvent::placeMetaCall (this=0x9495418, object=0x936b0d0) at kernel/qobject.cpp:524
#29 0xb6e076fb in QObject::event (this=0x936b0d0, e=0x9495418) at kernel/qobject.cpp:1194
#30 0xb62fa7f4 in QApplicationPrivate::notify_helper (this=0x9163820, receiver=0x936b0d0, e=0x9495418) at kernel/qapplication.cpp:4567
#31 0xb63012d3 in QApplication::notify (this=0xbfa2916c, receiver=receiver@entry=0x936b0d0, e=e@entry=0x9495418) at kernel/qapplication.cpp:4353
#32 0xb751a1f4 in KApplication::notify (this=0xbfa2916c, receiver=0x936b0d0, event=0x9495418) at ../../kdeui/kernel/kapplication.cpp:311
#33 0xb6dede4a in QCoreApplication::notifyInternal (this=0xbfa2916c, receiver=receiver@entry=0x936b0d0, event=event@entry=0x9495418) at kernel/qcoreapplication.cpp:953
#34 0xb6df170d in sendEvent (event=0x9495418, receiver=0x936b0d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x90ebf80) at kernel/qcoreapplication.cpp:1577
#36 0xb6df1c1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#37 0xb6e1e23e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#38 postEventSourceDispatch (s=0x9163b80) at kernel/qeventdispatcher_glib.cpp:287
#39 0xb59c41e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#40 0xb59c4468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0xb59c4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0xb6e1d93b in QEventDispatcherGlib::processEvents (this=this@entry=0x90ed328, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#43 0xb63af5de in QGuiEventDispatcherGlib::processEvents (this=0x90ed328, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb6dec823 in QEventLoop::processEvents (this=this@entry=0xbfa28828, flags=...) at kernel/qeventloop.cpp:149
#45 0xb6decb49 in QEventLoop::exec (this=this@entry=0xbfa28828, flags=...) at kernel/qeventloop.cpp:204
#46 0xad703d15 in KAuth::Polkit1Backend::actionExists (this=0x94391b0, action=...) at ../../kdecore/auth/backends/polkit-1/Polkit1Backend.cpp:210
#47 0xb7091fa6 in KAuth::Action::setName (this=0xbfa28954, name=...) at ../../kdecore/auth/kauthaction.cpp:110
#48 0xb709203d in KAuth::Action::Action (this=0xbfa28954, name=...) at ../../kdecore/auth/kauthaction.cpp:61
#49 0xad724270 in PowerDevilUPowerBackend::init (this=0x93913a8) at ../../../powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp:165
#50 0xad5a6002 in PowerDevil::Core::loadCore (this=0x92cc920, backend=backend@entry=0x93913a8) at ../../../powerdevil/daemon/powerdevilcore.cpp:85
#51 0xad71beac in KDEDPowerDevil::init (this=0x9351be8) at ../../../powerdevil/daemon/kdedpowerdevil.cpp:89
#52 0xad71c3a0 in KDEDPowerDevil::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at ./kdedpowerdevil.moc:49
#53 0xb6dff8aa in QMetaCallEvent::placeMetaCall (this=0x934e048, object=0x9351be8) at kernel/qobject.cpp:524
#54 0xb6e076fb in QObject::event (this=0x9351be8, e=0x934e048) at kernel/qobject.cpp:1194
#55 0xb62fa7f4 in QApplicationPrivate::notify_helper (this=0x9163820, receiver=0x9351be8, e=0x934e048) at kernel/qapplication.cpp:4567
#56 0xb63012d3 in QApplication::notify (this=0xbfa2916c, receiver=receiver@entry=0x9351be8, e=e@entry=0x934e048) at kernel/qapplication.cpp:4353
#57 0xb751a1f4 in KApplication::notify (this=0xbfa2916c, receiver=0x9351be8, event=0x934e048) at ../../kdeui/kernel/kapplication.cpp:311
#58 0xb6dede4a in QCoreApplication::notifyInternal (this=0xbfa2916c, receiver=receiver@entry=0x9351be8, event=event@entry=0x934e048) at kernel/qcoreapplication.cpp:953
#59 0xb6df170d in sendEvent (event=0x934e048, receiver=0x9351be8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x90ebf80) at kernel/qcoreapplication.cpp:1577
#61 0xb6df1c1c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#62 0xb6e1e23e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#63 postEventSourceDispatch (s=0x9163b80) at kernel/qeventdispatcher_glib.cpp:287
#64 0xb59c41e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#65 0xb59c4468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#66 0xb59c4528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#67 0xb6e1d93b in QEventDispatcherGlib::processEvents (this=this@entry=0x90ed328, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#68 0xb63af5de in QGuiEventDispatcherGlib::processEvents (this=0x90ed328, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#69 0xb6dec823 in QEventLoop::processEvents (this=this@entry=0xbfa29088, flags=...) at kernel/qeventloop.cpp:149
#70 0xb6decb49 in QEventLoop::exec (this=this@entry=0xbfa29088, flags=...) at kernel/qeventloop.cpp:204
#71 0xb6df28fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#72 0xb62f8a24 in QApplication::exec () at kernel/qapplication.cpp:3828
#73 0xb54abb17 in kdemain (argc=1, argv=0x914b680) at ../../kded/kded.cpp:940
#74 0x0804f729 in launch (argc=<optimized out>, argc@entry=1, _name=_name@entry=0x805237b "kded4", args=<optimized out>, 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=0x805220a "0") at ../../kinit/kinit.cpp:738
#75 0x0804c8e0 in main (argc=4, argv=0xbfa296b4, envp=0xbfa296c8) at ../../kinit/kinit.cpp:1853


I found something that may look similar here, but the exact point of crash is different:
https://bugs.kde.org/show_bug.cgi?id=327044

Reproducible: Didn't try

Steps to Reproduce:
Log in in KDE just after booting the system, then switch to a text console and wait ~10 minutes.
Comment 1 Christoph Feck 2014-10-30 12:48:16 UTC
Please update to KScreen 1.0.5.

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