Bug 353129 - KRunner crashes when screen layout changes during login
Summary: KRunner crashes when screen layout changes during login
Status: RESOLVED FIXED
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.1
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Kai Uwe Broulik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 11:04 UTC by Ralf Jung
Modified: 2016-09-01 10:53 UTC (History)
10 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.05 KB, text/plain)
2015-11-09 20:07 UTC, Ivo13
Details
New crash information added by DrKonqi (6.10 KB, text/plain)
2015-11-19 18:35 UTC, Joshua Blair
Details
New crash information added by DrKonqi (6.04 KB, text/plain)
2015-11-27 20:25 UTC, HiJack88
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Jung 2015-09-24 11:04:21 UTC
Application: krunner (0.1)

Qt Version: 5.5.0
Operating System: Linux 4.1.0-2-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

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

I have an external screen attached to my laptop. KScreen is configured to use *only* the external screen. Since SDDM comes up on all screens, that means that the screen layout changes during login. Sometimes, this causes KRunner to crash.

The crash can be reproduced sometimes.

-- Backtrace:
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 0x7f83d6235900 (LWP 13115))]

Thread 3 (Thread 0x7f83c1f6c700 (LWP 13118)):
#0  0x00007f83d2cc152d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f83d21c3252 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f83d21c4ddf in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f83c3882669 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f83d33acbee in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f83d0f510a4 in start_thread (arg=0x7f83c1f6c700) at pthread_create.c:309
#6  0x00007f83d2cca06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f83ba22c700 (LWP 13133)):
#0  0x00007f83d2cc152d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f83d03ccebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f83d03ccfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f83d35e444b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007f83d358b40a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f83d33a7c44 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f83d51f9815 in QQmlThreadPrivate::run (this=0x2076740) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f83d33acbee in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f83d0f510a4 in start_thread (arg=0x7f83ba22c700) at pthread_create.c:309
#9  0x00007f83d2cca06d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f83d6235900 (LWP 13115)):
[KCrash Handler]
#6  0x00007f83d35c09c7 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f83d57e30c0 in QObject::disconnect (member=0x0, receiver=0x250ed60, this=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:361
#8  QQuickScreenAttached::screenChanged (this=this@entry=0x250ed60, screen=0x0) at items/qquickscreen.cpp:342
#9  0x00007f83d57e32e9 in QQuickScreenAttached::windowChanged (this=0x250ed60, c=c@entry=0x7fff407aefa0) at items/qquickscreen.cpp:329
#10 0x00007f83d56f9599 in QQuickItemPrivate::refWindow (this=0x221c150, c=c@entry=0x7fff407aefa0) at items/qquickitem.cpp:2792
#11 0x00007f83d56f9554 in QQuickItemPrivate::refWindow (this=this@entry=0x206c460, c=c@entry=0x7fff407aefa0) at items/qquickitem.cpp:2786
#12 0x00007f83d56fbe94 in QQuickItem::setParentItem (this=0x206c430, parentItem=0x1bb1ed0) at items/qquickitem.cpp:2530
#13 0x00007f83d5faf118 in PlasmaQuick::Dialog::setMainItem(QQuickItem*) () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#14 0x00007f83d35bc647 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f83d594a3e9 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Declarative.so.5
#16 0x00007f83d35bd681 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007f83d410a9fc in QApplicationPrivate::notify_helper (this=this@entry=0x1b3ccd0, receiver=receiver@entry=0x207c310, e=e@entry=0x20a48f0) at kernel/qapplication.cpp:3717
#18 0x00007f83d410fec6 in QApplication::notify (this=0x7fff407aef30, receiver=0x207c310, e=0x20a48f0) at kernel/qapplication.cpp:3500
#19 0x00007f83d358dc7b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007f83d3590076 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f83d35e4023 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f83d03ccc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f83d03ccf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f83d03ccfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f83d35e442f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007f83d358b40a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007f83d35934cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x0000000000407b89 in main ()

