Bug 328535 - KDE Desktop crash at startup
Summary: KDE Desktop crash at startup
Status: RESOLVED DUPLICATE of bug 345618
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: powermanagement (show other bugs)
Version: 4.10.5
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords: drkonqi
: 333371 335185 335512 336966 338868 341641 376545 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-08 11:02 UTC by alpenadiver
Modified: 2018-05-02 06:47 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.92 KB, text/plain)
2014-06-04 07:36 UTC, Robert Munteanu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alpenadiver 2013-12-08 11:02:01 UTC
Application: kded4 (4.10.5)
KDE Platform Version: 4.10.5 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.9-100.fc18.x86_64 x86_64
Distribution: "Fedora release 18 (Spherical Cow)"

-- Information about the crash:
- What I was doing when the application crashed:
Starting up Fedora 18, once KDE loaded the crash report showed up.

-- Backtrace:
Application: KDE Daemon (kded4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f08d36e6880 (LWP 1097))]

Thread 5 (Thread 0x7f08c6b2d700 (LWP 1106)):
#0  0x00007fff8f1feaf7 in clock_gettime ()
#1  0x00000034c860413d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x0000003ef82d1904 in do_gettime (frac=0x7f08c6b2c968, sec=0x7f08c6b2c960) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x0000003ef83a6f9d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f08c0002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x0000003ef83a72e3 in QTimerInfoList::timerWait (this=0x7f08c0002860, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x0000003ef83a5ccc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f08c6b2ca54) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003ef83a5d75 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f08c6b2ca54) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00000034cb2475b8 in g_main_context_prepare (context=context@entry=0x7f08c00009d0, priority=priority@entry=0x7f08c6b2cab8) at gmain.c:2986
#9  0x00000034cb247c4b in g_main_context_iterate (context=context@entry=0x7f08c00009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#10 0x00000034cb247e44 in g_main_context_iteration (context=0x7f08c00009d0, may_block=1) at gmain.c:3351
#11 0x0000003ef83a6696 in QEventDispatcherGlib::processEvents (this=0x7f08c00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x0000003ef83769ff in QEventLoop::processEvents (this=this@entry=0x7f08c6b2cc10, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003ef8376c88 in QEventLoop::exec (this=0x7f08c6b2cc10, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003ef82789a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#15 0x0000003ef835722f in QInotifyFileSystemWatcherEngine::run (this=0x171bc30) at io/qfilesystemwatcher_inotify.cpp:256
#16 0x0000003ef827b97c in QThreadPrivate::start (arg=0x171bc30) at thread/qthread_unix.cpp:338
#17 0x00000034d36aa764 in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#18 0x00000034c7e07d15 in start_thread (arg=0x7f08c6b2d700) at pthread_create.c:308
#19 0x00000034c76f253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 4 (Thread 0x7f08b65e9700 (LWP 1174)):
#0  0x00000034c76e57ad in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000034d36a974c in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#2  0x00000034d5e01be7 in ?? () from /usr/lib64/nvidia-304xx/tls/libnvidia-tls.so.304.88
#3  0x00000034cb2840df in read (__nbytes=16, __buf=0x7f08b65e8b90, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#4  g_wakeup_acknowledge (wakeup=0x15a3280) at gwakeup.c:212
#5  0x00000034cb2478b4 in g_main_context_check (context=context@entry=0x15a04b0, max_priority=2147483647, fds=fds@entry=0x7f08ac0010f0, n_fds=n_fds@entry=3) at gmain.c:3129
#6  0x00000034cb247cc2 in g_main_context_iterate (context=0x15a04b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3287
#7  0x00000034cb248182 in g_main_loop_run (loop=0x15a0440) at gmain.c:3484
#8  0x00000034d22cc546 in gdbus_shared_thread_func (user_data=0x15a0480) at gdbusprivate.c:277
#9  0x00000034cb26b605 in g_thread_proxy (data=0x17deb20) at gthread.c:797
#10 0x00000034d36aa764 in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#11 0x00000034c7e07d15 in start_thread (arg=0x7f08b65e9700) at pthread_create.c:308
#12 0x00000034c76f253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 3 (Thread 0x7f08b5bdc700 (LWP 1181)):
#0  0x00000034c76e9a5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00000034cb247d24 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f08a8003b10, timeout=-1, context=0x7f08a80009d0) at gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7f08a80009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3285
#3  0x00000034cb247e44 in g_main_context_iteration (context=0x7f08a80009d0, may_block=1) at gmain.c:3351
#4  0x0000003ef83a6696 in QEventDispatcherGlib::processEvents (this=0x7f08a80008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x0000003ef83769ff in QEventLoop::processEvents (this=this@entry=0x7f08b5bdbc00, flags=...) at kernel/qeventloop.cpp:149
#6  0x0000003ef8376c88 in QEventLoop::exec (this=0x7f08b5bdbc00, flags=...) at kernel/qeventloop.cpp:204
#7  0x0000003ef82789a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#8  0x00007f08c71c52d5 in KCupsConnection::run() () from /lib64/libkcupslib.so
#9  0x0000003ef827b97c in QThreadPrivate::start (arg=0x16ebce0) at thread/qthread_unix.cpp:338
#10 0x00000034d36aa764 in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#11 0x00000034c7e07d15 in start_thread (arg=0x7f08b5bdc700) at pthread_create.c:308
#12 0x00000034c76f253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 2 (Thread 0x7f08b53db700 (LWP 1182)):
#0  0x00007fff8f1feaf7 in clock_gettime ()
#1  0x00000034c860413d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x0000003ef82d1904 in do_gettime (frac=0x7f08b53da998, sec=0x7f08b53da990) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x0000003ef83a6f9d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f08a4002060) at kernel/qeventdispatcher_unix.cpp:354
#5  0x0000003ef83a72e3 in QTimerInfoList::timerWait (this=0x7f08a4002060, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x0000003ef83a5ccc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f08b53daa84) at kernel/qeventdispatcher_glib.cpp:136
#7  0x0000003ef83a5d75 in timerSourcePrepare (source=<optimized out>, timeout=timeout@entry=0x7f08b53daa84) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00000034cb2475b8 in g_main_context_prepare (context=context@entry=0x7f08a40009d0, priority=priority@entry=0x7f08b53daae8) at gmain.c:2986
#9  0x00000034cb247c4b in g_main_context_iterate (context=context@entry=0x7f08a40009d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3270
#10 0x00000034cb247e44 in g_main_context_iteration (context=0x7f08a40009d0, may_block=1) at gmain.c:3351
#11 0x0000003ef83a6696 in QEventDispatcherGlib::processEvents (this=0x7f08a40008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#12 0x0000003ef83769ff in QEventLoop::processEvents (this=this@entry=0x7f08b53dac40, flags=...) at kernel/qeventloop.cpp:149
#13 0x0000003ef8376c88 in QEventLoop::exec (this=0x7f08b53dac40, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003ef82789a0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#15 0x0000003ef827b97c in QThreadPrivate::start (arg=0x17eb850) at thread/qthread_unix.cpp:338
#16 0x00000034d36aa764 in ?? () from /usr/lib64/nvidia-304xx/libGL.so.1
#17 0x00000034c7e07d15 in start_thread (arg=0x7f08b53db700) at pthread_create.c:308
#18 0x00000034c76f253d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:114

