Bug 364613 - plasma crashes upon hotplug of external display on modern intel graphics
Summary: plasma crashes upon hotplug of external display on modern intel graphics
Status: RESOLVED DUPLICATE of bug 351777
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.6.4
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-06-21 20:22 UTC by databasedevil
Modified: 2016-06-30 10:24 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description databasedevil 2016-06-21 20:22:50 UTC
Application: plasmashell (5.6.4)

Qt Version: 5.6.0
Frameworks Version: 5.22.0
Operating System: Linux 4.5.7-200.fc23.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I docked my laptop, plugged in an external mini-displayport cable connected to a Samsung 4K monitor.  Upon doing so, the screen flickered a few times, and plasma crashed with the attached trace.

Since I have access to a variety of recently built Lenovo laptops in the Thinkpad T series, I tested this case out on a few systems. The T430 was the last one that *didn't* crash.  The T440p, T440 and T450s all crash when connecting an external monitor.

The only correlation I found is to the newer intel integrated GPUs which contain eDRAM as part of the integrated silicon.  See below chart for comparison. (please excuse terrible Confluence-like formatting, I'll try to clean it up for the report.)

|| Laptop Model || Processor || Intel Graphics  || Problem? ||                                         Intel URL                                              ||
|     T510       |  i5-560M   |   HD Graphics    |    No     | http://ark.intel.com/products/49653/Intel-Core-i5-560M-Processor-3M-Cache-2_66-GHz              |
|     T420       |  i5-2450M  | HD Graphics 3000 |    no     | http://ark.intel.com/products/53452/Intel-Core-i5-2450M-Processor-3M-Cache-up-to-3_10-GHz       |
|     T430       |  i5-3210M  | HD Graphics 4000 |    no     | http://ark.intel.com/products/65708/Intel-Core-i5-3210M-Processor-3M-Cache-up-to-3_10-GHz-BGA   |
|     T440       |  i5-4200U  | HD Graphics 4400 |   yes     | http://ark.intel.com/products/75459/Intel-Core-i5-4200U-Processor-3M-Cache-up-to-2_60-GHz       |
|     T440p      |  i7-4600M  | HD Graphics 4600 |   yes     | http://ark.intel.com/products/76349/Intel-Core-i7-4600M-Processor-4M-Cache-up-to-3_60-GHz       |
|     T450s      |  i7-5600U  | HD Graphics 5500 |   yes     | http://ark.intel.com/products/85215/Intel-Core-i7-5600U-Processor-4M-Cache-up-to-3_20-GHz       |

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
84	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f5ebefe5940 (LWP 1907))]