Report to https://bugs.kde.org/

Reproducible: Always




I tried submitting this via DrKonqi, but that failed saying something about version 0.1 not being active.
Comment 1 Ralf Jung 2015-09-24 11:18:34 UTC
This is actually pretty reproducible, I now saw this crash in 3 out of 3 login attempts.
Comment 2 valdikss 2015-10-08 12:32:45 UTC
Can confirm. I have a laptop screen with 1366×768 and external VGA monitor with 1920×1080. It changes resolution on login to 1920×1080 and krunner crashes.
Comment 3 Krzysztof Nowicki 2015-10-12 06:40:50 UTC
Happens to me pretty regularly on system start-up when booting with the docking station. Doesn't happen when booting with internal display only.

Setup is Gentoo Linux with Qt 5.5, KF 5.14, Plasma 5.4.2. The laptop is placed closed in a docking station with two external monitors attached. The graphics card is nVidia Quadro NVS running nVidia proprietary drivers.

This smells like a Qt bug to me - they've been hunting down a lot of NULL QScreen related crashes lately and more keep piling up.

Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8afc6a0840 (LWP 10510))]

Thread 3 (Thread 0x7f8afb1e5700 (LWP 10518)):
#0  0x00007f8b0c82e54d in poll () from /lib64/libc.so.6
#1  0x00007f8b08cb9aaa in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f8b08cc840f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f8afc302cb9 in QXcbEventReader::run() (this=0x561d843221a0) at qxcbconnection.cpp:1213
#4  0x00007f8b099c81b3 in start (arg=0x561d843221a0) at thread/qthread_unix.cpp:331
#5  0x00007f8b07a8647c in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8b0c83821d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8af28a4700 (LWP 10785)):
#0  0x00007f8b0c82e54d in poll () from /lib64/libc.so.6
#1  0x00007f8b07773b55 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8b07759141 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8b099fa7bc in QEventDispatcherGlib::processEvents (this=0x7f8aec0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f8b099ce557 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8af28a3d30, flags=..., flags@entry=...) at kernel/qeventloop.cpp:128
#5  0x00007f8b099d6006 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f8af28a3d30, flags=flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f8b099c82f4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f8b0b69dc67 in QQmlThreadPrivate::run (this=0x561d8474f7f0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f8b099c81b3 in start (arg=0x561d8474f7f0) at thread/qthread_unix.cpp:331
#9  0x00007f8b07a8647c in start_thread () from /lib64/libpthread.so.0
#10 0x00007f8b0c83821d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8afc6a0840 (LWP 10510)):
[KCrash Handler]
#6  0x0000000000000001 in ?? ()
#7  0x00007f8b09a49a5d in QObject::disconnect (sender=0x561d843335e0, signal=signal@entry=0x0, receiver=receiver@entry=0x561d848dbd60, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007f8b0bcae9ab in disconnect () at /usr/include/qt5/QtCore/qobject.h:361
#9  QQuickScreenAttached::screenChanged(QScreen*) (this=this@entry=0x561d848dbd60, screen=0x561d84333a40) at items/qquickscreen.cpp:342
#10 0x00007f8b0bcaebf2 in QQuickScreenAttached::windowChanged(QQuickWindow*) (this=0x561d848dbd60, c=0x7ffd43a24a60) at items/qquickscreen.cpp:329
#11 0x00007f8b0bcf98b7 in QQuickItemPrivate::refWindow(QQuickWindow*) (this=0x561d8482b900, c=c@entry=0x7ffd43a24a60) at items/qquickitem.cpp:2792
#12 0x00007f8b0bcf9870 in QQuickItemPrivate::refWindow(QQuickWindow*) (this=this@entry=0x561d847d3360, c=c@entry=0x7ffd43a24a60) at items/qquickitem.cpp:2786
#13 0x00007f8b0bcfae21 in QQuickItem::setParentItem(QQuickItem*) (this=this@entry=0x561d847d3330, parentItem=0x561d843a58b0) at items/qquickitem.cpp:2530
#14 0x00007f8b0c513264 in PlasmaQuick::Dialog::setMainItem(QQuickItem*) (this=0x7ffd43a24a60, mainItem=0x561d847d3330) at /var/tmp/portage/kde-frameworks/plasma-5.14.0/work/plasma-framework-5.14.0/src/plasmaquick/dialog.cpp:715
#15 0x00007f8b09a5399e in call () at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=sender@entry=0x561d8474a720, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3703
#17 0x00007f8b09a53e96 in QMetaObject::activate (sender=0x561d8474a720, m=<optimized out>, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3583
#18 0x00007f8b0bec1279 in ?? () from /usr/lib64/libKF5Declarative.so.5
#19 0x00007f8b09b93123 in QMetaCallEvent::placeMetaCall(QObject*) (this=0x561d849cac50, object=0x561d8474a720) at kernel/qobject.cpp:486
#20 0x00007f8b09b97a28 in QObject::event(QEvent*) (this=0x561d8474a720, e=<optimized out>) at kernel/qobject.cpp:1246
#21 0x00007f8b0a9ea88c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f8b0a9eb00a in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f8b099d56a5 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd43a249f0, receiver=receiver@entry=0x561d8474a720, event=event@entry=0x561d849cac50) at kernel/qcoreapplication.cpp:965
#24 0x00007f8b099d5bf5 in sendEvent () at kernel/qcoreapplication.h:224
#25 QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x561d84315f10) at kernel/qcoreapplication.cpp:1593
#26 0x00007f8b099d5dbb in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#27 0x00007f8b09a0235f in postEventSourceDispatch (s=0x561d8436a630) at kernel/qeventdispatcher_glib.cpp:271
#28 0x00007f8b07757eda in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f8b07773bb8 in ?? () from /usr/lib64/libglib-2.0.so.0
#30 0x00007f8b07759141 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#31 0x00007f8b099fa7a1 in QEventDispatcherGlib::processEvents (this=0x561d8435cac0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#32 0x00007f8afc34ec1c in QPAEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at eventdispatchers/qeventdispatcher_glib.cpp:115
#33 0x00007f8b099ce557 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd43a24900, flags=..., flags@entry=...) at kernel/qeventloop.cpp:128
#34 0x00007f8b099d6006 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd43a24900, flags=flags@entry=...) at kernel/qeventloop.cpp:204
#35 0x00007f8b099d6dc4 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#36 0x00007f8b09e1f6bc in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1528
#37 0x0000561d83e79d7f in main ()
Comment 4 Krzysztof Nowicki 2015-10-14 09:41:08 UTC
Reported https://bugreports.qt.io/browse/QTBUG-48754 with some additional backtrace information.
Comment 5 Krzysztof Nowicki 2015-10-21 07:45:28 UTC
I'm not seeing this with Qt 5.5.1 any more. Can anyone confirm?
Comment 6 nazgul17@gmail.com 2015-11-07 23:22:31 UTC
I am affected by the same bug, I guess. Krunner crashes on login, the backtrace looks very similar, so I guess this is the same bug. I am on a openSUSE 42.1 up to date.

