Bug 327031 - kded4 crashes with segmentation fault after startup or if run manually
Summary: kded4 crashes with segmentation fault after startup or if run manually
Status: RESOLVED DUPLICATE of bug 323923
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.11.2
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-02 12:52 UTC by Martin Schwinzerl
Modified: 2013-11-02 12:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Schwinzerl 2013-11-02 12:52:30 UTC
(This is the Output as saved by the KCrash dialog. Unfortunately, since kded4 is not working due to this bug, I was not able to submit it using the dialog itself)

Application: kded4 (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
The kded4 process crashes at each login.
It also crashes whenever I try to run kded4 directly from the command line.
My system uses the ATI catalyst drivers version 13.101-130523a-157671E-ATI for its AMD Radeon HD 7600G integrated graphics chip (APU), not sure if this is relevat.
Moreover, two monitors are attached to the APU (again, not sure if this is relevant)
The Kubuntu Installation was a clean install from scratch

The crash can be reproduced every time.

-- 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 0x7f4f81fac7c0 (LWP 10625))]

Thread 6 (Thread 0x7f4f70aff700 (LWP 10627)):
#0  0x00007f4f7d1a305f in __pthread_mutex_unlock_usercnt (mutex=0x7f4f6c000a60, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f4f7cd003d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f7ccbfd40 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f7ccc05c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4f7ccc07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4f7f717a76 in QEventDispatcherGlib::processEvents (this=0x7f4f6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f4f7f6e95ef in QEventLoop::processEvents (this=this@entry=0x7f4f70afedb0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4f7f6e98e5 in QEventLoop::exec (this=this@entry=0x7f4f70afedb0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4f7f5e888f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f4f7f5eaf2f in QThreadPrivate::start (arg=0xd4ec50) at thread/qthread_unix.cpp:338
#10 0x00007f4f7d19ff6e in start_thread (arg=0x7f4f70aff700) at pthread_create.c:311
#11 0x00007f4f818d29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f4f61577700 (LWP 10628)):
#0  0x00007f4f7d1a305f in __pthread_mutex_unlock_usercnt (mutex=0x7f4f5c000a60, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007f4f7cd003d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f7ccbfd40 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f7ccc05c3 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4f7ccc07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4f7f717a76 in QEventDispatcherGlib::processEvents (this=0x7f4f5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f4f7f6e95ef in QEventLoop::processEvents (this=this@entry=0x7f4f61576d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4f7f6e98e5 in QEventLoop::exec (this=this@entry=0x7f4f61576d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4f7f5e888f in QThread::exec (this=this@entry=0xdc2150) at thread/qthread.cpp:542
#9  0x00007f4f7f6cad13 in QInotifyFileSystemWatcherEngine::run (this=0xdc2150) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007f4f7f5eaf2f in QThreadPrivate::start (arg=0xdc2150) at thread/qthread_unix.cpp:338
#11 0x00007f4f7d19ff6e in start_thread (arg=0x7f4f61577700) at pthread_create.c:311
#12 0x00007f4f818d29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f4f41697700 (LWP 10638)):
#0  0x00007f4f818c5f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4f7ccc06a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f7ccc0b0a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f41b9bb66 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f4f7cce50f5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4f7d19ff6e in start_thread (arg=0x7f4f41697700) at pthread_create.c:311
#6  0x00007f4f818d29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f4f40c87700 (LWP 10639)):
#0  0x00007f4f7cd000ea in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4f7cd003c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f7ccc0119 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f7ccc063b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4f7ccc07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4f7f717a76 in QEventDispatcherGlib::processEvents (this=0x7f4f2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f4f7f6e95ef in QEventLoop::processEvents (this=this@entry=0x7f4f40c86d70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4f7f6e98e5 in QEventLoop::exec (this=this@entry=0x7f4f40c86d70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f4f7f5e888f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f4f5ace6fd7 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#10 0x00007f4f7f5eaf2f in QThreadPrivate::start (arg=0xf41b10) at thread/qthread_unix.cpp:338
#11 0x00007f4f7d19ff6e in start_thread (arg=0x7f4f40c87700) at pthread_create.c:311
#12 0x00007f4f818d29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f4f33fff700 (LWP 10640)):
#0  0x00007f4f818c5f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4f7ccc06a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4f7ccc07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f7f717a76 in QEventDispatcherGlib::processEvents (this=0x7f4f240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f4f7f6e95ef in QEventLoop::processEvents (this=this@entry=0x7f4f33ffedb0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4f7f6e98e5 in QEventLoop::exec (this=this@entry=0x7f4f33ffedb0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f4f7f5e888f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f4f7f5eaf2f in QThreadPrivate::start (arg=0xef0e90) at thread/qthread_unix.cpp:338
#8  0x00007f4f7d19ff6e in start_thread (arg=0x7f4f33fff700) at pthread_create.c:311
#9  0x00007f4f818d29cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f4f81fac7c0 (LWP 10625)):
[KCrash Handler]
#6  KScreen::Output::id (this=this@entry=0x0) at /build/buildd/libkscreen-1.0.1/src/output.cpp:104
#7  0x00007f4f61fee65e in Generator::displaySwitch (this=0xdaed80, iteration=iteration@entry=1) at /build/buildd/kscreen-1.0.1/kded/generator.cpp:133
#8  0x00007f4f61fe85af in KScreenDaemon::applyGenericConfig (this=<optimized out>) at /build/buildd/kscreen-1.0.1/kded/daemon.cpp:161
#9  0x00007f4f7f6fea58 in QMetaObject::activate (sender=0xd711e0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539
#10 0x00007f4f7f702be1 in QObject::event (this=0xd711e0, e=<optimized out>) at kernel/qobject.cpp:1156
#11 0x00007f4f80369dfc in QApplicationPrivate::notify_helper (this=this@entry=0xb38f90, receiver=receiver@entry=0xd711e0, e=e@entry=0x7fffa9264a60) at kernel/qapplication.cpp:4567
#12 0x00007f4f80370470 in QApplication::notify (this=this@entry=0x7fffa9264e10, receiver=receiver@entry=0xd711e0, e=e@entry=0x7fffa9264a60) at kernel/qapplication.cpp:4353
#13 0x00007f4f81079a6a in KApplication::notify (this=0x7fffa9264e10, receiver=0xd711e0, event=0x7fffa9264a60) at ../../kdeui/kernel/kapplication.cpp:311
#14 0x00007f4f7f6ea8bd in QCoreApplication::notifyInternal (this=0x7fffa9264e10, receiver=0xd711e0, event=0x7fffa9264a60) at kernel/qcoreapplication.cpp:946
#15 0x00007f4f7f71a403 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QTimerInfoList::activateTimers (this=0xb395b0) at kernel/qeventdispatcher_unix.cpp:622
#17 0x00007f4f7f7177d9 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:186
#18 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:233
#19 0x00007f4f7ccc03b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f4f7ccc0708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f4f7ccc07ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f4f7f717a55 in QEventDispatcherGlib::processEvents (this=0xb05610, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#23 0x00007f4f8040b9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#24 0x00007f4f7f6e95ef in QEventLoop::processEvents (this=this@entry=0x7fffa9264ce0, flags=...) at kernel/qeventloop.cpp:149
#25 0x00007f4f7f6e98e5 in QEventLoop::exec (this=this@entry=0x7fffa9264ce0, flags=...) at kernel/qeventloop.cpp:204
#26 0x00007f4f7f6eee5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#27 0x00007f4f8036834c in QApplication::exec () at kernel/qapplication.cpp:3828
#28 0x00007f4f81baa95b in kdemain (argc=1, argv=0x7fffa9264f58) at ../../kded/kded.cpp:925
#29 0x00007f4f817f9de5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fffa9264f58, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffa9264f48) at libc-start.c:260
#30 0x00000000004006fe in _start ()


Reproducible: Always

Steps to Reproduce:
1. Startup System with Kubuntu
2. Log Into System
3. crashes some seconds after start of desktop environment

Alternatively, it also crashes every time when run from the command line.
Actual Results:  
kded4 is not running, causing problems with power management, crash reporting, etc. 

Expected Results:  
kded4 should not crash at startup

Possibly related to https://bugs.kde.org/show_bug.cgi?id=325900, but the backtrace looks (at least to me) differently
Comment 1 Jekyll Wu 2013-11-02 12:57:07 UTC

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