Bug 320994

Summary: KDE fails to login the first time
Product: [Unmaintained] kdelibs Reporter: Jeroen Beerstra <jeroen>
Component: kdedAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 4.10.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jeroen Beerstra 2013-06-10 11:13:17 UTC
Application: kded4 (4.10.3)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.13-100.fc17.x86_64 x86_64
Distribution: "Fedora release 17 (Beefy Miracle)"

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

Starting KDE session

- Unusual behavior I noticed:

Stalls at loading KDE screen, but only the first time. If I press Ctr-Alt-Backspace and login again, KDE starts as usual

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7fc7d2ea3700 (LWP 1945)):
#0  g_mutex_get_impl (mutex=0x7fc7cc0009a0) at gthread-posix.c:118
#1  0x0000003518283979 in g_mutex_lock (mutex=mutex@entry=0x7fc7cc0009a0) at gthread-posix.c:208
#2  0x0000003518247339 in g_main_context_prepare (context=context@entry=0x7fc7cc0009a0, priority=priority@entry=0x7fc7d2ea2ba8) at gmain.c:2838
#3  0x0000003518247a1b in g_main_context_iterate (context=context@entry=0x7fc7cc0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3126
#4  0x0000003518247c14 in g_main_context_iteration (context=0x7fc7cc0009a0, may_block=1) at gmain.c:3207
#5  0x00000035217a5eb6 in QEventDispatcherGlib::processEvents (this=0x7fc7cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x000000352177651f in QEventLoop::processEvents (this=this@entry=0x7fc7d2ea2d00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000035217767a8 in QEventLoop::exec (this=0x7fc7d2ea2d00, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003521678970 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x000000352167b94c in QThreadPrivate::start (arg=0x12e3e10) at thread/qthread_unix.cpp:338
#10 0x0000003516607d14 in start_thread (arg=0x7fc7d2ea3700) at pthread_create.c:309
#11 0x0000003515ef168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7fc7c22e9700 (LWP 1999)):
#0  0x0000003515ee8bdf in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003518247af4 in g_main_context_poll (n_fds=3, fds=0x7fc7800010c0, timeout=-1, context=0x154d8f0, priority=<optimized out>) at gmain.c:3440
#2  g_main_context_iterate (context=0x154d8f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3141
#3  0x0000003518247f52 in g_main_loop_run (loop=0x154d8a0) at gmain.c:3340
#4  0x000000351f2c94d6 in gdbus_shared_thread_func (user_data=0x154d8c0) at gdbusprivate.c:277
#5  0x000000351826a495 in g_thread_proxy (data=0x1546320) at gthread.c:801
#6  0x0000003516607d14 in start_thread (arg=0x7fc7c22e9700) at pthread_create.c:309
#7  0x0000003515ef168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fc7c18dc700 (LWP 2000)):
#0  0x00007fffcd9fe9c2 in clock_gettime ()
#1  0x0000003516e0410d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00000035216d1884 in do_gettime (frac=0x7fc7c18dba28, sec=0x7fc7c18dba20) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00000035217a67bd in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fc784002060) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00000035217a6b03 in QTimerInfoList::timerWait (this=0x7fc784002060, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x00000035217a556c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fc7c18dbb1c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00000035217a5615 in timerSourcePrepare (source=source@entry=0x7fc784002000, timeout=timeout@entry=0x7fc7c18dbb1c) at kernel/qeventdispatcher_glib.cpp:169
#8  0x000000351824732f in g_main_context_prepare (context=context@entry=0x7fc7840009a0, priority=priority@entry=0x7fc7c18dbb68) at gmain.c:2836
#9  0x0000003518247a1b in g_main_context_iterate (context=context@entry=0x7fc7840009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3126
#10 0x0000003518247c14 in g_main_context_iteration (context=0x7fc7840009a0, may_block=1) at gmain.c:3207
#11 0x00000035217a5eb6 in QEventDispatcherGlib::processEvents (this=0x7fc7840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x000000352177651f in QEventLoop::processEvents (this=this@entry=0x7fc7c18dbcc0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00000035217767a8 in QEventLoop::exec (this=0x7fc7c18dbcc0, flags=...) at kernel/qeventloop.cpp:204
#14 0x0000003521678970 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#15 0x00007fc7d12e42c5 in KCupsConnection::run() () from /lib64/libkcupslib.so
#16 0x000000352167b94c in QThreadPrivate::start (arg=0x143bfb0) at thread/qthread_unix.cpp:338
#17 0x0000003516607d14 in start_thread (arg=0x7fc7c18dc700) at pthread_create.c:309
#18 0x0000003515ef168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fc7c10db700 (LWP 2001)):
#0  0x0000003516609bc2 in __pthread_mutex_lock (mutex=0x7fc778000a60) at pthread_mutex_lock.c:96
#1  0x0000003518283981 in g_mutex_lock (mutex=mutex@entry=0x7fc7780009a0) at gthread-posix.c:208
#2  0x0000003518247706 in g_main_context_dispatch (context=context@entry=0x7fc7780009a0) at gmain.c:3071
#3  0x0000003518247b58 in g_main_context_iterate (context=context@entry=0x7fc7780009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#4  0x0000003518247c14 in g_main_context_iteration (context=0x7fc7780009a0, may_block=1) at gmain.c:3207
#5  0x00000035217a5eb6 in QEventDispatcherGlib::processEvents (this=0x7fc7780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x000000352177651f in QEventLoop::processEvents (this=this@entry=0x7fc7c10dad00, flags=...) at kernel/qeventloop.cpp:149
#7  0x00000035217767a8 in QEventLoop::exec (this=0x7fc7c10dad00, flags=...) at kernel/qeventloop.cpp:204
#8  0x0000003521678970 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x000000352167b94c in QThreadPrivate::start (arg=0x143bf90) at thread/qthread_unix.cpp:338
#10 0x0000003516607d14 in start_thread (arg=0x7fc7c10db700) at pthread_create.c:309
#11 0x0000003515ef168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fc7c08da700 (LWP 2002)):
#0  0x000000351660e0ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003518282cdf in read (__nbytes=16, __buf=0x7fc7c08d9b10, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0x7fc778001db0) at gwakeup.c:212
#3  0x0000003518247679 in g_main_context_check (context=context@entry=0x7fc77c0009a0, max_priority=2147483647, fds=fds@entry=0x7fc77c002bb0, n_fds=n_fds@entry=1) at gmain.c:2980
#4  0x0000003518247a92 in g_main_context_iterate (context=context@entry=0x7fc77c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3143
#5  0x0000003518247c14 in g_main_context_iteration (context=0x7fc77c0009a0, may_block=1) at gmain.c:3207
#6  0x00000035217a5eb6 in QEventDispatcherGlib::processEvents (this=0x7fc77c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x000000352177651f in QEventLoop::processEvents (this=this@entry=0x7fc7c08d9cd0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00000035217767a8 in QEventLoop::exec (this=0x7fc7c08d9cd0, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003521678970 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x0000003521756d3f in QInotifyFileSystemWatcherEngine::run (this=0x1444ea0) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x000000352167b94c in QThreadPrivate::start (arg=0x1444ea0) at thread/qthread_unix.cpp:338
#12 0x0000003516607d14 in start_thread (arg=0x7fc7c08da700) at pthread_create.c:309
#13 0x0000003515ef168d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fc7df341880 (LWP 1940)):
[KCrash Handler]
#6  Private (other=..., this=0x7fffcd9f8060) at kernel/qvariant.h:356
#7  QVariant::QVariant (this=0x7fffcd9f8060, p=...) at kernel/qvariant.cpp:1423
#8  0x000000352245d995 in QDBusPendingReplyData::argumentAt (this=0x7fffcd9f7f80, index=0) at qdbuspendingreply.cpp:270
#9  0x0000003525e8acaa in argumentAt<0> (this=0x7fffcd9f7f80) at /usr/include/QtDBus/qdbuspendingreply.h:176
#10 operator QDBusPendingReplyTypes::Select<0, QList<int>, void, void, void, void, void, void, void>::Type (this=0x7fffcd9f7f80) at /usr/include/QtDBus/qdbuspendingreply.h:186
#11 KGlobalAccelPrivate::updateGlobalShortcut (this=0x14b4d30, action=0x16cfb80, flags=3) at /usr/src/debug/kdelibs-4.10.3/kdeui/shortcuts/kglobalaccel.cpp:325
#12 0x0000003525d6e062 in KAction::setGlobalShortcut (this=0x16cfb80, shortcut=..., type=..., load=<optimized out>) at /usr/src/debug/kdelibs-4.10.3/kdeui/actions/kaction.cpp:284
#13 0x00007fc7d2229296 in PowerDevil::Core::onBackendReady (this=0x151a020) at /usr/src/debug/kde-workspace-4.10.3/powerdevil/daemon/powerdevilcore.cpp:167
#14 0x00007fc7d222aed1 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.10.3/x86_64-redhat-linux-gnu/powerdevil/daemon/powerdevilcore.moc:146
#15 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.3/x86_64-redhat-linux-gnu/powerdevil/daemon/powerdevilcore.moc:110
#16 0x000000352178cc8f in QMetaObject::activate (sender=0x14e01e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#17 0x00007fc7d2488d65 in PowerDevilUPowerBackend::init (this=0x14e01e0) at /usr/src/debug/kde-workspace-4.10.3/powerdevil/daemon/backends/upower/powerdevilupowerbackend.cpp:196
#18 0x00007fc7d2224d61 in PowerDevil::Core::loadCore (this=0x151a020, backend=<optimized out>) at /usr/src/debug/kde-workspace-4.10.3/powerdevil/daemon/powerdevilcore.cpp:84
#19 0x00007fc7d2481953 in KDEDPowerDevil::init (this=0x13ccf80) at /usr/src/debug/kde-workspace-4.10.3/powerdevil/daemon/kdedpowerdevil.cpp:89
#20 0x000000352178c16e in QObject::event (this=0x13ccf80, e=<optimized out>) at kernel/qobject.cpp:1194
#21 0x0000003523bca5ac in QApplicationPrivate::notify_helper (this=this@entry=0x11d3b60, receiver=receiver@entry=0x13ccf80, e=e@entry=0x12e43e0) at kernel/qapplication.cpp:4562
#22 0x0000003523bcea2a in QApplication::notify (this=0x7fffcd9f96f0, receiver=0x13ccf80, e=0x12e43e0) at kernel/qapplication.cpp:4423
#23 0x0000003525e46f06 in KApplication::notify (this=0x7fffcd9f96f0, receiver=0x13ccf80, event=0x12e43e0) at /usr/src/debug/kdelibs-4.10.3/kdeui/kernel/kapplication.cpp:311
#24 0x000000352177786e in QCoreApplication::notifyInternal (this=0x7fffcd9f96f0, receiver=receiver@entry=0x13ccf80, event=event@entry=0x12e43e0) at kernel/qcoreapplication.cpp:949
#25 0x000000352177b321 in sendEvent (event=0x12e43e0, receiver=0x13ccf80) at kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x119c100) at kernel/qcoreapplication.cpp:1573
#27 0x00000035217a5d03 in sendPostedEvents () at kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=s@entry=0x11d4c50) at kernel/qeventdispatcher_glib.cpp:279
#29 0x0000003518247825 in g_main_dispatch (context=0x11d5200) at gmain.c:2539
#30 g_main_context_dispatch (context=context@entry=0x11d5200) at gmain.c:3075
#31 0x0000003518247b58 in g_main_context_iterate (context=context@entry=0x11d5200, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#32 0x0000003518247c14 in g_main_context_iteration (context=0x11d5200, may_block=1) at gmain.c:3207
#33 0x00000035217a5e96 in QEventDispatcherGlib::processEvents (this=0x119da60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#34 0x0000003523c6a5ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x000000352177651f in QEventLoop::processEvents (this=this@entry=0x7fffcd9f9470, flags=...) at kernel/qeventloop.cpp:149
#36 0x00000035217767a8 in QEventLoop::exec (this=0x7fffcd9f9470, flags=...) at kernel/qeventloop.cpp:204
#37 0x000000352177b638 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#38 0x000000351d608500 in kdemain (argc=1, argv=0x7fffcd9f9838) at /usr/src/debug/kdelibs-4.10.3/kded/kded.cpp:925
#39 0x0000003515e21735 in __libc_start_main (main=0x4007b0 <main(int, char**)>, argc=1, ubp_av=0x7fffcd9f9838, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcd9f9828) at libc-start.c:226
#40 0x00000000004007e1 in _start ()

Possible duplicates by query: bug 315066, bug 315017, bug 314922, bug 307225, bug 306265.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-06-11 03:29:15 UTC

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