I am not sure how to check the Qt version... could you tell me the steps to know it?

Here is the backtrace, hope it is helpful.

Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd66c9ae7c0 (LWP 1353))]

Thread 3 (Thread 0x7fd6576bf700 (LWP 1357)):
#0  0x00007fd668655c1d in poll () from /lib64/libc.so.6
#1  0x00007fd667b63422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fd667b6500f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fd65980fc29 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007fd668d4c55f in QThreadPrivate::start (arg=0x13448f0) at thread/qthread_unix.cpp:331
#5  0x00007fd6664cb0a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007fd66865e04d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fd64b319700 (LWP 1385)):
#0  0x00007fd668655c1d in poll () from /lib64/libc.so.6
#1  0x00007fd665b64e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fd665b64f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fd668f7da5b in QEventDispatcherGlib::processEvents (this=0x7fd6440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fd668f24a63 in QEventLoop::exec (this=this@entry=0x7fd64b318df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fd668d4784a in QThread::exec (this=this@entry=0x16ddf90) at thread/qthread.cpp:503
#6  0x00007fd66b3f05f8 in QQmlThreadPrivate::run (this=0x16ddf90) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007fd668d4c55f in QThreadPrivate::start (arg=0x16ddf90) at thread/qthread_unix.cpp:331
#8  0x00007fd6664cb0a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fd66865e04d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fd66c9ae7c0 (LWP 1353)):
[KCrash Handler]
#6  0x0000000001398df0 in ?? ()
#7  0x00007fd668f5901b in QObject::disconnect (sender=0x134b880, signal=signal@entry=0x0, receiver=receiver@entry=0x1738c00, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007fd66bbe55d0 in disconnect (member=0x0, receiver=0x1738c00, this=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:361
#9  QQuickScreenAttached::screenChanged (this=this@entry=0x1738c00, screen=0x13470f0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:342
#10 0x00007fd66bbe57c9 in QQuickScreenAttached::windowChanged (this=0x1738c00, c=c@entry=0x7fff542a5130) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:329
#11 0x00007fd66bafcf08 in QQuickItemPrivate::refWindow (this=0x16bba00, c=c@entry=0x7fff542a5130) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2792
#12 0x00007fd66bafcec5 in QQuickItemPrivate::refWindow (this=this@entry=0x15f35a0, c=c@entry=0x7fff542a5130) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2786
#13 0x00007fd66bafde3b in QQuickItem::setParentItem (this=this@entry=0x160c5f0, parentItem=0x13a0660) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2530
#14 0x00007fd66c5b1e38 in PlasmaQuick::Dialog::setMainItem (this=0x7fff542a5130, mainItem=0x160c5f0) at /usr/src/debug/plasma-framework-5.15.0/src/plasmaquick/dialog.cpp:717
#15 0x00007fd668f5640f in call (a=0x7fff542a4940, r=0x7fff542a5130, this=0x16e31f0) at ../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=0x176cdb0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3703
#17 0x00007fd66bf4e349 in KDeclarative::QmlObject::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdeclarative-5.15.0/build/src/kdeclarative/moc_qmlobject.cpp:118
#18 0x00007fd668f57796 in QObject::event (this=0x176cdb0, e=<optimized out>) at kernel/qobject.cpp:1246
#19 0x00007fd669e8de8c in QApplicationPrivate::notify_helper (this=this@entry=0x1329f40, receiver=receiver@entry=0x176cdb0, e=e@entry=0x174c020) at kernel/qapplication.cpp:3717
#20 0x00007fd669e92cd8 in QApplication::notify (this=0x7fff542a50c0, receiver=0x176cdb0, e=0x174c020) at kernel/qapplication.cpp:3500
#21 0x00007fd668f26ba5 in QCoreApplication::notifyInternal (this=0x7fff542a50c0, receiver=0x176cdb0, event=event@entry=0x174c020) at kernel/qcoreapplication.cpp:965
#22 0x00007fd668f28d67 in sendEvent (event=0x174c020, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1327bc0) at kernel/qcoreapplication.cpp:1593
#24 0x00007fd668f29318 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#25 0x00007fd668f7e5c3 in postEventSourceDispatch (s=0x136ebe0) at kernel/qeventdispatcher_glib.cpp:271
#26 0x00007fd665b64c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fd665b64ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fd665b64f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fd668f7da3c in QEventDispatcherGlib::processEvents (this=0x137a2b0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#30 0x00007fd668f24a63 in QEventLoop::exec (this=this@entry=0x7fff542a4fe0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007fd668f2c5d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#32 0x0000000000408b36 in main (argc=1, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.2/krunner/main.cpp:80
Comment 7 Ivo13 2015-11-09 20:07:26 UTC
Created attachment 95409 [details]
New crash information added by DrKonqi

