Bug 353977 - Krunner crashes when connecting/disconnecting second monitor.
Summary: Krunner crashes when connecting/disconnecting second monitor.
Status: RESOLVED UPSTREAM
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Vishesh Handa
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-10-16 18:16 UTC by Mateusz
Modified: 2016-04-22 20:57 UTC (History)
13 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mateusz 2015-10-16 18:16:38 UTC
Application: plasmashell (5.3.2)

Qt Version: 5.4.1
Operating System: Linux 3.19.0-30-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
Sometimes when I connect second monitor via HDMI cable Krunner crashes.
Same situation exists when I disconnect monitor.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f53b8f697c0 (LWP 8411))]

Thread 21 (Thread 0x7f53a498c700 (LWP 8413)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b6268b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f53b626a64f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f53a6cd3099 in QXcbEventReader::run (this=0x26ba6f0) at qxcbconnection.cpp:1105
#4  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x26ba6f0) at thread/qthread_unix.cpp:337
#5  0x00007f53b335c6aa in start_thread (arg=0x7f53a498c700) at pthread_create.c:333
#6  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7f539e627700 (LWP 8421)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f53980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f539e626de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x278a000) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f539e627700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7f53931ce700 (LWP 8424)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f538c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f53931cdde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x2d78710) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f53931ce700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 18 (Thread 0x7f539152c700 (LWP 8425)):
#0  0x00007f53b3ad7743 in select () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b432689f in QProcessManager::run (this=0x26d7cc0) at io/qprocess_unix.cpp:264
#2  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x26d7cc0) at thread/qthread_unix.cpp:337
#3  0x00007f53b335c6aa in start_thread (arg=0x7f539152c700) at pthread_create.c:333
#4  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7f5390af5700 (LWP 8428)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f53880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f5390af4de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x2ed3e30) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f5390af5700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7f53837ff700 (LWP 8429)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f537c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f53837fede0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x27785c0) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f53837ff700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f53827fe700 (LWP 8430)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f53740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f53827fdde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x30aeb40) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f53827fe700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f53817fd700 (LWP 8431)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f53780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f53817fcde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x31b3fa0) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f53817fd700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f5373fff700 (LWP 8432)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f536c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f5373ffede0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x329f7d0) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f5373fff700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f5372db6700 (LWP 8433)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc6c in QEventDispatcherGlib::processEvents (this=0x7f53640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f5372db5de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x33d10a0) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f5372db6700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f5371cb5700 (LWP 8434)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f53680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f5371cb4de0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x34d29d0) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f5371cb5700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f5370bac700 (LWP 8435)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f53b809c644 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f53b809c689 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f53b335c6aa in start_thread (arg=0x7f5370bac700) at pthread_create.c:333
#4  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f52e3fff700 (LWP 8436)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f52dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52e3ffede0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x35dc340) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52e3fff700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f52e0a6d700 (LWP 8443)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f52d40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52e0a6cd90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b8c11b56 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x40fd750) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52e0a6d700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f52db2ff700 (LWP 8444)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f52d00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52db2fede0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x5c09b80) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52db2ff700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f52cfb2e700 (LWP 8451)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc6c in QEventDispatcherGlib::processEvents (this=0x7f52c80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52cfb2dde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x5fc8530) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52cfb2e700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f52cea2b700 (LWP 8452)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f52c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52cea2ade0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x60c3080) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52cea2b700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f52c52cd700 (LWP 8459)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f52bc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52c52ccdc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f52c7535cf7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x62c67c0) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52c52cd700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f52bbfff700 (LWP 8469)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc6c in QEventDispatcherGlib::processEvents (this=0x7f52b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52bbffede0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x61f7600) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52bbfff700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f52baffe700 (LWP 8470)):
#0  0x00007f53b3ad58dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f53b01f6ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x7f52ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#4  0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7f52baffdde0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f53b4151b44 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f53b5ee0f65 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f53b4156b0e in QThreadPrivate::start (arg=0x68a3ae0) at thread/qthread_unix.cpp:337
#8  0x00007f53b335c6aa in start_thread (arg=0x7f52baffe700) at pthread_create.c:333
#9  0x00007f53b3ae0eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f53b8f697c0 (LWP 8411)):
[KCrash Handler]
#6  0x00007f53b3a0f267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f53b3a10eca in __GI_abort () at abort.c:89
#8  0x00007f53b3e0506d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f53b3e02ee6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f53b3e02f31 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f53b3e03a7f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f53b46ce96a in QPlatformScreen::physicalSize (this=<optimized out>) at kernel/qplatformscreen.cpp:131
#13 0x00007f53b47087b2 in QScreen::physicalSize (this=this@entry=0x26bd450) at kernel/qscreen.cpp:245
#14 0x00007f53b4708869 in QScreen::physicalDotsPerInch (this=0x26bd450) at kernel/qscreen.cpp:168
#15 0x00007f53b8d97c49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f53b43c59c9 in QMetaObject::activate (sender=sender@entry=0x289a100, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd4ccd7d0) at kernel/qobject.cpp:3716
#17 0x00007f53b43c6057 in QMetaObject::activate (sender=sender@entry=0x289a100, m=m@entry=0x7f53b4b2db80 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd4ccd7d0) at kernel/qobject.cpp:3582
#18 0x00007f53b46e5d4f in QWindow::screenChanged (this=this@entry=0x289a100, _t1=_t1@entry=0x8184cf0) at .moc/moc_qwindow.cpp:626
#19 0x00007f53b46e65a5 in QWindowPrivate::emitScreenChangedRecursion (this=this@entry=0x28cf8d0, newScreen=newScreen@entry=0x8184cf0) at kernel/qwindow.cpp:366
#20 0x00007f53b46e9cc3 in QWindowPrivate::setTopLevelScreen (this=0x28cf8d0, newScreen=0x8184cf0, recreate=<optimized out>) at kernel/qwindow.cpp:387
#21 0x00007f53b46e9e65 in QWindow::screenDestroyed (this=0x289a100, object=<optimized out>) at kernel/qwindow.cpp:1713
#22 0x00007f53b43c535a in call (a=0x7ffcd4ccda20, r=0x289a100, this=0x28cfbc0) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#23 QMetaObject::activate (sender=sender@entry=0x26bd450, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd4ccda20) at kernel/qobject.cpp:3702
#24 0x00007f53b43c6057 in QMetaObject::activate (sender=sender@entry=0x26bd450, m=m@entry=0x7f53b45e7940 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd4ccda20) at kernel/qobject.cpp:3582
#25 0x00007f53b43c60ff in QObject::destroyed (this=this@entry=0x26bd450, _t1=_t1@entry=0x26bd450) at .moc/moc_qobject.cpp:206
#26 0x00007f53b43cea8b in QObject::~QObject (this=0x26bd450, __in_chrg=<optimized out>) at kernel/qobject.cpp:903
#27 0x00007f53b4708679 in QScreen::~QScreen (this=0x26bd450, __in_chrg=<optimized out>) at kernel/qscreen.cpp:77
#28 0x00007f53b46cef2a in QPlatformScreen::~QPlatformScreen (this=0x26bd1f0, __in_chrg=<optimized out>) at kernel/qplatformscreen.cpp:57
#29 0x00007f53a6cde769 in QXcbScreen::~QXcbScreen (this=0x26bd1f0, __in_chrg=<optimized out>) at qxcbscreen.cpp:222
#30 0x00007f53a6cd15ab in QXcbConnection::updateScreens (this=this@entry=0x26aeb80) at qxcbconnection.cpp:286
#31 0x00007f53a6cd227d in QXcbConnection::handleXcbEvent (this=this@entry=0x26aeb80, event=event@entry=0x7f53a000a420) at qxcbconnection.cpp:961
#32 0x00007f53a6cd34bb in QXcbConnection::processXcbEvents (this=0x26aeb80) at qxcbconnection.cpp:1303
#33 0x00007f53b43c673a in QObject::event (this=0x26aeb80, e=<optimized out>) at kernel/qobject.cpp:1245
#34 0x00007f53b4c9eb2c in QApplicationPrivate::notify_helper (this=0x26a2b80, receiver=0x26aeb80, e=0x7f53a000a450) at kernel/qapplication.cpp:3720
#35 0x00007f53b4ca4000 in QApplication::notify (this=0x7ffcd4cce560, receiver=0x26aeb80, e=0x7f53a000a450) at kernel/qapplication.cpp:3503
#36 0x00007f53b4394c2b in QCoreApplication::notifyInternal (this=0x7ffcd4cce560, receiver=0x26aeb80, event=event@entry=0x7f53a000a450) at kernel/qcoreapplication.cpp:935
#37 0x00007f53b4396c9b in sendEvent (event=0x7f53a000a450, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2697f00) at kernel/qcoreapplication.cpp:1552
#39 0x00007f53b4397298 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#40 0x00007f53b43ed843 in postEventSourceDispatch (s=0x26e73a0) at kernel/qeventdispatcher_glib.cpp:271
#41 0x00007f53b01f6c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f53b01f6f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f53b01f6fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f53b43edc57 in QEventDispatcherGlib::processEvents (this=0x26d6cf0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#45 0x00007f53b43923e2 in QEventLoop::exec (this=this@entry=0x7ffcd4cce3e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#46 0x00007f53b439a02c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#47 0x0000000000430253 in main ()

Possible duplicates by query: bug 350503, bug 350320, bug 350282, bug 348804, bug 348576.

Reported using DrKonqi
Comment 1 donothingloop 2015-11-16 16:08:15 UTC
I'm also experiencing this bug, when I switch from my laptop display to the external display connected to my Lenovo OneLink docking station over DVI.
Comment 2 i1421241 2015-11-26 06:11:38 UTC
I am also experiencing this bug. I have desktop with one display connected via DVI and another connected via DisplayPort. When the one with DP turns off, the bug occurs. The crash can be reproduced most of the time.
Comment 3 Marcel Martin 2015-12-02 22:42:48 UTC
Same problem here with identical backtrace (the one in Thread 1) on Kubuntu 15.10. The machine is a Lenovo ThinkPad T440s.
To reproduce (not reliably):
- Connect second monitor (T440s has VGA and mini DP, problem occurs with both)
- Go to system settings → Display and monitor
- Disable the laptop display, click 'apply'
Comment 4 Marcel Martin 2015-12-02 23:05:37 UTC
My C++ foo is limited, but I believe this is the relevant part of the backtrace:

#10 0x00007f53b3e02f31 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f53b3e03a7f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f53b46ce96a in QPlatformScreen::physicalSize (this=<optimized out>) at kernel/qplatformscreen.cpp:131 
#13 0x00007f53b47087b2 in QScreen::physicalSize (this=this@entry=0x26bd450) at kernel/qscreen.cpp:245
#14 0x00007f53b4708869 in QScreen::physicalDotsPerInch (this=0x26bd450) at kernel/qscreen.cpp:168
#15 0x00007f53b8d97c49 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f53b43c59c9 in QMetaObject::activate (sender=sender@entry=0x289a100, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcd4ccd7d0) at kernel/qobject.cpp:3716 

and 

#27 0x00007f53b4708679 in QScreen::~QScreen (this=0x26bd450, __in_chrg=<optimized out>) at kernel/qscreen.cpp:77
#28 0x00007f53b46cef2a in QPlatformScreen::~QPlatformScreen (this=0x26bd1f0, __in_chrg=<optimized out>) at kernel/qplatformscreen.cpp:57
#29 0x00007f53a6cde769 in QXcbScreen::~QXcbScreen (this=0x26bd1f0, __in_chrg=<optimized out>) at qxcbscreen.cpp:222 

QPlatformScreen::physicalSize is a pure virtual function. __cxa_pure_virtual is an error handler that gets called when a pure virtual function is called. I think this is what happens:

- QXcbScreen destructor is called (#29)
- which in turn calls QScreen destructor (#28)
- which in turn calls QPlatformScreen destructor (#27)
- which somehow triggers that a signal is emitted
- that signal then ends up being received by the QXcbScreen instance, which is already destroyed

This could also explain the question marks in frame #15.
Comment 5 Ian Proudler 2015-12-18 10:49:07 UTC
This may be related:

I have two monitors permanently connect. Recently (kubuntu 15.10) I have been having problems where the main panel freezes. The icons are present but nothing happens when you click on them. I have discovered that this can be rectified if I disable one of the monitors and then re-enable it. In doing so krunner crashes.

The KDE bug reporting app does not work. It will not let me select a related bug. The saved back trace is:

Application: krunner (0.1)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-21-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
<In detail, tell us what you were doing  when the application crashed.>

-- Backtrace:
Application: krunner (krunner), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f455d8be800 (LWP 1736))]

Thread 3 (Thread 0x7f4549d17700 (LWP 1741)):
#0  0x00007f455a3838dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4559875bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f455987774f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f454c061a39 in QXcbEventReader::run (this=0x1bbd6b0) at qxcbconnection.cpp:1105
#4  0x00007f455aa762be in QThreadPrivate::start (arg=0x1bbd6b0) at thread/qthread_unix.cpp:337
#5  0x00007f45585e26aa in start_thread (arg=0x7f4549d17700) at pthread_create.c:333
#6  0x00007f455a38eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f453f69d700 (LWP 1763)):
#0  0x00007f455a3838dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f4557a631ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4557a632fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f455acad29b in QEventDispatcherGlib::processEvents (this=0x7f45380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f455ac5375a in QEventLoop::exec (this=this@entry=0x7f453f69cda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f455aa713d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f455c878f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007f455aa762be in QThreadPrivate::start (arg=0x1f1acc0) at thread/qthread_unix.cpp:337
#8  0x00007f45585e26aa in start_thread (arg=0x7f453f69d700) at pthread_create.c:333
#9  0x00007f455a38eeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f455d8be800 (LWP 1736)):
[KCrash Handler]
#6  0x00007f455a2bd267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f455a2beeca in __GI_abort () at abort.c:89
#8  0x00007f455a6e1b7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007f455a6df9c6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007f455a6dfa11 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007f455a6e055f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007f455af657ca in QPlatformScreen::physicalSize (this=<optimized out>) at kernel/qplatformscreen.cpp:131
#13 0x00007f455af9e212 in QScreen::physicalSize (this=this@entry=0x1bc09f0) at kernel/qscreen.cpp:245
#14 0x00007f455af9e2c9 in QScreen::physicalDotsPerInch (this=0x1bc09f0) at kernel/qscreen.cpp:168
#15 0x00007f455ce5db6b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007f455ac8678a in QMetaObject::activate (sender=sender@entry=0x7fff1b9999b0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff1b998d00) at kernel/qobject.cpp:3717
#17 0x00007f455ac86f87 in QMetaObject::activate (sender=sender@entry=0x7fff1b9999b0, m=m@entry=0x7f455b3b6580 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff1b998d00) at kernel/qobject.cpp:3582
#18 0x00007f455af7bdbf in QWindow::screenChanged (this=this@entry=0x7fff1b9999b0, _t1=_t1@entry=0x1bc0020) at .moc/moc_qwindow.cpp:626
#19 0x00007f455af7ccb5 in QWindowPrivate::emitScreenChangedRecursion (this=this@entry=0x1c0fee0, newScreen=newScreen@entry=0x1bc0020) at kernel/qwindow.cpp:366
#20 0x00007f455af7fcf3 in QWindowPrivate::setTopLevelScreen (this=0x1c0fee0, newScreen=0x1bc0020, recreate=<optimized out>) at kernel/qwindow.cpp:387
#21 0x0000000000407fe0 in ?? ()
#22 0x00007f455ac86617 in QtPrivate::QSlotObjectBase::call (a=0x7fff1b998f50, r=0x7fff1b9999b0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#23 QMetaObject::activate (sender=0x7fff1b999940, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff1b998f50) at kernel/qobject.cpp:3702
#24 0x00007f455ac86f87 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f455b3b6320 <QGuiApplication::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fff1b998f50) at kernel/qobject.cpp:3582
#25 0x00007f455af6e942 in QGuiApplication::screenRemoved (this=<optimized out>, _t1=_t1@entry=0x1bc09f0) at .moc/moc_qguiapplication.cpp:328
#26 0x00007f455af9e0a9 in QScreen::~QScreen (this=0x1bc09f0, __in_chrg=<optimized out>) at kernel/qscreen.cpp:76
#27 0x00007f455af9e0c9 in QScreen::~QScreen (this=0x1bc09f0, __in_chrg=<optimized out>) at kernel/qscreen.cpp:77
#28 0x00007f455af65d49 in QPlatformScreen::~QPlatformScreen (this=0x1bbfea0, __in_chrg=<optimized out>) at kernel/qplatformscreen.cpp:57
#29 0x00007f454c06f519 in QXcbScreen::~QXcbScreen (this=0x1bbfea0, __in_chrg=<optimized out>) at qxcbscreen.cpp:222
#30 0x00007f454c062909 in QXcbConnection::updateScreens (this=this@entry=0x1bb1870) at qxcbconnection.cpp:286
#31 0x00007f454c0635c6 in QXcbConnection::handleXcbEvent (this=this@entry=0x1bb1870, event=event@entry=0x7f4544007d20) at qxcbconnection.cpp:961
#32 0x00007f454c0643b3 in QXcbConnection::processXcbEvents (this=0x1bb1870) at qxcbconnection.cpp:1303
#33 0x00007f455ac87651 in QObject::event (this=0x1bb1870, e=<optimized out>) at kernel/qobject.cpp:1245
#34 0x00007f455b7a8b8c in QApplicationPrivate::notify_helper (this=this@entry=0x1ba6180, receiver=receiver@entry=0x1bb1870, e=e@entry=0x7f4544003420) at kernel/qapplication.cpp:3720
#35 0x00007f455b7ae230 in QApplication::notify (this=0x7fff1b999940, receiver=0x1bb1870, e=0x7f4544003420) at kernel/qapplication.cpp:3503
#36 0x00007f455ac55f1b in QCoreApplication::notifyInternal (this=0x7fff1b999940, receiver=0x1bb1870, event=event@entry=0x7f4544003420) at kernel/qcoreapplication.cpp:935
#37 0x00007f455ac58057 in QCoreApplication::sendEvent (event=0x7f4544003420, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1ba2080) at kernel/qcoreapplication.cpp:1552
#39 0x00007f455ac58588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#40 0x00007f455acace73 in postEventSourceDispatch (s=0x1bdddf0) at kernel/qeventdispatcher_glib.cpp:271
#41 0x00007f4557a62ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007f4557a63250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f4557a632fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f455acad27f in QEventDispatcherGlib::processEvents (this=0x1bdddd0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#45 0x00007f455ac5375a in QEventLoop::exec (this=this@entry=0x7fff1b999870, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#46 0x00007f455ac5b2cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#47 0x0000000000407b89 in main ()

Possible duplicates by query: bug 353977, bug 350333, bug 344336.
Comment 6 Jeff Trull 2015-12-21 15:06:01 UTC
I have this too, with similar stack trace.  Can we mark it "confirmed"?
Comment 7 David Edmundson 2015-12-21 15:07:46 UTC
Bug in Qt. New releases should have fixes.
Comment 8 Jeff Trull 2015-12-21 15:36:32 UTC
Would you mind posting that upstream bug report?  Would be nice to track it.  Thanks!
Comment 9 matt 2016-03-04 15:33:21 UTC
Still a problem in Kubuntu 15.10 (KDE 5.15.0/Qt 5.4.2)