Thread 1 (Thread 0x7f08d36e6880 (LWP 1097)):
[KCrash Handler]
#6  0x00007f08c885c593 in PowerDevil::Core::onResumingFromIdle (this=0x1539d80) at /usr/src/debug/kde-workspace-4.10.5/powerdevil/daemon/powerdevilcore.cpp:732
#7  0x00007f08c885c87b in qt_static_metacall (_c=QMetaObject::InvokeMetaMethod, _a=<optimized out>, _id=<optimized out>, _o=<optimized out>) at /usr/src/debug/kde-workspace-4.10.5/x86_64-redhat-linux-gnu/powerdevil/daemon/powerdevilcore.moc:154
#8  PowerDevil::Core::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kde-workspace-4.10.5/x86_64-redhat-linux-gnu/powerdevil/daemon/powerdevilcore.moc:110
#9  0x0000003ef838d31f in QMetaObject::activate (sender=0x190e8a0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#10 0x0000003f13c06bb8 in KIdleTimePrivate::_k_resumingFromIdle (this=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/kutils/kidletime/kidletime.cpp:231
#11 0x0000003ef838d31f in QMetaObject::activate (sender=0x190e930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#12 0x0000003f13c0a6d7 in x11Event (event=0x7fff8f13ea80, this=0x190e930) at /usr/src/debug/kdelibs-4.10.5/kutils/kidletime/xsyncbasedpoller.cpp:246
#13 XSyncBasedPoller::x11Event (this=0x190e930, event=0x7fff8f13ea80) at /usr/src/debug/kdelibs-4.10.5/kutils/kidletime/xsyncbasedpoller.cpp:218
#14 0x0000003f0d84830e in publicx11Event (e=<optimized out>, this=<optimized out>) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:918
#15 KApplication::x11EventFilter (this=0x41bf, _event=0x7fff8f13ea80) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:930
#16 0x0000003ef9c3620c in qt_x11EventFilter (ev=0x7fff8f13ea80) at kernel/qapplication_x11.cpp:435
#17 qt_x11EventFilter (ev=0x7fff8f13ea80) at kernel/qapplication_x11.cpp:423
#18 0x0000003ef9c440ab in QApplication::x11ProcessEvent (this=0x7fff8f13f0d0, event=0x7fff8f13ea80) at kernel/qapplication_x11.cpp:3373
#19 0x0000003ef9c6ac4c in x11EventSourceDispatch (s=s@entry=0x13d6120, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#20 0x00000034cb247a55 in g_main_dispatch (context=0x13d4e00) at gmain.c:2715
#21 g_main_context_dispatch (context=context@entry=0x13d4e00) at gmain.c:3219
#22 0x00000034cb247d88 in g_main_context_iterate (context=context@entry=0x13d4e00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3290
#23 0x00000034cb247e44 in g_main_context_iteration (context=0x13d4e00, may_block=1) at gmain.c:3351
#24 0x0000003ef83a6696 in QEventDispatcherGlib::processEvents (this=0x1398af0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#25 0x0000003ef9c6a92e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#26 0x0000003ef83769ff in QEventLoop::processEvents (this=this@entry=0x7fff8f13ee50, flags=...) at kernel/qeventloop.cpp:149
#27 0x0000003ef8376c88 in QEventLoop::exec (this=0x7fff8f13ee50, flags=...) at kernel/qeventloop.cpp:204
#28 0x0000003ef837bcb8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#29 0x0000003f0ba08510 in kdemain (argc=1, argv=0x7fff8f13f218) at /usr/src/debug/kdelibs-4.10.5/kded/kded.cpp:925
#30 0x00000034c7621a05 in __libc_start_main (main=0x4007e0 <main(int, char**)>, argc=1, ubp_av=0x7fff8f13f218, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff8f13f208) at libc-start.c:225
#31 0x0000000000400811 in _start ()

