Krunner crashes whenever I log into plasma. I think this may be some race-condition related to my screen setup (see the Additional Information) Reproducible: Always Steps to Reproduce: 1. log-in to plasma Actual Results: krunner crashes I'm convinced that this has something to do with my screen setup - I have an external monitor connected to a laptop, with the external monitor being set as the primary output and the laptop screen disabled. When I started Plasma without the external screen or with the laptop screen enabled it didn't crash. I think it may be some sort of race condition. I tried debug-build of plasma-framework to get a better backtrace but krunner no longer crashed even though I'm still able to reproduce the bug every time with the release build. I noticed that the debug build starts more slowly, which may be the reason why this bug no longer occurs.
There is also bug #343836, which may have the same cause.
Which version of Qt are you on?
Qt 5.4.0
I was hoping you wouldn't be on 5.4. Without a backtrace there isn't much point keeping this bug report open. However, your problem isn't an isolated one. We have a few crashes related to multiple monitors w.r.t Qt5 and KRunner. I'm closing this bug for now. If you can get a backtrace please feel to reopen it. Thanks for reporting.
Oh, dang, I forgot to submit the backtrace for which I compiled Qt for about 9 hours. Unfortunatelly the backtrace is only for Qt5, as the plasma with debug symbols didn't crash. Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f6700941780 (LWP 684))] Thread 3 (Thread 0x7f66fede4700 (LWP 686)): #0 0x00007f670f99d4ed in poll () from /usr/lib/libc.so.6 #1 0x00007f670f1619f2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f670f16356f in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f6700700b99 in QXcbEventReader::run (this=0x15b70c0) at qxcbconnection.cpp:1099 #4 0x00007f6710012a73 in QThreadPrivate::start (arg=0x15b70c0) at thread/qthread_unix.cpp:337 #5 0x00007f670c32c374 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f670f9a627d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f66f7395700 (LWP 692)): #0 0x00007f670b803034 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f670b7bebae in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f670b7bedac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f671022150c in QEventDispatcherGlib::processEvents (this=0x7f66f00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #4 0x00007f67101c9d92 in QEventLoop::exec (this=this@entry=0x7f66f7394e20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #5 0x00007f671000d47b in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503 #6 0x00007f6711e6a475 in ?? () from /usr/lib/libQt5Qml.so.5 #7 0x00007f6710012a73 in QThreadPrivate::start (arg=0x1764580) at thread/qthread_unix.cpp:337 #8 0x00007f670c32c374 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f670f9a627d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f6700941780 (LWP 684)): [KCrash Handler] #5 QScreen::handle (this=0x0) at kernel/qscreen.cpp:85 #6 0x00007f6700717c65 in QXcbWindow::QXcbWindow (this=0x18a4c40, window=0x7fffff4d9810) at qxcbwindow.cpp:244 #7 0x00007f6700704231 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x7fffff4d9810) at qxcbintegration.cpp:175 #8 0x00007f671050d545 in QWindowPrivate::create (this=0x16315f0, recursive=recursive@entry=false) at kernel/qwindow.cpp:395 #9 0x00007f671050d61b in QWindow::create (this=this@entry=0x7fffff4d9810) at kernel/qwindow.cpp:530 #10 0x00007f671050d6d8 in QWindow::winId (this=0x7fffff4d9810) at kernel/qwindow.cpp:549 #11 0x00007f6712cd8205 in ?? () from /usr/lib/libKF5PlasmaQuick.so.5 #12 0x00007f6712cd9ed9 in ?? () from /usr/lib/libKF5PlasmaQuick.so.5 #13 0x00007f67101f9c5c in QMetaObject::activate (sender=0x1635780, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3716 #14 0x00007f67101f965c in call (a=0x7fffff4d8e80, r=0x1635780, this=0x16f5400) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #15 QMetaObject::activate (sender=0x17073a0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3702 #16 0x00007f671288a565 in ?? () from /usr/lib/libKF5Plasma.so.5 #17 0x00007f67101f9c5c in QMetaObject::activate (sender=sender@entry=0x16f6cb0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3716 #18 0x00007f67101fa197 in QMetaObject::activate (sender=sender@entry=0x16f6cb0, m=m@entry=0x7f67104105c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #19 0x00007f671026eea0 in QTimer::timeout (this=this@entry=0x16f6cb0) at .moc/moc_qtimer.cpp:192 #20 0x00007f6710207cf8 in QTimer::timerEvent (this=0x16f6cb0, e=<optimized out>) at kernel/qtimer.cpp:247 #21 0x00007f67101faeb3 in QObject::event (this=0x16f6cb0, e=<optimized out>) at kernel/qobject.cpp:1267 #22 0x00007f6710d08c04 in QApplicationPrivate::notify_helper (this=0x15a2f00, receiver=0x16f6cb0, e=0x7fffff4d94d0) at kernel/qapplication.cpp:3722 #23 0x00007f6710d0e548 in QApplication::notify (this=0x7fffff4d97a0, receiver=0x16f6cb0, e=0x7fffff4d94d0) at kernel/qapplication.cpp:3505 #24 0x00007f67101cb95d in QCoreApplication::notifyInternal (this=0x7fffff4d97a0, receiver=0x16f6cb0, event=event@entry=0x7fffff4d94d0) at kernel/qcoreapplication.cpp:932 #25 0x00007f6710220abd in sendEvent (event=0x7fffff4d94d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228 #26 QTimerInfoList::activateTimers (this=0x15df7b0) at kernel/qtimerinfo_unix.cpp:635 #27 0x00007f6710220f91 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177 #28 0x00007f670b7bea0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #29 0x00007f670b7becf8 in ?? () from /usr/lib/libglib-2.0.so.0 #30 0x00007f670b7bedac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #31 0x00007f67102214f7 in QEventDispatcherGlib::processEvents (this=0x15db8f0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #32 0x00007f67101c9d92 in QEventLoop::exec (this=this@entry=0x7fffff4d9720, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #33 0x00007f67101d16fc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185 #34 0x0000000000407067 in main ()
This backtrace mayb be a bit more helpful, as it was obtained with debug build of krunner (however, I still have no luck in obtaining the backtrace with debug build of plasma frameworks): Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7fd62a8947c0 (LWP 434))] Thread 3 (Thread 0x7fd628d37700 (LWP 435)): #0 0x00007fd6398fa4ed in poll () from /usr/lib/libc.so.6 #1 0x00007fd6390bd9f2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007fd6390bf56f in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007fd62a653b99 in QXcbEventReader::run (this=0x17bbfa0) at qxcbconnection.cpp:1099 #4 0x00007fd639f6fa73 in QThreadPrivate::start (arg=0x17bbfa0) at thread/qthread_unix.cpp:337 #5 0x00007fd636fdf374 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007fd63990327d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7fd621333700 (LWP 439)): #0 0x00007fff97164cd6 in clock_gettime () #1 0x00007fd63991006d in clock_gettime () from /usr/lib/libc.so.6 #2 0x00007fd63a017436 in qt_clock_gettime (ts=0x7fd621332b30, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:120 #3 do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:176 #4 qt_gettime () at tools/qelapsedtimer_unix.cpp:185 #5 0x00007fd63a17c7f9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fd61c002ed0) at kernel/qtimerinfo_unix.cpp:84 #6 0x00007fd63a17cbf5 in QTimerInfoList::timerWait (this=0x7fd61c002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:379 #7 0x00007fd63a17e03c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fd621332c14) at kernel/qeventdispatcher_glib.cpp:127 #8 0x00007fd63a17e115 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:160 #9 0x00007fd63647021d in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #10 0x00007fd636470bbb in ?? () from /usr/lib/libglib-2.0.so.0 #11 0x00007fd636470dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #12 0x00007fd63a17e50c in QEventDispatcherGlib::processEvents (this=0x7fd61c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #13 0x00007fd63a126d92 in QEventLoop::exec (this=this@entry=0x7fd621332de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #14 0x00007fd639f6a47b in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503 #15 0x00007fd63bdcb475 in ?? () from /usr/lib/libQt5Qml.so.5 #16 0x00007fd639f6fa73 in QThreadPrivate::start (arg=0x196d340) at thread/qthread_unix.cpp:337 #17 0x00007fd636fdf374 in start_thread () from /usr/lib/libpthread.so.0 #18 0x00007fd63990327d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7fd62a8947c0 (LWP 434)): [KCrash Handler] #5 QScreen::handle (this=0x0) at kernel/qscreen.cpp:85 #6 0x00007fd62a66ac65 in QXcbWindow::QXcbWindow (this=0x17be5c0, window=0x7fff97076fb0) at qxcbwindow.cpp:244 #7 0x00007fd62a657231 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x7fff97076fb0) at qxcbintegration.cpp:175 #8 0x00007fd63a46a545 in QWindowPrivate::create (this=0x18360b0, recursive=recursive@entry=false) at kernel/qwindow.cpp:395 #9 0x00007fd63a46a61b in QWindow::create (this=this@entry=0x7fff97076fb0) at kernel/qwindow.cpp:530 #10 0x00007fd63a46a6d8 in QWindow::winId (this=0x7fff97076fb0) at kernel/qwindow.cpp:549 #11 0x00007fd63cc4016e in PlasmaQuick::Dialog::event(QEvent*) () from /usr/lib/libKF5PlasmaQuick.so.5 #12 0x0000000000409a4f in View::event (this=0x7fff97076fb0, event=0x7fff97076be0) at /build/plasma-workspace/src/plasma-workspace-5.2.0/krunner/view.cpp:179 #13 0x00007fd63ac64c04 in QApplicationPrivate::notify_helper (this=0x17a7da0, receiver=0x7fff97076fb0, e=0x7fff97076be0) at kernel/qapplication.cpp:3722 #14 0x00007fd63ac6a548 in QApplication::notify (this=0x7fff97076f40, receiver=0x7fff97076fb0, e=0x7fff97076be0) at kernel/qapplication.cpp:3505 #15 0x00007fd63a12895d in QCoreApplication::notifyInternal (this=0x7fff97076f40, receiver=receiver@entry=0x7fff97076fb0, event=event@entry=0x7fff97076be0) at kernel/qcoreapplication.cpp:932 #16 0x00007fd63a460707 in sendSpontaneousEvent (event=0x7fff97076be0, receiver=0x7fff97076fb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #17 QGuiApplicationPrivate::processWindowStateChangedEvent (wse=0x1a95770) at kernel/qguiapplication.cpp:2018 #18 0x00007fd63a46578d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x1a95770) at kernel/qguiapplication.cpp:1622 #19 0x00007fd63a44a7d4 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:572 #20 0x00007fd62a6820f0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70 #21 0x00007fd636470a0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #22 0x00007fd636470cf8 in ?? () from /usr/lib/libglib-2.0.so.0 #23 0x00007fd636470dac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #24 0x00007fd63a17e4f7 in QEventDispatcherGlib::processEvents (this=0x17dda90, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #25 0x00007fd63a126d92 in QEventLoop::exec (this=this@entry=0x7fff97076ec0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #26 0x00007fd63a12e6fc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185 #27 0x00007fd63a45b0cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1532 #28 0x00007fd63ac60e55 in QApplication::exec () at kernel/qapplication.cpp:2956 #29 0x0000000000407657 in main (argc=1, argv=<optimized out>) at /build/plasma-workspace/src/plasma-workspace-5.2.0/krunner/main.cpp:71
After updating to plasma-framework 5.7.0 I was able to finally obtain a full backtrace: Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f31af2d17c0 (LWP 435))] Thread 3 (Thread 0x7f31ad774700 (LWP 436)): #0 0x00007f31be3374ed in poll () from /usr/lib/libc.so.6 #1 0x00007f31bdafa9f2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f31bdafc56f in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f31af090b99 in QXcbEventReader::run (this=0x25b8fa0) at qxcbconnection.cpp:1099 #4 0x00007f31be9aca73 in QThreadPrivate::start (arg=0x25b8fa0) at thread/qthread_unix.cpp:337 #5 0x00007f31bba1c374 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f31be34027d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f31a5d73700 (LWP 454)): #0 0x00007f31be3374ed in poll () from /usr/lib/libc.so.6 #1 0x00007f31baeadc94 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007f31baeaddac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f31bebbb50c in QEventDispatcherGlib::processEvents (this=0x7f31a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #4 0x00007f31beb63d92 in QEventLoop::exec (this=this@entry=0x7f31a5d72de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #5 0x00007f31be9a747b in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503 #6 0x00007f31c0808475 in ?? () from /usr/lib/libQt5Qml.so.5 #7 0x00007f31be9aca73 in QThreadPrivate::start (arg=0x276a3f0) at thread/qthread_unix.cpp:337 #8 0x00007f31bba1c374 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007f31be34027d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f31af2d17c0 (LWP 435)): [KCrash Handler] #5 QScreen::handle (this=0x0) at kernel/qscreen.cpp:85 #6 0x00007f31af0a7c65 in QXcbWindow::QXcbWindow (this=0x2900ef0, window=0x7fff8d5b57a0) at qxcbwindow.cpp:244 #7 0x00007f31af094231 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x7fff8d5b57a0) at qxcbintegration.cpp:175 #8 0x00007f31beea7545 in QWindowPrivate::create (this=0x2633140, recursive=recursive@entry=false) at kernel/qwindow.cpp:395 #9 0x00007f31beea761b in QWindow::create (this=this@entry=0x7fff8d5b57a0) at kernel/qwindow.cpp:530 #10 0x00007f31beea76d8 in QWindow::winId (this=0x7fff8d5b57a0) at kernel/qwindow.cpp:549 #11 0x00007f31c1664715 in PlasmaQuick::DialogPrivate::updateTheme (this=0x26371d0) at /build/plasma-framework/src/plasma-framework-5.7.0/src/plasmaquick/dialog.cpp:218 #12 0x00007f31beb93c5c in QMetaObject::activate (sender=0x2637240, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3716 #13 0x00007f31beb9365c in call (a=0x7fff8d5b4e70, r=0x2637240, this=0x26f6100) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #14 QMetaObject::activate (sender=0x27090d0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3702 #15 0x00007f31beb93c5c in QMetaObject::activate (sender=sender@entry=0x26f4960, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3716 #16 0x00007f31beb94197 in QMetaObject::activate (sender=sender@entry=0x26f4960, m=m@entry=0x7f31bedaa5c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #17 0x00007f31bec08ea0 in QTimer::timeout (this=this@entry=0x26f4960) at .moc/moc_qtimer.cpp:192 #18 0x00007f31beba1cf8 in QTimer::timerEvent (this=0x26f4960, e=<optimized out>) at kernel/qtimer.cpp:247 #19 0x00007f31beb94eb3 in QObject::event (this=0x26f4960, e=<optimized out>) at kernel/qobject.cpp:1267 #20 0x00007f31bf6a1c04 in QApplicationPrivate::notify_helper (this=0x25a4da0, receiver=0x26f4960, e=0x7fff8d5b5460) at kernel/qapplication.cpp:3722 #21 0x00007f31bf6a7548 in QApplication::notify (this=0x7fff8d5b5730, receiver=0x26f4960, e=0x7fff8d5b5460) at kernel/qapplication.cpp:3505 #22 0x00007f31beb6595d in QCoreApplication::notifyInternal (this=0x7fff8d5b5730, receiver=0x26f4960, event=event@entry=0x7fff8d5b5460) at kernel/qcoreapplication.cpp:932 #23 0x00007f31bebbaabd in sendEvent (event=0x7fff8d5b5460, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228 #24 QTimerInfoList::activateTimers (this=0x25d5800) at kernel/qtimerinfo_unix.cpp:635 #25 0x00007f31bebbaf91 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177 #26 0x00007f31baeada0d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #27 0x00007f31baeadcf8 in ?? () from /usr/lib/libglib-2.0.so.0 #28 0x00007f31baeaddac in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #29 0x00007f31bebbb4f7 in QEventDispatcherGlib::processEvents (this=0x25e5030, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #30 0x00007f31beb63d92 in QEventLoop::exec (this=this@entry=0x7fff8d5b56b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #31 0x00007f31beb6b6fc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185 #32 0x00007f31bee980cc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1532 #33 0x00007f31bf69de55 in QApplication::exec () at kernel/qapplication.cpp:2956 #34 0x0000000000407657 in main (argc=1, argv=<optimized out>) at /build/plasma-workspace/src/plasma-workspace-5.2.0/krunner/main.cpp:71
I have the same problem. I have a latop connected to an external monitor by VGA. My laptop screen is disabled, my external monitor enabled. When I plug out my VGA cable, my laptop screen gets enabled. Then, I put my laptop in hibernate status. Then, I connect my laptop again per VGA with my external monitor and wake my laptop up. Then, it comes to a crash. Application: krunner (krunner), 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 0x7f384188c900 (LWP 1487))] Thread 3 (Thread 0x7f3839732700 (LWP 1489)): #0 0x00007f3850fc91fd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f384e16a182 in poll (__timeout=-1, __nfds=1, __fds=0x7f3839731bc0) at /usr/include/bits/poll2.h:46 #2 _xcb_conn_wait (c=c@entry=0x1000440, cond=cond@entry=0x1000480, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459 #3 0x00007f384e16bcff in xcb_wait_for_event (c=0x1000440) at xcb_in.c:623 #4 0x00007f383b28a959 in QXcbEventReader::run (this=0x100a370) at qxcbconnection.cpp:1099 #5 0x00007f3851b624ce in QThreadPrivate::start (arg=0x100a370) at thread/qthread_unix.cpp:337 #6 0x00007f3850cbf52a in start_thread (arg=0x7f3839732700) at pthread_create.c:310 #7 0x00007f3850fd479d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7f383214c700 (LWP 1498)): #0 0x00007f3850fc91fd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007f3850777e24 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #2 0x00007f3850777f3c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #3 0x00007f3851da473c in QEventDispatcherGlib::processEvents (this=0x7f382c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #4 0x00007f3851d4ad42 in QEventLoop::exec (this=this@entry=0x7f383214bca0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #5 0x00007f3851b5d6f4 in QThread::exec (this=this@entry=0x119dbf0) at thread/qthread.cpp:503 #6 0x00007f3853974275 in QQmlThreadPrivate::run (this=0x119dbf0) at /usr/src/debug/qtdeclarative-opensource-src-5.4.0/src/qml/qml/ftw/qqmlthread.cpp:141 #7 0x00007f3851b624ce in QThreadPrivate::start (arg=0x119dbf0) at thread/qthread_unix.cpp:337 #8 0x00007f3850cbf52a in start_thread (arg=0x7f383214c700) at pthread_create.c:310 #9 0x00007f3850fd479d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7f384188c900 (LWP 1487)): [KCrash Handler] #6 QScreen::handle (this=0x0) at kernel/qscreen.cpp:85 #7 0x00007f383b29df65 in QXcbWindow::QXcbWindow (this=0x144fbc0, window=0x7fff7d6e1140) at qxcbwindow.cpp:244 #8 0x00007f383b28bdc1 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x7fff7d6e1140) at qxcbintegration.cpp:175 #9 0x00007f38520812f6 in QWindowPrivate::create (this=0x105a330, recursive=recursive@entry=false) at kernel/qwindow.cpp:395 #10 0x00007f38520814db in QWindow::create (this=this@entry=0x7fff7d6e1140) at kernel/qwindow.cpp:530 #11 0x00007f3852081688 in QWindow::winId (this=0x7fff7d6e1140) at kernel/qwindow.cpp:549 #12 0x00007f385480a095 in PlasmaQuick::DialogPrivate::updateTheme (this=0x1161e50) at ../../../src/plasmaquick/dialog.cpp:218 #13 0x00007f385480bd69 in PlasmaQuick::Dialog::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_dialog.cpp:222 #14 0x00007f3851d7cac9 in QMetaObject::activate (sender=0x1161ec0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3716 #15 0x00007f3851d7c45a in call (a=0x7fff7d6e0920, r=0x1161ec0, this=0x10591c0) at ../../src/corelib/kernel/qobject_impl.h:124 #16 QMetaObject::activate (sender=0x1162000, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3702 #17 0x00007f3851d7d157 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f3854cfca80 <Plasma::ThemePrivate::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #18 0x00007f3854acf7ca in themeChanged (this=<optimized out>) at ./moc_theme_p.cpp:193 #19 Plasma::ThemePrivate::notifyOfChanged (this=<optimized out>) at ../../../src/plasma/private/theme_p.cpp:374 #20 0x00007f3854ad97b5 in Plasma::ThemePrivate::qt_static_metacall (_o=0x9, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./moc_theme_p.cpp:125 #21 0x00007f3851d7cac9 in QMetaObject::activate (sender=sender@entry=0x12e4e30, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3716 #22 0x00007f3851d7d157 in QMetaObject::activate (sender=sender@entry=0x12e4e30, m=m@entry=0x7f3851f8b5c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #23 0x00007f3851dfa2c0 in QTimer::timeout (this=this@entry=0x12e4e30) at .moc/moc_qtimer.cpp:192 #24 0x00007f3851d8a718 in QTimer::timerEvent (this=0x12e4e30, e=<optimized out>) at kernel/qtimer.cpp:247 #25 0x00007f3851d7dbe3 in QObject::event (this=0x12e4e30, e=<optimized out>) at kernel/qobject.cpp:1267 #26 0x00007f3855698d3c in QApplicationPrivate::notify_helper (this=this@entry=0xff4ad0, receiver=receiver@entry=0x12e4e30, e=e@entry=0x7fff7d6e0e00) at kernel/qapplication.cpp:3722 #27 0x00007f385569e330 in QApplication::notify (this=0x7fff7d6e10d0, receiver=0x12e4e30, e=0x7fff7d6e0e00) at kernel/qapplication.cpp:3505 #28 0x00007f3851d4d4ab in QCoreApplication::notifyInternal (this=0x7fff7d6e10d0, receiver=0x12e4e30, event=event@entry=0x7fff7d6e0e00) at kernel/qcoreapplication.cpp:932 #29 0x00007f3851da3655 in sendEvent (event=0x7fff7d6e0e00, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:228 #30 QTimerInfoList::activateTimers (this=0x1032fb0) at kernel/qtimerinfo_unix.cpp:635 #31 0x00007f3851da3a81 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177 #32 0x00007f3850777aeb in g_main_context_dispatch () from /lib64/libglib-2.0.so.0 #33 0x00007f3850777e88 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0 #34 0x00007f3850777f3c in g_main_context_iteration () from /lib64/libglib-2.0.so.0 #35 0x00007f3851da4727 in QEventDispatcherGlib::processEvents (this=0x102f080, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #36 0x00007f3851d4ad42 in QEventLoop::exec (this=this@entry=0x7fff7d6e1050, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #37 0x00007f3851d527ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1185 #38 0x0000000000406f27 in main ()
*** Bug 344773 has been marked as a duplicate of this bug. ***
*** Bug 345205 has been marked as a duplicate of this bug. ***
I have the same problem with krunner 5.8.0-1. At each login, krunner crashes together with Plasma. I use 2 external monitors, while the internal display is disabled. Any solutions? Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f8afa2f5780 (LWP 2208))] Thread 3 (Thread 0x7f8ae5fec700 (LWP 2209)): #0 0x00007f8af6d184ed in poll () from /usr/lib/libc.so.6 #1 0x00007f8af64db9f2 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007f8af64dd56f in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007f8ae7909399 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #4 0x00007f8af738e55e in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007f8af4414374 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007f8af6d2127d in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7f8ade5e3700 (LWP 2219)): #0 0x00007f8af38e9fe9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0 #1 0x00007f8af38a4f39 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f8af38a58cb in ?? () from /usr/lib/libglib-2.0.so.0 #3 0x00007f8af38a5abc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f8af75d208c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007f8af75777b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #6 0x00007f8af73895d4 in QThread::exec() () from /usr/lib/libQt5Core.so.5 #7 0x00007f8af921d835 in ?? () from /usr/lib/libQt5Qml.so.5 #8 0x00007f8af738e55e in ?? () from /usr/lib/libQt5Core.so.5 #9 0x00007f8af4414374 in start_thread () from /usr/lib/libpthread.so.0 #10 0x00007f8af6d2127d in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7f8afa2f5780 (LWP 2208)): [KCrash Handler] #5 0x00007f8ae790170f in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #6 0x00007f8ae79023c3 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #7 0x00007f8ae7903d58 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #8 0x00007f8af78b5a8b in QInternalMimeData::formats() const () from /usr/lib/libQt5Gui.so.5 #9 0x00007f8ae7903a65 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #10 0x00007f8af78b5836 in QInternalMimeData::hasFormat(QString const&) const () from /usr/lib/libQt5Gui.so.5 #11 0x00007f8af75a3e56 in QMimeData::hasText() const () from /usr/lib/libQt5Core.so.5 #12 0x00007f8af9566288 in QQuickTextInput::q_canPasteChanged() () from /usr/lib/libQt5Quick.so.5 #13 0x00007f8af964cce0 in ?? () from /usr/lib/libQt5Quick.so.5 #14 0x00007f8af75aa309 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #15 0x00007f8af78b2be1 in QClipboard::emitChanged(QClipboard::Mode) () from /usr/lib/libQt5Gui.so.5 #16 0x00007f8ae790261c in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #17 0x00007f8ae79085f0 in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #18 0x00007f8ae79097bb in ?? () from /usr/lib/qt/plugins/platforms/libqxcb.so #19 0x00007f8af75ab06a in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5 #20 0x00007f8af80f2acc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #21 0x00007f8af80f7f10 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007f8af7579d1b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #23 0x00007f8af757bd5b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5 #24 0x00007f8af75d1c83 in ?? () from /usr/lib/libQt5Core.so.5 #25 0x00007f8af38a571d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #26 0x00007f8af38a5a08 in ?? () from /usr/lib/libglib-2.0.so.0 #27 0x00007f8af38a5abc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #28 0x00007f8af75d2077 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #29 0x00007f8af75777b2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #30 0x00007f8af757f18c in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #31 0x0000000000407067 in main ()
(In reply to Markus from comment #11) > I use 2 external monitors, while the internal display is disabled. I'm using the same configuration and see the crash also.
It still happens for me, too. However, I found a workaround so it doesn't crash anymore, but it may not be suitable for everyone. The workaround is to add "Monitor" sections for each monitor to the xorg.conf and configure the monitor layout there. I think the crash is caused by a short period in which no valid screen is available. What leads to me to this conclusion is that it crashes when I have the laptop screen disabled and the external screen set as primary. In this configuration, when the system starts, only the laptop screen is enabled. The external monitor is enabled only after KDE starts. This is the exact time the krunner crashes. When I had both screens enabled it didn't crash. With the workaround posted above it doesn't crash either. Probably because both screens are enabled as soon as Xorg starts and KDE is presented with two working screens, one of which is later disabled (disabling it in xorg.conf doesn't work for me for some reason).
Comment #11 is bug 346579.
*** Bug 347387 has been marked as a duplicate of this bug. ***
After updating krunner and plasma-framework to 5.10 I didn't see the crash anymore.
I'm having a similar crash even with plasma-framework 5.12. This occurs when I do the following: - used notebook standalone (just the notebook display) - suspend - put notebook into docking station, which has two external displays attached - resume from suspend kscreen will then disable the notebook display and enable the two external displays. When I then invoke krunner, it crashes. Thread 1 (Thread 0x7f38cdad6900 (LWP 18054)): [KCrash Handler] #6 QScreen::handle (this=0x0) at kernel/qscreen.cpp:85 #7 0x00007f38bb7b9ff5 in QXcbWindow::QXcbWindow (this=0x12ff2a0, window=0x7fff41684e50) at qxcbwindow.cpp:260 #8 0x00007f38bb7a6fd1 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x7fff41684e50) at qxcbintegration.cpp:194 #9 0x00007f38cb120666 in QWindowPrivate::create (this=0x1338ee0, recursive=recursive@entry=false) at kernel/qwindow.cpp:395 #10 0x00007f38cb12085b in QWindow::create (this=this@entry=0x7fff41684e50) at kernel/qwindow.cpp:546 #11 0x00007f38cb120a08 in QWindow::winId (this=0x7fff41684e50) at kernel/qwindow.cpp:565 #12 0x00007f38cd854a00 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5 #13 0x00007f38cae1c12e in QMetaObject::activate (sender=sender@entry=0x7fff41684e50, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7fff41684180) at kernel/qobject.cpp:3717 #14 0x00007f38cae1c7a7 in QMetaObject::activate (sender=sender@entry=0x7fff41684e50, m=m@entry=0x7f38cb567bc0 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=12, argv=argv@entry=0x7fff41684180) at kernel/qobject.cpp:3582 #15 0x00007f38cb1200a2 in QWindow::visibleChanged (this=this@entry=0x7fff41684e50, _t1=_t1@entry=true) at .moc/moc_qwindow.cpp:710 #16 0x00007f38cb123387 in QWindow::setVisible (this=0x7fff41684e50, visible=true) at kernel/qwindow.cpp:471 #17 0x00007f38cae1baba in call (a=0x7fff41684320, r=0x7fff41684e50, this=0x1459d50) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124 #18 QMetaObject::activate (sender=sender@entry=0x1459d30, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff41684320) at kernel/qobject.cpp:3702 #19 0x00007f38cae1c7a7 in QMetaObject::activate (sender=sender@entry=0x1459d30, m=m@entry=0x7f38cbe7ab40 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff41684320) at kernel/qobject.cpp:3582 #20 0x00007f38cb9596c2 in QAction::triggered (this=this@entry=0x1459d30, _t1=false) at .moc/moc_qaction.cpp:360 #21 0x00007f38cb95bdc8 in QAction::activate (this=0x1459d30, event=<optimized out>) at kernel/qaction.cpp:1167 #22 0x00007f38cd412c6b in ?? () from /usr/lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5 #23 0x00007f38cae1c12e in QMetaObject::activate (sender=0x145d9a0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff41684530) at kernel/qobject.cpp:3717 #24 0x00007f38cd421399 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5 #25 0x00007f38cd421a74 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5 #26 0x00007f38cd4229af in ?? () from /usr/lib/x86_64-linux-gnu/libKF5GlobalAccel.so.5 #27 0x00007f38cdc045c7 in QDBusConnectionPrivate::deliverCall (this=0x1321e50, object=0x145d9a0, msg=..., metaTypes=..., slotIdx=6) at qdbusintegrator.cpp:993 #28 0x00007f38cae1ce8a in QObject::event (this=0x145d9a0, e=<optimized out>) at kernel/qobject.cpp:1245 #29 0x00007f38cb963adc in QApplicationPrivate::notify_helper (this=this@entry=0x12d2030, receiver=receiver@entry=0x145d9a0, e=e@entry=0x12f9a00) at kernel/qapplication.cpp:3720 #30 0x00007f38cb968fb0 in QApplication::notify (this=0x7fff41684de0, receiver=0x145d9a0, e=0x12f9a00) at kernel/qapplication.cpp:3503 #31 0x00007f38cadeb3ab in QCoreApplication::notifyInternal (this=0x7fff41684de0, receiver=0x145d9a0, event=event@entry=0x12f9a00) at kernel/qcoreapplication.cpp:935 #32 0x00007f38caded41b in sendEvent (event=0x12f9a00, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228 #33 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x12cfc20) at kernel/qcoreapplication.cpp:1552 #34 0x00007f38cadeda18 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410 #35 0x00007f38cae43f33 in postEventSourceDispatch (s=0x130fe60) at kernel/qeventdispatcher_glib.cpp:271 #36 0x00007f38c7a79c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007f38c7a79f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007f38c7a79fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #39 0x00007f38cae44347 in QEventDispatcherGlib::processEvents (this=0x130acc0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #40 0x00007f38cade8b62 in QEventLoop::exec (this=this@entry=0x7fff41684d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #41 0x00007f38cadf07ac in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #42 0x00000000004077a7 in main ()
Here is a gdb backtrace: (gdb) bt #0 0x00007fc5407cc8ed in nanosleep () from /lib/libc.so.6 #1 0x00007fc5407cc784 in sleep () from /lib/libc.so.6 #2 0x00007fc5461b7660 in startProcessInternal (argc=22, argv=0x7ffe8a0e65f0, waitAndExit=true, directly=false) at /tmp/kf5/kcrash/kcrash-5.14.0/src/kcrash.cpp:628 #3 0x00007fc5461b7536 in KCrash::startProcess (argc=22, argv=0x7ffe8a0e65f0, waitAndExit=true) at /tmp/kf5/kcrash/kcrash-5.14.0/src/kcrash.cpp:594 #4 0x00007fc5461b7483 in KCrash::defaultCrashHandler (sig=11) at /tmp/kf5/kcrash/kcrash-5.14.0/src/kcrash.cpp:505 #5 <signal handler called> #6 0x00007fc544eb9de0 in QQmlComponent::status() const () from /opt/qt5/lib/libQt5Qml.so.5 #7 0x00007fc545a75c20 in KDeclarative::QmlObject::completeInitialization ( this=0x14da4e0, initialProperties=...) at /tmp/kf5/kdeclarative/kdeclarative-5.14.0/src/kdeclarative/qmlobject.cpp:312 #8 0x000000000040f35a in View::View (this=0x7ffe8a0e72e0) at /tmp/plasma5/plasma-workspace/plasma-workspace-5.4.1/krunner/view.cpp:94 #9 0x000000000040ddb1 in main (argc=1, argv=0x7ffe8a0e75f8) at /tmp/plasma5/plasma-workspace/plasma-workspace-5.4.1/krunner/main.cpp:75 (gdb) kf5: 5.14.0 plasma: 5.4.1 qt: 5.5.0 Just one screen with a nvidia card. Architecture: x86_64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 12 On-line CPU(s) list: 0-11 Thread(s) per core: 2 Core(s) per socket: 6 Socket(s): 1 NUMA node(s): 1 Vendor ID: GenuineIntel CPU family: 6 Model: 63 Model name: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz Looks like a race condition to me. In kdeclarative/qmlobject.cpp, I do not see where d->component is initialized.
I have the same issue; it happens when I start Kubuntu 15.04 (KDE plasma vers 5.2.2; Qt vers 5.4.1) Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7fa3dd4597c0 (LWP 2049))] Thread 4 (Thread 0x7fa3c9c70700 (LWP 2050)): #0 0x00007fa3d9df78dd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa3d7866b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #2 0x00007fa3d786864f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1 #3 0x00007fa3cbfb7099 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #4 0x00007fa3da478b0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fa3d9ae56aa in start_thread (arg=0x7fa3c9c70700) at pthread_create.c:333 #6 0x00007fa3d9e02eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 3 (Thread 0x7fa3c09d6700 (LWP 2058)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 #1 0x00007fa3c3a14bbb in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so #2 0x00007fa3c3a14337 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so #3 0x00007fa3d9ae56aa in start_thread (arg=0x7fa3c09d6700) at pthread_create.c:333 #4 0x00007fa3d9e02eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 2 (Thread 0x7fa3bc9cc700 (LWP 2070)): #0 0x00007fa3d9df78dd in poll () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fa3d95c6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007fa3d95c6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007fa3da70fc6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007fa3da6b43e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007fa3da473b44 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007fa3db620f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5 #7 0x00007fa3da478b0e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007fa3d9ae56aa in start_thread (arg=0x7fa3bc9cc700) at pthread_create.c:333 #9 0x00007fa3d9e02eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109 Thread 1 (Thread 0x7fa3dd4597c0 (LWP 2049)): [KCrash Handler] #6 0x00007fa3cbfaf1af in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #7 0x00007fa3cbfafe53 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #8 0x00007fa3cbfb1818 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #9 0x00007fa3daa1138b in QInternalMimeData::formats() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #10 0x00007fa3cbfb14f5 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #11 0x00007fa3daa11116 in QInternalMimeData::hasFormat(QString const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #12 0x00007fa3da6e13e6 in QMimeData::hasText() const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #13 0x00007fa3dcb470e8 in QQuickTextInput::q_canPasteChanged() () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #14 0x00007fa3dcc2f370 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5 #15 0x00007fa3da6e79c9 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #16 0x00007fa3daa0e491 in QClipboard::emitChanged(QClipboard::Mode) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 #17 0x00007fa3cbfb00ac in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #18 0x00007fa3cbfb6358 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #19 0x00007fa3cbfb74bb in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so #20 0x00007fa3da6e873a in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #21 0x00007fa3dce9db2c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #22 0x00007fa3dcea3000 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007fa3da6b6c2b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #24 0x00007fa3da6b8c9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #25 0x00007fa3da70f843 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #26 0x00007fa3d95c6c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #27 0x00007fa3d95c6f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #28 0x00007fa3d95c6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #29 0x00007fa3da70fc6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #30 0x00007fa3da6b43e2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #31 0x00007fa3da6bc02c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #32 0x0000000000407447 in main ()
Happens for me too immediately after login when using laptop with external monitor on (HDMI) and internal monitor off. Doesn't happen when external monitor isn't attached and internal monitor is on. Using openSUSE Tumbleweed x64, Plasma 5.4.1, Qt. 5.4.2. Machine: System: Dell product: Latitude E5420 version: 01 Mobo: Dell model: 0H5TG2 version: A01 Bios: Dell version: A14 date: 12/26/2013 CPU: Dual core Intel Core i5-2520M CPU (-MCP-) cache: 3072 KB flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) Graphics: Card: Intel 2nd Generation Core Processor Family Integrated Graphics Controller Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f04a0ada880 (LWP 2431))] Thread 3 (Thread 0x7f048b379700 (LWP 2440)): #0 0x00007f049c82826d in poll () from /lib64/libc.so.6 #1 0x00007f049bd32432 in ?? () from /usr/lib64/libxcb.so.1 #2 0x00007f049bd34007 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1 #3 0x00007f048d6c97f9 in QXcbEventReader::run (this=0xc11080) at qxcbconnection.cpp:1106 #4 0x00007f049cf13eaf in QThreadPrivate::start (arg=0xc11080) at thread/qthread_unix.cpp:337 #5 0x00007f049a6d74a4 in start_thread () from /lib64/libpthread.so.0 #6 0x00007f049c830bfd in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f047f264700 (LWP 2456)): #0 0x00007ffcc0576939 in ?? () #1 0x00007ffcc0576cd9 in clock_gettime () #2 0x00007f049c83d7f6 in clock_gettime () from /lib64/libc.so.6 #3 0x00007f049cfc0736 in qt_clock_gettime (ts=0x7f047f263ae0, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105 #4 do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:161 #5 qt_gettime () at tools/qelapsedtimer_unix.cpp:170 #6 0x00007f049d135dc9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f0478002ed0) at kernel/qtimerinfo_unix.cpp:84 #7 0x00007f049d1362d5 in QTimerInfoList::timerWait (this=0x7f0478002ed0, tm=...) at kernel/qtimerinfo_unix.cpp:379 #8 0x00007f049d13766e in timerSourcePrepareHelper (timeout=0x7f047f263b94, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127 #9 timerSourcePrepare (source=<optimized out>, timeout=0x7f047f263b94) at kernel/qeventdispatcher_glib.cpp:160 #10 0x00007f0499d6d4bd in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0 #11 0x00007f0499d6ddc3 in ?? () from /usr/lib64/libglib-2.0.so.0 #12 0x00007f0499d6df9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #13 0x00007f049d13820b in QEventDispatcherGlib::processEvents (this=0x7f04780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420 #14 0x00007f049d0e15ea in QEventLoop::exec (this=this@entry=0x7f047f263d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #15 0x00007f049cf0f13c in QThread::exec (this=this@entry=0xf7ca10) at thread/qthread.cpp:503 #16 0x00007f049f53dce5 in QQmlThreadPrivate::run (this=0xf7ca10) at /usr/src/debug/qtdeclarative-opensource-src-5.4.2/src/qml/qml/ftw/qqmlthread.cpp:141 #17 0x00007f049cf13eaf in QThreadPrivate::start (arg=0xf7ca10) at thread/qthread_unix.cpp:337 #18 0x00007f049a6d74a4 in start_thread () from /lib64/libpthread.so.0 #19 0x00007f049c830bfd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f04a0ada880 (LWP 2431)): [KCrash Handler] #6 0x00007f048d6c4228 in QXcbClipboard::requestor (this=this@entry=0xc26f60) at qxcbclipboard.cpp:481 #7 0x00007f048d6c4ea3 in QXcbClipboard::getSelection (this=0xc26f60, selection=346, target=348, property=353, time=time@entry=0) at qxcbclipboard.cpp:1004 #8 0x00007f048d6c6728 in getDataInFormat (fmtAtom=<optimized out>, modeAtom=<optimized out>, this=<optimized out>) at qxcbclipboard.cpp:998 #9 QXcbClipboardMime::formats_sys (this=0x126bf20) at qxcbclipboard.cpp:97 #10 0x00007f049d616b59 in QInternalMimeData::formats (this=<optimized out>) at kernel/qdnd.cpp:207 #11 0x00007f048d6c6455 in QXcbClipboardMime::hasFormat_sys (this=<optimized out>, format=...) at qxcbclipboard.cpp:119 #12 0x00007f049d616a16 in QInternalMimeData::hasFormat (this=this@entry=0x126bf20, mimeType=...) at kernel/qdnd.cpp:194 #13 0x00007f049d10c756 in QMimeData::hasText (this=0x126bf20) at kernel/qmimedata.cpp:405 #14 0x00007f049fc8d418 in QQuickTextInput::q_canPasteChanged (this=0xfb8f80) at /usr/src/debug/qtdeclarative-opensource-src-5.4.2/src/quick/items/qquicktextinput.cpp:2747 #15 0x00007f049fd62fa0 in QQuickTextInput::qt_static_metacall (_o=_o@entry=0xfb8f80, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=56, _a=_a@entry=0x7ffcc0408570) at .moc/moc_qquicktextinput_p.cpp:698 #16 0x00007f049d112d4a in QMetaObject::activate (sender=0xfafdd0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3717 #17 0x00007f049d113547 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f049dc356e0 <QClipboard::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3582 #18 0x00007f049d96cb13 in QClipboard::dataChanged (this=<optimized out>) at .moc/moc_qclipboard.cpp:175 #19 0x00007f049d6138c9 in QClipboard::emitChanged (this=0xfafdd0, mode=mode@entry=QClipboard::Clipboard) at kernel/qclipboard.cpp:573 #20 0x00007f049d5fe643 in QPlatformClipboard::emitChanged (this=this@entry=0xc26f60, mode=mode@entry=QClipboard::Clipboard) at kernel/qplatformclipboard.cpp:119 #21 0x00007f048d6c50af in QXcbClipboard::handleXFixesSelectionRequest (this=0xc26f60, event=event@entry=0x7f0484004ee0) at qxcbclipboard.cpp:747 #22 0x00007f048d6cb415 in QXcbConnection::handleXcbEvent (this=this@entry=0xc05390, event=event@entry=0x7f0484004ee0) at qxcbconnection.cpp:958 #23 0x00007f048d6cc10b in QXcbConnection::processXcbEvents (this=0xc05390) at qxcbconnection.cpp:1356 #24 0x00007f049d113b39 in QObject::event (this=0xc05390, e=<optimized out>) at kernel/qobject.cpp:1245 #25 0x00007f049e02386c in QApplicationPrivate::notify_helper (this=this@entry=0xbf7000, receiver=receiver@entry=0xc05390, e=e@entry=0x7f0484003da0) at kernel/qapplication.cpp:3720 #26 0x00007f049e028b80 in QApplication::notify (this=0x7ffcc0408e00, receiver=0xc05390, e=0x7f0484003da0) at kernel/qapplication.cpp:3503 #27 0x00007f049d0e3bf3 in QCoreApplication::notifyInternal (this=0x7ffcc0408e00, receiver=0xc05390, event=event@entry=0x7f0484003da0) at kernel/qcoreapplication.cpp:935 #28 0x00007f049d0e5c37 in sendEvent (event=0x7f0484003da0, receiver=<optimized out>) at kernel/qcoreapplication.h:228 #29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xbf3af0) at kernel/qcoreapplication.cpp:1552 #30 0x00007f049d0e6158 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410 #31 0x00007f049d137de3 in postEventSourceDispatch (s=0xc430f0) at kernel/qeventdispatcher_glib.cpp:271 #32 0x00007f0499d6dcc7 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #33 0x00007f0499d6def8 in ?? () from /usr/lib64/libglib-2.0.so.0 #34 0x00007f0499d6df9c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #35 0x00007f049d1381ef in QEventDispatcherGlib::processEvents (this=0xc36bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:418 #36 0x00007f049d0e15ea in QEventLoop::exec (this=this@entry=0x7ffcc0408d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204 #37 0x00007f049d0e8d6d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188 #38 0x00007f049d60249c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1507 #39 0x00007f049e01ff85 in QApplication::exec () at kernel/qapplication.cpp:2956 #40 0x000000000040841b in main (argc=1, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.1/krunner/main.cpp:80
Th(In reply to Henri from comment #20) > Happens for me too immediately after login when using laptop with external > monitor on (HDMI) and internal monitor off. Doesn't happen when external > monitor isn't attached and internal monitor is on. Using openSUSE Tumbleweed > x64, Plasma 5.4.1, Qt. 5.4.2. The same here on openSUSE TW -- it happens when I switch monitors or sometimes when I kill plasmashell and restart it afterwards.
This is a known issue in Qt, see https://bugreports.qt.io/browse/QTBUG-42985 they need to get that fixed, until now, even 5.5.x with all patches applied crashs in some cases. If you want to help them out, please comment in the above bug report. That report links others, too, like mine, which have different backtraces, but the same reason.
I think you are too quick to close this. I posted a backtrace in Comment #18. Krunner crashes for me at initial startup with only one screen and that screen is not dynamically connected or disconnected. I tried to trace the problem, but I don't understand the code well enough. In any case, it is repeatable every time for me.
I upgraded from plasma 4 to 5.4.2 and krunner crashes at startup when using my default user. When logging in to a new user account one, it does not crash.
Created attachment 95090 [details] attachment-9667-0.html You could try moving your ~/.config directory, or selected contents, sideways and see if that fixes it. On 23 October 2015 at 09:25, Gregor Mi via KDE Bugzilla < bugzilla_noreply@kde.org> wrote: > https://bugs.kde.org/show_bug.cgi?id=343982 > > --- Comment #24 from Gregor Mi <codestruct@posteo.org> --- > I upgraded from plasma 4 to 5.4.2 and krunner crashes at startup when > using my > default user. > > When logging in to a new user account one, it does not crash. > > -- > You are receiving this mail because: > You are on the CC list for the bug. >
In comments #18 and #25 I commented about a segfault I was having. I have traced that down to a problem with my build procedures and those comments are invalid.
Application: krunner (krunner), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f8ee7a9e7c0 (LWP 1700))] Thread 3 (Thread 0x7f8ed278e700 (LWP 1701)): #0 0x00007f8ee3758c1d in poll () at /lib64/libc.so.6 #1 0x00007f8ee2c66422 in () at /usr/lib64/libxcb.so.1 #2 0x00007f8ee2c6800f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1 #3 0x00007f8ed48dec29 in () at /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007f8ee3e4f55f in () at /usr/lib64/libQt5Core.so.5 #5 0x00007f8ee15ce0a4 in start_thread () at /lib64/libpthread.so.0 #6 0x00007f8ee376104d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7f8ec6436700 (LWP 1738)): #0 0x00007f8ee3758c1d in poll () at /lib64/libc.so.6 #1 0x00007f8ee0c67e64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007f8ee0c67f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007f8ee4080a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007f8ee4027a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007f8ee3e4a84a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007f8ee64f35f8 in () at /usr/lib64/libQt5Qml.so.5 #7 0x00007f8ee3e4f55f in () at /usr/lib64/libQt5Core.so.5 #8 0x00007f8ee15ce0a4 in start_thread () at /lib64/libpthread.so.0 #9 0x00007f8ee376104d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7f8ee7a9e7c0 (LWP 1700)): [KCrash Handler] #6 0x0000000000000000 in () #7 0x00007f8ee405c01b in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () at /usr/lib64/libQt5Core.so.5 #8 0x00007f8ee6ce85d0 in () at /usr/lib64/libQt5Quick.so.5 #9 0x00007f8ee6ce87c9 in () at /usr/lib64/libQt5Quick.so.5 #10 0x00007f8ee6bfff08 in QQuickItemPrivate::refWindow(QQuickWindow*) () at /usr/lib64/libQt5Quick.so.5 #11 0x00007f8ee6bffec5 in QQuickItemPrivate::refWindow(QQuickWindow*) () at /usr/lib64/libQt5Quick.so.5 #12 0x00007f8ee6c00e3b in QQuickItem::setParentItem(QQuickItem*) () at /usr/lib64/libQt5Quick.so.5 #13 0x00007f8ee76b4e38 in PlasmaQuick::Dialog::setMainItem(QQuickItem*) () at /usr/lib64/libKF5PlasmaQuick.so.5 #14 0x00007f8ee405940f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #15 0x00007f8ee7051349 in () at /usr/lib64/libKF5Declarative.so.5 #16 0x00007f8ee405a796 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5 #17 0x00007f8ee4f90e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #18 0x00007f8ee4f95cd8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #19 0x00007f8ee4029ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #20 0x00007f8ee402bd67 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5 #21 0x00007f8ee40815c3 in () at /usr/lib64/libQt5Core.so.5 #22 0x00007f8ee0c67c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #23 0x00007f8ee0c67ed8 in () at /usr/lib64/libglib-2.0.so.0 #24 0x00007f8ee0c67f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #25 0x00007f8ee4080a3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #26 0x00007f8ee4027a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #27 0x00007f8ee402f5d6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #28 0x0000000000408b36 in main ()
*** This bug has been confirmed by popular vote. ***
*** This bug has been marked as a duplicate of bug 341497 ***