krunner (0.1) using Qt 5.5.0

- What I was doing when the application crashed:
Runing of the file : truecrypt-7.1a-setup-x64

-- Backtrace (Reduced):
#7  0x00007ff74c4ef01b in QObject::disconnect (sender=0x1ceba60, signal=signal@entry=0x0, receiver=receiver@entry=0x222e150, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007ff74f17b5d0 in disconnect (member=0x0, receiver=0x222e150, this=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:361
#9  QQuickScreenAttached::screenChanged (this=this@entry=0x222e150, screen=0x1cef480) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:342
#10 0x00007ff74f17b7c9 in QQuickScreenAttached::windowChanged (this=0x222e150, c=c@entry=0x7ffeabb479c0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:329
#11 0x00007ff74f092f08 in QQuickItemPrivate::refWindow (this=0x1fc87d0, c=c@entry=0x7ffeabb479c0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2792
Comment 8 linux 2015-11-13 15:21:01 UTC
Can confirm Bug with attached backtrace:

Application: krunner (0.1)

Qt Version: 5.5.0
Operating System: Linux 4.1.12-1-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
The crash can be reproduced every time.

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f8e5cb5b7c0 (LWP 1733))]

Thread 3 (Thread 0x7f8e45e0f700 (LWP 1735)):
#0  0x00007f8e58805c1d in poll () from /lib64/libc.so.6
#1  0x00007f8e57d13422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f8e57d1500f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f8e48591c29 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f8e58efc55f in QThreadPrivate::start (arg=0x18d01c0) at thread/qthread_unix.cpp:331
#5  0x00007f8e5667b0a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f8e5880e04d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f8e3a44d700 (LWP 1758)):
#0  0x00007f8e58805c1d in poll () from /lib64/libc.so.6
#1  0x00007f8e55d14e64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f8e55d14f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f8e5912da5b in QEventDispatcherGlib::processEvents (this=0x7f8e340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f8e590d4a63 in QEventLoop::exec (this=this@entry=0x7f8e3a44cdf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f8e58ef784a in QThread::exec (this=this@entry=0x1d9c240) at thread/qthread.cpp:503
#6  0x00007f8e5b5a05f8 in QQmlThreadPrivate::run (this=0x1d9c240) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007f8e58efc55f in QThreadPrivate::start (arg=0x1d9c240) at thread/qthread_unix.cpp:331
#8  0x00007f8e5667b0a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f8e5880e04d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f8e5cb5b7c0 (LWP 1733)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f8e5910901b in QObject::disconnect (sender=0x18d34a0, signal=signal@entry=0x0, receiver=receiver@entry=0x1e0aff0, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007f8e5bd955d0 in disconnect (member=0x0, receiver=0x1e0aff0, this=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:361
#9  QQuickScreenAttached::screenChanged (this=this@entry=0x1e0aff0, screen=0x18d19d0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:342
#10 0x00007f8e5bd957c9 in QQuickScreenAttached::windowChanged (this=0x1e0aff0, c=c@entry=0x7ffd962f93f0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:329
#11 0x00007f8e5bcacf08 in QQuickItemPrivate::refWindow (this=0x1d34e90, c=c@entry=0x7ffd962f93f0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2792
#12 0x00007f8e5bcacec5 in QQuickItemPrivate::refWindow (this=this@entry=0x1d40660, c=c@entry=0x7ffd962f93f0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2786
#13 0x00007f8e5bcade3b in QQuickItem::setParentItem (this=this@entry=0x1d52420, parentItem=0x19398e0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2530
#14 0x00007f8e5c761e38 in PlasmaQuick::Dialog::setMainItem (this=0x7ffd962f93f0, mainItem=0x1d52420) at /usr/src/debug/plasma-framework-5.15.0/src/plasmaquick/dialog.cpp:717
#15 0x00007f8e5910640f in call (a=0x7ffd962f8c00, r=0x7ffd962f93f0, this=0x1931db0) at ../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=0x1e37fd0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3703
#17 0x00007f8e5c0fe349 in KDeclarative::QmlObject::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdeclarative-5.15.0/build/src/kdeclarative/moc_qmlobject.cpp:118
#18 0x00007f8e59107796 in QObject::event (this=0x1e37fd0, e=<optimized out>) at kernel/qobject.cpp:1246
#19 0x00007f8e5a03de8c in QApplicationPrivate::notify_helper (this=this@entry=0x18a0a60, receiver=receiver@entry=0x1e37fd0, e=e@entry=0x1d26910) at kernel/qapplication.cpp:3717
#20 0x00007f8e5a042cd8 in QApplication::notify (this=0x7ffd962f9380, receiver=0x1e37fd0, e=0x1d26910) at kernel/qapplication.cpp:3500
#21 0x00007f8e590d6ba5 in QCoreApplication::notifyInternal (this=0x7ffd962f9380, receiver=0x1e37fd0, event=event@entry=0x1d26910) at kernel/qcoreapplication.cpp:965
#22 0x00007f8e590d8d67 in sendEvent (event=0x1d26910, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x189e6f0) at kernel/qcoreapplication.cpp:1593
#24 0x00007f8e590d9318 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#25 0x00007f8e5912e5c3 in postEventSourceDispatch (s=0x1904880) at kernel/qeventdispatcher_glib.cpp:271
#26 0x00007f8e55d14c84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f8e55d14ed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f8e55d14f7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f8e5912da3c in QEventDispatcherGlib::processEvents (this=0x1908590, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#30 0x00007f8e590d4a63 in QEventLoop::exec (this=this@entry=0x7ffd962f92a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007f8e590dc5d6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#32 0x0000000000408b36 in main (argc=1, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.2/krunner/main.cpp:80
Comment 9 Joshua Blair 2015-11-19 18:35:49 UTC
Created attachment 95604 [details]
New crash information added by DrKonqi