Possible duplicates by query: bug 300605.

Reported using DrKonqi
Comment 1 Christoph Feck 2014-04-13 12:53:48 UTC
*** Bug 333371 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2014-05-23 02:00:45 UTC
*** Bug 335185 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2014-05-30 02:43:36 UTC
*** Bug 335512 has been marked as a duplicate of this bug. ***
Comment 4 Robert Munteanu 2014-06-04 07:36:27 UTC
Created attachment 87002 [details]
New crash information added by DrKonqi

kded4 (4.11.5) on KDE Platform 4.11.5 using Qt 4.8.5

- What I was doing when the application crashed:

Recently plugged in the laptop to AC. Nothing special over than that.

-- Backtrace (Reduced):
#6  0x00007f8b5074fb46 in PowerDevil::Core::onResumingFromIdle() () from /usr/lib64/libpowerdevilcore.so.0
[...]
#9  0x00007f8b50530e00 in KIdleTime::resumingFromIdle (this=this@entry=0xab13e0) at /usr/src/debug/kdelibs-4.11.5/build/kutils/kidletime.moc:123
#10 0x00007f8b50530e18 in KIdleTimePrivate::_k_resumingFromIdle (this=<optimized out>) at /usr/src/debug/kdelibs-4.11.5/kutils/kidletime/kidletime.cpp:231
[...]
#12 0x00007f8b50531f90 in AbstractSystemPoller::resumingFromIdle (this=this@entry=0xd9fdc0) at /usr/src/debug/kdelibs-4.11.5/build/kutils/abstractsystempoller.moc:121
#13 0x00007f8b50533c37 in XSyncBasedPoller::x11Event (this=0xd9fdc0, event=0x7fff8a366610) at /usr/src/debug/kdelibs-4.11.5/kutils/kidletime/xsyncbasedpoller.cpp:246
Comment 5 Christoph Feck 2014-07-02 20:04:07 UTC
*** Bug 336966 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2014-09-07 23:28:11 UTC
*** Bug 338868 has been marked as a duplicate of this bug. ***
Comment 7 Dennis Schridde 2014-09-08 05:05:16 UTC
The workaround of restarting kded manually, described in bug #338868 comment #3, does not work in my case. Disabling power management on my laptop is not an option either, because I fear a reduced battery runtime.

If anyone needs additional information to debug and fix this, please do not hesitate to ask. Please also note that after about half a year of having this issue on about every 2nd return from standby, yesterday was the first time DrKonqi popped up with a crash backtrace – so even improving the debugability and information collection of this problem might help finding the cause.
Comment 8 Christoph Feck 2014-12-08 03:13:26 UTC
*** Bug 341641 has been marked as a duplicate of this bug. ***
Comment 9 Robert Munteanu 2014-12-08 07:45:18 UTC
For me this no longer happens with openSUSE 13.2:

Qt: 4.8.6
KDE Development Platform: 4.14.3
KDE Daemon: 4.14.3
Comment 10 Jonathan Riddell 2015-03-11 19:18:22 UTC
This bug is reported on libsolid which is the kdelibs4 version of the solid library.  It is now in maintenance mode.  If you think it should still be fixed in the KDE Frameworks 5 version of solid please move it to or report a bug on frameworks-solid or Powerdevil.
Comment 11 Christoph Feck 2017-02-17 02:57:12 UTC
*** Bug 376545 has been marked as a duplicate of this bug. ***
Comment 12 Kai Uwe Broulik 2018-05-02 06:47:10 UTC

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