Bug 356896

Summary: Reliable plasma crash when switching monitor inputs
Product: [Plasma] plasmashell Reporter: spryor
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.0   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description spryor 2015-12-19 01:33:53 UTC
Application: plasmashell (5.5.0)

Qt Version: 5.5.1
Operating System: Linux 4.2.7-300.fc23.x86_64 x86_64
Distribution: "Fedora release 23 (Twenty Three)"

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

In pursuit of the virtualized gaming holy grail, I have two GPUs attached to the system. One drives the 3 monitors for Linux, and the other has an output to the main monitor for gaming. The secondary GPU is passed through via VFIO to the virtual machine.

When switching inputs on my monitor between systems, plasma reliably crashes, it comes back when switching back to the linux output

The crash can be reproduced every time.

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

Thread 10 (Thread 0x7fee0087b700 (LWP 6597)):
#0  0x00007fee191d7ffd in poll () at /lib64/libc.so.6
#1  0x00007fee1f68c272 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fee1f68dee7 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fee03612da9 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 9 (Thread 0x7fedf9b99700 (LWP 6616)):
#0  0x00007ffc57877929 in  ()
#1  0x00007ffc57877c55 in clock_gettime ()
#2  0x00007fee191f1d36 in clock_gettime () at /lib64/libc.so.6
#3  0x00007fee19e90956 in qt_gettime() () at /lib64/libQt5Core.so.5
#4  0x00007fee1a015999 in QTimerInfoList::updateCurrentTime() () at /lib64/libQt5Core.so.5
#5  0x00007fee1a015f05 in QTimerInfoList::timerWait(timespec&) () at /lib64/libQt5Core.so.5
#6  0x00007fee1a0172ee in timerSourcePrepare(_GSource*, int*) () at /lib64/libQt5Core.so.5
#7  0x00007fee1466370d in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#8  0x00007fee1466409b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#9  0x00007fee1466427c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#10 0x00007fee1a017f0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#11 0x00007fee19fbef0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#12 0x00007fee19ddb424 in QThread::exec() () at /lib64/libQt5Core.so.5
#13 0x00007fee1e125b45 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#14 0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#15 0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#16 0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fedf1951700 (LWP 6619)):
#0  0x00007fee191d7ffd in poll () at /lib64/libc.so.6
#1  0x00007fee1466416c in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fee1466427c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007fee1a017f0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007fee19fbef0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fee19ddb424 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007fee1e125b45 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#9  0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fedebdc6700 (LWP 6620)):
#0  0x00007fee14663245 in g_main_context_release () at /lib64/libglib-2.0.so.0
#1  0x00007fee14664126 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#2  0x00007fee1466427c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#3  0x00007fee1a017f0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#4  0x00007fee19fbef0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fee19ddb424 in QThread::exec() () at /lib64/libQt5Core.so.5
#6  0x00007fee1e125b45 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#7  0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#8  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#9  0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fedea51b700 (LWP 6622)):
#0  0x00007fee18520b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee20f7d514 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007fee20f7d559 in  () at /lib64/libQt5Script.so.5
#3  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#4  0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fed638df700 (LWP 6695)):
#0  0x00007fee1468acdb in g_thread_self () at /lib64/libglib-2.0.so.0
#1  0x00007fee146630fc in g_main_context_acquire () at /lib64/libglib-2.0.so.0
#2  0x00007fee14664025 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007fee1466427c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007fee1a017f0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fee19fbef0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fee19ddb424 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007fee1ecd28d6 in QQuickPixmapReader::run() () at /lib64/libQt5Quick.so.5
#8  0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#10 0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fed61822700 (LWP 6696)):
#0  0x00007fee18520b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee19de165b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fee1ed47f3e in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007fee1ed487c3 in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fed4d66a700 (LWP 6701)):
#0  0x00007fee18520b10 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fee19de165b in QWaitCondition::wait(QMutex*, unsigned long) () at /lib64/libQt5Core.so.5
#2  0x00007fee1ed47f3e in QSGRenderThread::processEventsAndWaitForMore() () at /lib64/libQt5Quick.so.5
#3  0x00007fee1ed487c3 in QSGRenderThread::run() () at /lib64/libQt5Quick.so.5
#4  0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#6  0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fed33fff700 (LWP 6708)):
#0  0x00007fee146a8719 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007fee14663719 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007fee1466409b in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007fee1466427c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007fee1a017f0b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fee19fbef0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fee19ddb424 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007fed3dc8f3c7 in KCupsConnection::run() () at /lib64/libkcupslib.so
#8  0x00007fee19de03ce in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fee1851b60a in start_thread () at /lib64/libpthread.so.0
#10 0x00007fee191e3a9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fee217f5940 (LWP 6594)):
[KCrash Handler]
#5  0x00007fee1a523c70 in QScreen::refreshRate() const () at /lib64/libQt5Gui.so.5
#6  0x00007fee1ed44108 in QSGThreadedRenderLoop::startOrStopAnimationTimer() () at /lib64/libQt5Quick.so.5
#7  0x00007fee1ed45d5b in QSGThreadedRenderLoop::handleObscurity(QSGThreadedRenderLoop::Window*) () at /lib64/libQt5Quick.so.5
#8  0x00007fee1ed46edb in QSGThreadedRenderLoop::windowDestroyed(QQuickWindow*) () at /lib64/libQt5Quick.so.5
#9  0x00007fee1ed71463 in QQuickWindow::~QQuickWindow() () at /lib64/libQt5Quick.so.5
#10 0x0000556b0b7880a9 in PanelView::~PanelView() ()
#11 0x0000556b0b799da1 in ShellCorona::removeView(int) ()
#12 0x0000556b0b799e39 in ShellCorona::screenRemoved(QScreen*) ()
#13 0x00007fee19ff0177 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#14 0x00007fee1a4f3e52 in QGuiApplication::screenRemoved(QScreen*) () at /lib64/libQt5Gui.so.5
#15 0x00007fee1a522e52 in QScreen::~QScreen() () at /lib64/libQt5Gui.so.5
#16 0x00007fee1a523239 in QScreen::~QScreen() () at /lib64/libQt5Gui.so.5
#17 0x00007fee1a4e9bb9 in QPlatformIntegration::destroyScreen(QPlatformScreen*) () at /lib64/libQt5Gui.so.5
#18 0x00007fee036131cc in QXcbConnection::destroyScreen(QXcbScreen*, bool) () at /lib64/libQt5XcbQpa.so.5
#19 0x00007fee036137d1 in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () at /lib64/libQt5XcbQpa.so.5
#20 0x00007fee03614e93 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib64/libQt5XcbQpa.so.5
#21 0x00007fee03615433 in QXcbConnection::processXcbEvents() () at /lib64/libQt5XcbQpa.so.5
#22 0x00007fee19ff11b1 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#23 0x00007fee1b57641c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#24 0x00007fee1b57b8e6 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#25 0x00007fee19fc177b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#26 0x00007fee19fc3b76 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#27 0x00007fee1a017ae3 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#28 0x00007fee14663e3a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#29 0x00007fee146641d0 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#30 0x00007fee1466427c in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#31 0x00007fee1a017eef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#32 0x00007fee19fbef0a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#33 0x00007fee19fc6fec in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#34 0x0000556b0b7758a4 in main ()

Reported using DrKonqi
Comment 1 David Edmundson 2015-12-21 13:42:41 UTC

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