krunner (0.1) using Qt 5.5.0

- What I was doing when the application crashed: I am running openSUSE Leap 42.1 on a Dell XPS 13. I have an external monitor connected via miniDisplay port. When I plug the laptop in, I open the lid, hit the power button, and shut the lid immediately so I only use the external monitor. SDDM will come up fine but after login there is the crash notification. I can reproduce every time.

-- Backtrace (Reduced):
#7  0x00007f113e51501b in QObject::disconnect (sender=0xe2d160, signal=signal@entry=0x0, receiver=receiver@entry=0x12eee60, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007f11411a15d0 in disconnect (member=0x0, receiver=0x12eee60, this=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:361
#9  QQuickScreenAttached::screenChanged (this=this@entry=0x12eee60, screen=0xe2d610) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:342
#10 0x00007f11411a17c9 in QQuickScreenAttached::windowChanged (this=0x12eee60, c=c@entry=0x7fff508a7c90) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:329
#11 0x00007f11410b8f08 in QQuickItemPrivate::refWindow (this=0x1031f90, c=c@entry=0x7fff508a7c90) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2792
Comment 10 HiJack88 2015-11-27 20:25:11 UTC
Created attachment 95777 [details]
New crash information added by DrKonqi

krunner (0.1) using Qt 5.5.0