Thread 17 (Thread 0x7f5eb5900700 (LWP 1928)):
#0  0x00007f5ecdcbfb1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5ed2e59272 in poll (__timeout=-1, __nfds=1, __fds=0x7f5eb58ffb80) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55f0adf0bb10, cond=cond@entry=0x55f0adf0bb50, vector=vector@entry=0x0, count=count@entry=0x0) at xcb_conn.c:459
#3  0x00007f5ed2e5aee7 in xcb_wait_for_event (c=0x55f0adf0bb10) at xcb_in.c:693
#4  0x00007f5eb7b53349 in QXcbEventReader::run (this=0x55f0adf16230) at qxcbconnection.cpp:1313
#5  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0adf16230) at thread/qthread_unix.cpp:340
#6  0x00007f5eccffc61a in start_thread (arg=0x7f5eb5900700) at pthread_create.c:334
#7  0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7f5eaffff700 (LWP 1932)):
#0  g_mutex_unlock (mutex=0x7f5ea8000990) at gthread-posix.c:1350
#1  0x00007f5ec936f7b0 in g_main_context_prepare (context=context@entry=0x7f5ea8000990, priority=priority@entry=0x7f5eafffeb10) at gmain.c:3507
#2  0x00007f5ec93700bb in g_main_context_iterate (context=context@entry=0x7f5ea8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3820
#3  0x00007f5ec937029c in g_main_context_iteration (context=0x7f5ea8000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f5eceafaa4b in QEventDispatcherGlib::processEvents (this=0x7f5ea80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f5eceaa34ca in QEventLoop::exec (this=this@entry=0x7f5eafffec50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f5ece8ccf34 in QThread::exec (this=this@entry=0x7f5ecf306040 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:503
#7  0x00007f5ecf2924b5 in QDBusConnectionManager::run (this=0x7f5ecf306040 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:181
#8  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x7f5ecf306040 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:340
#9  0x00007f5eccffc61a in start_thread (arg=0x7f5eaffff700) at pthread_create.c:334
#10 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f5eaedee700 (LWP 1956)):
#0  0x00007f5ecdcbfb1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5ec937018c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f5ea0002e70, timeout=<optimized out>, context=0x7f5ea0000990) at gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f5ea0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f5ec937029c in g_main_context_iteration (context=0x7f5ea0000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f5eceafaa4b in QEventDispatcherGlib::processEvents (this=0x7f5ea00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f5eceaa34ca in QEventLoop::exec (this=this@entry=0x7f5eaededc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f5ece8ccf34 in QThread::exec (this=this@entry=0x55f0adfca300) at thread/qthread.cpp:503
#7  0x00007f5ed1cdc0d5 in QQmlThreadPrivate::run (this=0x55f0adfca300) at /usr/src/debug/qtdeclarative-opensource-src-5.6.0/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0adfca300) at thread/qthread_unix.cpp:340
#9  0x00007f5eccffc61a in start_thread (arg=0x7f5eaedee700) at pthread_create.c:334
#10 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f5ea6d8d700 (LWP 1987)):
#0  0x00007f5ecdcbfb1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5ec937018c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f5e9c003070, timeout=<optimized out>, context=0x7f5e9c000990) at gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f5e9c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f5ec937029c in g_main_context_iteration (context=0x7f5e9c000990, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f5eceafaa4b in QEventDispatcherGlib::processEvents (this=0x7f5e9c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f5eceaa34ca in QEventLoop::exec (this=this@entry=0x7f5ea6d8cc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f5ece8ccf34 in QThread::exec (this=this@entry=0x55f0ae399db0) at thread/qthread.cpp:503
#7  0x00007f5ed1cdc0d5 in QQmlThreadPrivate::run (this=0x55f0ae399db0) at /usr/src/debug/qtdeclarative-opensource-src-5.6.0/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0ae399db0) at thread/qthread_unix.cpp:340
#9  0x00007f5eccffc61a in start_thread (arg=0x7f5ea6d8d700) at pthread_create.c:334
#10 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f5ea536d700 (LWP 1996)):
#0  0x00007f5ec93b4779 in g_mutex_lock (mutex=mutex@entry=0x7f5e94000990) at gthread-posix.c:1338
#1  0x00007f5ec937014e in g_main_context_iterate (context=context@entry=0x7f5e94000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3844
#2  0x00007f5ec937029c in g_main_context_iteration (context=0x7f5e94000990, may_block=may_block@entry=1) at gmain.c:3901
#3  0x00007f5eceafaa4b in QEventDispatcherGlib::processEvents (this=0x7f5e940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007f5eceaa34ca in QEventLoop::exec (this=this@entry=0x7f5ea536cc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f5ece8ccf34 in QThread::exec (this=this@entry=0x55f0ae485820) at thread/qthread.cpp:503
#6  0x00007f5ed1cdc0d5 in QQmlThreadPrivate::run (this=0x55f0ae485820) at /usr/src/debug/qtdeclarative-opensource-src-5.6.0/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0ae485820) at thread/qthread_unix.cpp:340
#8  0x00007f5eccffc61a in start_thread (arg=0x7f5ea536d700) at pthread_create.c:334
#9  0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f5e9b9d0700 (LWP 2012)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ed477c2d4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f5ed4865380 <QTWTF::pageheap_memory>) at /usr/src/debug/qtscript-opensource-src-5.6.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f5ed477c319 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at /usr/src/debug/qtscript-opensource-src-5.6.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f5eccffc61a in start_thread (arg=0x7f5e9b9d0700) at pthread_create.c:334
#4  0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f5e99018700 (LWP 2019)):
#0  0x00007f5ecdcbb70d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5ec93b33f0 in read (__nbytes=16, __buf=0x7f5e99017a00, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f5e94002590) at gwakeup.c:210
#3  0x00007f5ec936fc84 in g_main_context_check (context=context@entry=0x7f5e10015d00, max_priority=2147483647, fds=fds@entry=0x7f5e100112f0, n_fds=n_fds@entry=1) at gmain.c:3632
#4  0x00007f5ec9370130 in g_main_context_iterate (context=context@entry=0x7f5e10015d00, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3837
#5  0x00007f5ec937029c in g_main_context_iteration (context=0x7f5e10015d00, may_block=may_block@entry=1) at gmain.c:3901
#6  0x00007f5eceafaa4b in QEventDispatcherGlib::processEvents (this=0x7f5e1000fc60, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#7  0x00007f5eceaa34ca in QEventLoop::exec (this=this@entry=0x7f5e99017c10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f5ece8ccf34 in QThread::exec (this=this@entry=0x55f0ae7a8270) at thread/qthread.cpp:503
#9  0x00007f5ed267aca6 in QQuickPixmapReader::run (this=0x55f0ae7a8270) at /usr/src/debug/qtdeclarative-opensource-src-5.6.0/src/quick/util/qquickpixmapcache.cpp:818
#10 0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0ae7a8270) at thread/qthread_unix.cpp:340
#11 0x00007f5eccffc61a in start_thread (arg=0x7f5e99018700) at pthread_create.c:334
#12 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f5e0ffff700 (LWP 2387)):
#0  0x00007f5ecdcbfb1d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5ec937018c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f5e08014670, timeout=<optimized out>, context=0x7f5e080061f0) at gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f5e080061f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3835
#3  0x00007f5ec937029c in g_main_context_iteration (context=0x7f5e080061f0, may_block=may_block@entry=1) at gmain.c:3901
#4  0x00007f5eceafaa4b in QEventDispatcherGlib::processEvents (this=0x7f5e08006120, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007f5eceaa34ca in QEventLoop::exec (this=this@entry=0x7f5e0fffec40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f5ece8ccf34 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007f5e0035c547 in KCupsConnection::run() () from /lib64/libkcupslib.so
#8  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0b123d710) at thread/qthread_unix.cpp:340
#9  0x00007f5eccffc61a in start_thread (arg=0x7f5e0ffff700) at pthread_create.c:334
#10 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f5dd1fff700 (LWP 4766)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0b339dae0) at thread/qthread_unix.cpp:340
#10 0x00007f5eccffc61a in start_thread (arg=0x7f5dd1fff700) at pthread_create.c:334
#11 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f5de0d0d700 (LWP 4767)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#10 0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#11 0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0b1248c40) at thread/qthread_unix.cpp:340
#12 0x00007f5eccffc61a in start_thread (arg=0x7f5de0d0d700) at pthread_create.c:334
#13 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f5de236f700 (LWP 4768)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#10 0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#11 0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#12 0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#13 0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0adf24f30) at thread/qthread_unix.cpp:340
#14 0x00007f5eccffc61a in start_thread (arg=0x7f5de236f700) at pthread_create.c:334
#15 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f5de150e700 (LWP 4769)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x7f5df41b40e0) at thread/qthread_unix.cpp:340
#10 0x00007f5eccffc61a in start_thread (arg=0x7f5de150e700) at pthread_create.c:334
#11 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f5de6b30700 (LWP 4770)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0b3559d60) at thread/qthread_unix.cpp:340
#10 0x00007f5eccffc61a in start_thread (arg=0x7f5de6b30700) at pthread_create.c:334
#11 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f5de632f700 (LWP 4771)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x7f5dd40d51c0) at thread/qthread_unix.cpp:340
#10 0x00007f5eccffc61a in start_thread (arg=0x7f5de632f700) at pthread_create.c:334
#11 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f5de5b2e700 (LWP 4772)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#10 0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#11 0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#12 0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#13 0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#14 0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#15 0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x55f0b412eab0) at thread/qthread_unix.cpp:340
#16 0x00007f5eccffc61a in start_thread (arg=0x7f5de5b2e700) at pthread_create.c:334
#17 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f5de532d700 (LWP 4773)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5ece8d2bfb in QWaitConditionPrivate::wait (time=18446744073709551615, this=0x55f0b4c1a700) at thread/qwaitcondition_unix.cpp:136
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x55f0b3714d70, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:208
#3  0x00007f5e0d1b5baf in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () from /lib64/libKF5ThreadWeaver.so.5
#4  0x00007f5e0d1b9f88 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#5  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#6  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#7  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#8  0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#9  0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#10 0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#11 0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#12 0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#13 0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#14 0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#15 0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#16 0x00007f5e0d1b9fe2 in ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#17 0x00007f5e0d1b4e43 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from /lib64/libKF5ThreadWeaver.so.5
#18 0x00007f5e0d1b755f in ThreadWeaver::Thread::run() () from /lib64/libKF5ThreadWeaver.so.5
#19 0x00007f5ece8d1d48 in QThreadPrivate::start (arg=0x7f5dd40be940) at thread/qthread_unix.cpp:340
#20 0x00007f5eccffc61a in start_thread (arg=0x7f5de532d700) at pthread_create.c:334
#21 0x00007f5ecdccb59d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f5ebefe5940 (LWP 1907)):
[KCrash Handler]
#6  Plasma::Applet::actions (this=this@entry=0x0) at /usr/src/debug/plasma-framework-5.22.0/src/plasma/applet.cpp:611
#7  0x000055f0ac86f1fe in ShellCorona::addOutput (this=this@entry=0x55f0adf95060, output=...) at /usr/src/debug/plasma-workspace-5.6.4/shell/shellcorona.cpp:909
#8  0x000055f0ac86f38f in ShellCorona::outputEnabledChanged (this=0x55f0adf95060) at /usr/src/debug/plasma-workspace-5.6.4/shell/shellcorona.cpp:802
#9  0x00007f5ecead212e in QtPrivate::QSlotObjectBase::call (a=0x7ffcde76dcc0, r=0x55f0adf95060, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#10 QMetaObject::activate (sender=0x55f0ae480620, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#11 0x00007f5ed3eb32bf in KScreen::Output::apply (this=0x55f0ae480620, other=...) at /usr/src/debug/libkscreen-5.6.4/src/output.cpp:515
#12 0x00007f5ed3e94e75 in KScreen::Config::apply (this=this@entry=0x55f0ae398780, other=...) at /usr/src/debug/libkscreen-5.6.4/src/config.cpp:346
#13 0x00007f5ed3ea0e96 in KScreen::ConfigMonitor::Private::updateConfigs (this=this@entry=0x55f0ae63cd40, newConfig=...) at /usr/src/debug/libkscreen-5.6.4/src/configmonitor.cpp:179
#14 0x00007f5ed3ea2d61 in KScreen::ConfigMonitor::Private::edidReady (this=0x55f0ae63cd40, watcher=<optimized out>) at /usr/src/debug/libkscreen-5.6.4/src/configmonitor.cpp:163
#15 0x00007f5ecead212e in QtPrivate::QSlotObjectBase::call (a=0x7ffcde76e100, r=0x55f0ae63cd40, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=0x55f0b379a660, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcde76e100) at kernel/qobject.cpp:3715
#17 0x00007f5ecead26c7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f5ecf304900 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffcde76e100) at kernel/qobject.cpp:3595
#18 0x00007f5ecf2e885f in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=0x55f0b379a660) at .moc/moc_qdbuspendingcall.cpp:152
#19 0x00007f5ecf2e8958 in QDBusPendingCallWatcherPrivate::_q_finished (this=<optimized out>) at qdbuspendingcall.cpp:488
#20 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:83
#21 0x00007f5ecead2c29 in QObject::event (this=0x55f0b379a660, e=<optimized out>) at kernel/qobject.cpp:1256
#22 0x00007f5ecf463c0c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x55f0b379a660, e=0x55f0b4c0c520) at kernel/qapplication.cpp:3714
#23 0x00007f5ecf468e76 in QApplication::notify (this=0x7ffcde76e7f0, receiver=0x55f0b379a660, e=0x55f0b4c0c520) at kernel/qapplication.cpp:3495
#24 0x00007f5eceaa5748 in QCoreApplication::notifyInternal2 (receiver=0x55f0b379a660, event=event@entry=0x55f0b4c0c520) at kernel/qcoreapplication.cpp:1015
#25 0x00007f5eceaa760a in QCoreApplication::sendEvent (event=0x55f0b4c0c520, receiver=<optimized out>) at kernel/qcoreapplication.h:227
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55f0adef3570) at kernel/qcoreapplication.cpp:1650
#27 0x00007f5eceaa7ac8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#28 0x00007f5eceafa623 in postEventSourceDispatch (s=0x55f0adf2a0d0) at kernel/qeventdispatcher_glib.cpp:270
#29 0x00007f5ec936fe5a in g_main_dispatch (context=0x7f5eb00016f0) at gmain.c:3154
#30 g_main_context_dispatch (context=context@entry=0x7f5eb00016f0) at gmain.c:3769
#31 0x00007f5ec93701f0 in g_main_context_iterate (context=context@entry=0x7f5eb00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
#32 0x00007f5ec937029c in g_main_context_iteration (context=0x7f5eb00016f0, may_block=may_block@entry=1) at gmain.c:3901
#33 0x00007f5eceafaa2f in QEventDispatcherGlib::processEvents (this=0x55f0adf32b40, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#34 0x00007f5eceaa34ca in QEventLoop::exec (this=this@entry=0x7ffcde76e6a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#35 0x00007f5eceaabb8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#36 0x000055f0ac845216 in main (argc=2, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.6.4/shell/main.cpp:139

Possible duplicates by query: bug 363731, bug 363591, bug 363590, bug 363556, bug 363125.

Reported using DrKonqi
Comment 1 databasedevil 2016-06-21 22:16:03 UTC
I should note that this crash is very easy to reproduce reliably.  There have been maybe one or two times I've undocked/docked out of 100 in the last month where plasmashell didn't crash.    

I use KDE exclusively, and would love to help fix this bug.  Please feel free to get in touch and I'll help in any way you need.
Comment 2 databasedevil 2016-06-21 22:34:17 UTC
Additionally, it seems that there's a correlation between the resolution of the monitor as well.  My main monitor (4k) crashes it every time.  the TV sets that are 2k (aka 1080p) seem to crash only 50% of the time.

It feels like a bug in kscreen, just because I've had all manners of other display issues at 4K and that `rm -rf ~/.local/share/kscreen/*` seemed to resolve some screen layout issues in the past.  But this is a WAG.
Comment 3 Marco Martin 2016-06-30 10:24:08 UTC

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