Bug 327873

Summary: KDE Crash on login
Product: [Plasma] KScreen Reporter: John <kisron>
Component: kdedAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED FIXED    
Severity: crash CC: dvratil, jbachtel, kdebugs.anon134
Priority: NOR Keywords: drkonqi
Version First Reported In: 1.0.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 5.1.0
Sentry Crash Report:

Description John 2013-11-20 17:14:00 UTC
Application: kded4 (4.11.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.5
Operating System: Linux 3.11.6-4-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

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

On my first login after booting up, when KDE is coming up it crashes. This happens every time.

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".
[Current thread is 1 (Thread 0x7f352774b780 (LWP 5820))]

Thread 4 (Thread 0x7f34ff946700 (LWP 5875)):
#0  0x00007f3521cbdfc2 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f3521cbe249 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3521c7e579 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3521c7e6cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f35263cdd76 in QEventDispatcherGlib::processEvents (this=0x7f34dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#5  0x00007f352639fd0f in QEventLoop::processEvents (this=this@entry=0x7f34ff945e20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f35263a0005 in QEventLoop::exec (this=this@entry=0x7f34ff945e20, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f352629efef in QThread::exec (this=this@entry=0xfb4120) at thread/qthread.cpp:536
#8  0x00007f3526381513 in QInotifyFileSystemWatcherEngine::run (this=0xfb4120) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f35262a168f in QThreadPrivate::start (arg=0xfb4120) at thread/qthread_unix.cpp:338
#10 0x00007f352600a0db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f3524d7390d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f34fdfad700 (LWP 5888)):
#0  0x00007f3524d6ab3d in poll () from /lib64/libc.so.6
#1  0x00007f3521c7e5c4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3521c7e6cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f35263cdd76 in QEventDispatcherGlib::processEvents (this=0x7f34d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#4  0x00007f352639fd0f in QEventLoop::processEvents (this=this@entry=0x7f34fdface20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f35263a0005 in QEventLoop::exec (this=this@entry=0x7f34fdface20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f352629efef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#7  0x00007f350a2cd4a7 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#8  0x00007f35262a168f in QThreadPrivate::start (arg=0x10a0b20) at thread/qthread_unix.cpp:338
#9  0x00007f352600a0db in start_thread () from /lib64/libpthread.so.0
#10 0x00007f3524d7390d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f34fd7ac700 (LWP 5889)):
#0  0x00007f3521cbdfba in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f3521cbe279 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3521c7d750 in g_main_context_acquire () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3521c7e485 in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3521c7e6cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f35263cdd76 in QEventDispatcherGlib::processEvents (this=0x7f34d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#6  0x00007f352639fd0f in QEventLoop::processEvents (this=this@entry=0x7f34fd7abe60, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f35263a0005 in QEventLoop::exec (this=this@entry=0x7f34fd7abe60, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f352629efef in QThread::exec (this=<optimized out>) at thread/qthread.cpp:536
#9  0x00007f35262a168f in QThreadPrivate::start (arg=0x11563e0) at thread/qthread_unix.cpp:338
#10 0x00007f352600a0db in start_thread () from /lib64/libpthread.so.0
#11 0x00007f3524d7390d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f352774b780 (LWP 5820)):
[KCrash Handler]
#6  XRandROutput::update (this=0x0, primary=XRandROutput::NoChange) at /usr/src/debug/libkscreen-1.0.1/backends/xrandr/xrandroutput.cpp:128
#7  0x00007f350ad55ac6 in XRandR::updateCrtc (this=<optimized out>, crtc=<optimized out>) at /usr/src/debug/libkscreen-1.0.1/backends/xrandr/xrandr.cpp:124
#8  0x00007f35263b4d68 in QMetaObject::activate (sender=sender@entry=0xfe3590, m=m@entry=0x7f350af61980 <XRandRX11Helper::staticMetaObject>, local_signal_index=<optimized out>, argv=0x7fffe1306cd0) at kernel/qobject.cpp:3556
#9  0x00007f350ad56d77 in outputChanged (_t1=<optimized out>, this=<optimized out>) at /usr/src/debug/libkscreen-1.0.1/build/backends/xrandr/xrandrx11helper.moc:119
#10 XRandRX11Helper::x11Event (this=0xfe3590, event=0x7fffe1306dd0) at /usr/src/debug/libkscreen-1.0.1/backends/xrandr/xrandrx11helper.cpp:140
#11 0x00007f352716d4f8 in publicX11Event (e=0x7fffe1306dd0, this=<optimized out>) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/ksystemeventfilter.cpp:43
#12 KSystemEventFilterPrivate::filterEvent (this=0x1085150, message=0x7fffe1306dd0) at /usr/src/debug/kdelibs-4.11.2/kdeui/kernel/ksystemeventfilter.cpp:102
#13 0x00007f3526392fbe in QAbstractEventDispatcher::filterEvent (this=0x0, message=0x0, message@entry=0x7fffe1306dd0) at kernel/qabstracteventdispatcher.cpp:542
#14 0x00007f35255bd7b0 in x11EventSourceDispatch (s=0xe56320, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:143
#15 0x00007f3521c7e2d6 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f3521c7e628 in ?? () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f3521c7e6cc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#18 0x00007f35263cdd55 in QEventDispatcherGlib::processEvents (this=0xdce630, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#19 0x00007f35255bd936 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f352639fd0f in QEventLoop::processEvents (this=this@entry=0x7fffe13071b0, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f35263a0005 in QEventLoop::exec (this=this@entry=0x7fffe13071b0, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f35263a513b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#23 0x00007f352551f06c in QApplication::exec () at kernel/qapplication.cpp:3823
#24 0x00007f3511531fbb in kdemain (argc=1, argv=0xe397b0) at /usr/src/debug/kdelibs-4.11.2/kded/kded.cpp:925
#25 0x000000000040879e in launch (argc=argc@entry=1, _name=_name@entry=0x40b117 "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=0x40afa6 "0") at /usr/src/debug/kdelibs-4.11.2/kinit/kinit.cpp:726
#26 0x0000000000405f23 in main (argc=4, argv=<optimized out>, envp=0x7fffe1307a40) at /usr/src/debug/kdelibs-4.11.2/kinit/kinit.cpp:1841

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-04-24 00:44:17 UTC
*** Bug 333777 has been marked as a duplicate of this bug. ***
Comment 2 Jekyll Wu 2014-05-12 00:56:41 UTC
*** Bug 334614 has been marked as a duplicate of this bug. ***
Comment 3 Daniel Vrátil 2015-03-06 14:35:22 UTC
This should be fixed in Plasma 5 version of KScreen. Feel free to reopen if this still happens with latest Plasma 5 (but please provide a new backtrace).