- What I was doing when the application crashed:

I keep getting a Krunner crash message whenever i sign in to KDE.
As a result, arbitrary things are not working as expected (STR, STD, Volume mixer etc.) and the system tends to freeze up quite often.

My system: openSUSE Leap 42.1, Lenovo Thinkpad T510, nVidia-Driver 340.96

-- Backtrace (Reduced):
#7  0x00007f19a613e01b in QObject::disconnect (sender=0xdb1ac0, signal=signal@entry=0x0, receiver=receiver@entry=0x1351f90, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007f19a8dca5d0 in disconnect (member=0x0, receiver=0x1351f90, this=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:361
#9  QQuickScreenAttached::screenChanged (this=this@entry=0x1351f90, screen=0xdad560) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:342
#10 0x00007f19a8dca7c9 in QQuickScreenAttached::windowChanged (this=0x1351f90, c=c@entry=0x7ffe775928a0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:329
#11 0x00007f19a8ce1f08 in QQuickItemPrivate::refWindow (this=0x12bdf10, c=c@entry=0x7ffe775928a0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2792
Comment 11 Nico Kruber 2015-12-23 12:57:40 UTC
let me add my backtrace, too, just in case this is helpful (openSUSE Leap 42.1 x86-64, Kernel 3.3.3-2.1.gdb72753, KDE Frameworks 5.5.1, KDE Applications 5.12.0, NVidia driver 358.16)

Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc325e897c0 (LWP 3254))]

Thread 3 (Thread 0x7fc31008e700 (LWP 3255)):
#0  0x00007fc321b21c1d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc32102f422 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7fc31008dd00) at /usr/include/bits/poll2.h:46
#2  0x00007fc32102f422 in _xcb_conn_wait (c=c@entry=0x10baa60, cond=cond@entry=0x10baaa0, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007fc32103100f in xcb_wait_for_event (c=0x10baa60) at xcb_in.c:693
#4  0x00007fc312810c29 in QXcbEventReader::run() (this=0x10c6e80) at qxcbconnection.cpp:1214
#5  0x00007fc32221855f in QThreadPrivate::start(void*) (arg=0x10c6e80) at thread/qthread_unix.cpp:331
#6  0x00007fc31f98e064 in start_thread (arg=0x7fc31008e700) at pthread_create.c:309
#7  0x00007fc321b2a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc304398700 (LWP 3273)):
#0  0x00007fc321b1dced in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc319c3b073 in  () at /usr/lib64/tls/libnvidia-tls.so.358.16
#2  0x00007fc31f068b60 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7fc304397bf0, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  0x00007fc31f068b60 in g_wakeup_acknowledge (wakeup=0x7fc3080015b0) at gwakeup.c:210
#4  0x00007fc31f027999 in g_main_context_check (context=context@entry=0x7fc2fc000990, max_priority=2147483647, fds=fds@entry=0x7fc2fc003070, n_fds=n_fds@entry=1) at gmain.c:3600
#5  0x00007fc31f027df8 in g_main_context_iterate (context=context@entry=0x7fc2fc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3805
#6  0x00007fc31f027f7c in g_main_context_iteration (context=0x7fc2fc000990, may_block=1) at gmain.c:3869
#7  0x00007fc322449a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7fc2fc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#8  0x00007fc3223f0a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fc304397df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#9  0x00007fc32221384a in QThread::exec() (this=this@entry=0x160cf10) at thread/qthread.cpp:503
#10 0x00007fc3248e35f8 in QQmlThreadPrivate::run() (this=0x160cf10) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141
#11 0x00007fc32221855f in QThreadPrivate::start(void*) (arg=0x160cf10) at thread/qthread_unix.cpp:331
#12 0x00007fc31f98e064 in start_thread (arg=0x7fc304398700) at pthread_create.c:309
#13 0x00007fc321b2a04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc325e897c0 (LWP 3254)):
[KCrash Handler]
#6  0x0000000000000000 in  ()
#7  0x00007fc32242501b in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) (sender=0x10c7600, signal=signal@entry=0x0, receiver=receiver@entry=0x136a680, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007fc3250da5d0 in QQuickScreenAttached::screenChanged(QScreen*) (member=0x0, receiver=0x136a680, this=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:361
#9  0x00007fc3250da5d0 in QQuickScreenAttached::screenChanged(QScreen*) (this=this@entry=0x136a680, screen=0x10ca1b0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:342
#10 0x00007fc3250da7c9 in QQuickScreenAttached::windowChanged(QQuickWindow*) (this=0x136a680, c=c@entry=0x7ffd8f3fe300) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:329
#11 0x00007fc324ff1f08 in QQuickItemPrivate::refWindow(QQuickWindow*) (this=0x1357380, c=c@entry=0x7ffd8f3fe300) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2792
#12 0x00007fc324ff1ec5 in QQuickItemPrivate::refWindow(QQuickWindow*) (this=this@entry=0x1515fb0, c=c@entry=0x7ffd8f3fe300) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2786
#13 0x00007fc324ff2e3b in QQuickItem::setParentItem(QQuickItem*) (this=this@entry=0x15cf860, parentItem=0x11342f0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2530
#14 0x00007fc325a990c8 in PlasmaQuick::Dialog::setMainItem(QQuickItem*) (this=0x7ffd8f3fe300, mainItem=0x15cf860) at /usr/src/debug/plasma-framework-5.17.0/src/plasmaquick/dialog.cpp:719
#15 0x00007fc32242240f in QMetaObject::activate(QObject*, int, int, void**) (a=0x7ffd8f3fdb10, r=0x7ffd8f3fe300, this=0x1661c90) at ../../src/corelib/kernel/qobject_impl.h:124
#16 0x00007fc32242240f in QMetaObject::activate(QObject*, int, int, void**) (sender=0x164a440, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3703
#17 0x00007fc325442eb9 in KDeclarative::QmlObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdeclarative-5.17.0/build/src/kdeclarative/moc_qmlobject.cpp:118
#18 0x00007fc322423796 in QObject::event(QEvent*) (this=0x164a440, e=<optimized out>) at kernel/qobject.cpp:1246
#19 0x00007fc323361e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x10991b0, receiver=receiver@entry=0x164a440, e=e@entry=0x1345d40) at kernel/qapplication.cpp:3717
#20 0x00007fc323366cd8 in QApplication::notify(QObject*, QEvent*) (this=0x7ffd8f3fe290, receiver=0x164a440, e=0x1345d40) at kernel/qapplication.cpp:3500
#21 0x00007fc3223f2ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffd8f3fe290, receiver=0x164a440, event=event@entry=0x1345d40) at kernel/qcoreapplication.cpp:965
#22 0x00007fc3223f4d67 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x1345d40, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#23 0x00007fc3223f4d67 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1097060) at kernel/qcoreapplication.cpp:1593
#24 0x00007fc3223f5318 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#25 0x00007fc32244a5c3 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x10fe950) at kernel/qeventdispatcher_glib.cpp:271
#26 0x00007fc31f027c84 in g_main_context_dispatch (context=0x7fc308001710) at gmain.c:3122
#27 0x00007fc31f027c84 in g_main_context_dispatch (context=context@entry=0x7fc308001710) at gmain.c:3737
#28 0x00007fc31f027ed8 in g_main_context_iterate (context=context@entry=0x7fc308001710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#29 0x00007fc31f027f7c in g_main_context_iteration (context=0x7fc308001710, may_block=1) at gmain.c:3869
#30 0x00007fc322449a3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x10f43a0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#31 0x00007fc3223f0a63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffd8f3fe1b0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007fc3223f85d6 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#33 0x00007fc32293b3ac in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1528
#34 0x00007fc32335e615 in QApplication::exec() () at kernel/qapplication.cpp:2977
#35 0x0000000000408bcb in main(int, char**) (argc=1, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.1/krunner/main.cpp:80
Comment 12 EllisIsPfroh 2016-01-15 10:58:27 UTC
+1 -> https://bugs.launchpad.net/ubuntu/+source/plasma-workspace/+bug/1531766

Tiltle: krunner dies when second monitor is attached, before startup of machine
Comment 13 Kai Uwe Broulik 2016-09-01 10:53:13 UTC
Qt since 5.6 no longer returns a null QScreen