Bug 348947 - Plasma Crash When HDMI Cable Unplugged and Pluged After Screen Save Shut-off
Summary: Plasma Crash When HDMI Cable Unplugged and Pluged After Screen Save Shut-off
Status: RESOLVED DUPLICATE of bug 345544
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-10 00:04 UTC by Garry Williams
Modified: 2015-06-10 04:50 UTC (History)
2 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 Garry Williams 2015-06-10 00:04:41 UTC
Application: plasmashell (5.3.0)

Qt Version: 5.4.2
Operating System: Linux 4.0.4-303.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

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

Plugging the cable (actually power-off and power-on on monitor after screen shut-off.

My qt versions are up-to-date with respect to the reported problems that are noted as possible duplicates.  Something else is going on here, it seems.

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

Thread 5 (Thread 0x7f5bc4173700 (LWP 25942)):
#0  0x00007f5bdb4ea66d in poll () from /lib64/libc.so.6
#1  0x00007f5be18dd182 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f5be18ded07 in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f5bc5cba7d9 in QXcbEventReader::run() () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#4  0x00007f5bdc0f4e3e in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f5bd9f8b555 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f5bdb4f5f3d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f5bc1c59700 (LWP 25963)):
#0  0x00007f5bd66e5ec9 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#1  0x00007f5bd66a067e in g_main_context_check () from /lib64/libglib-2.0.so.0
#2  0x00007f5bd66a0d60 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#3  0x00007f5bd66a0ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#4  0x00007f5bdc32bb8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f5bdc2d1eba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#6  0x00007f5bdc0eff54 in QThread::exec() () from /lib64/libQt5Core.so.5
#7  0x00007f5be0379955 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#8  0x00007f5bdc0f4e3e in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#9  0x00007f5bd9f8b555 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f5bdb4f5f3d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5bb3fff700 (LWP 25967)):
#0  0x00007f5bd9f90530 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f5bbb72ec4a in radeon_drm_cs_emit_ioctl () from /usr/lib64/dri/r600_dri.so
#2  0x00007f5bbb72e4b7 in impl_thrd_routine () from /usr/lib64/dri/r600_dri.so
#3  0x00007f5bd9f8b555 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f5bdb4f5f3d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5bb01d7700 (LWP 25968)):
#0  0x00007f5bd66a0237 in g_main_context_prepare () from /lib64/libglib-2.0.so.0
#1  0x00007f5bd66a0ceb in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f5bd66a0ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f5bdc32bb8b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f5bdc2d1eba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f5bdc0eff54 in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f5be0379955 in QQmlThreadPrivate::run() () from /lib64/libQt5Qml.so.5
#7  0x00007f5bdc0f4e3e in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f5bd9f8b555 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f5bdb4f5f3d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f5be361e900 (LWP 25939)):
[KCrash Handler]
#5  0x00007f5bdb428a98 in raise () from /lib64/libc.so.6
#6  0x00007f5bdb42a72a in abort () from /lib64/libc.so.6
#7  0x00007f5bdbd62b4d in __gnu_cxx::__verbose_terminate_handler() () from /lib64/libstdc++.so.6
#8  0x00007f5bdbd60996 in ?? () from /lib64/libstdc++.so.6
#9  0x00007f5bdbd609e1 in std::terminate() () from /lib64/libstdc++.so.6
#10 0x00007f5bdbd6152f in __cxa_pure_virtual () from /lib64/libstdc++.so.6
#11 0x00007f5bdc7e132a in QPlatformScreen::physicalSize() const () from /lib64/libQt5Gui.so.5
#12 0x00007f5bdc819bf2 in QScreen::physicalSize() const () from /lib64/libQt5Gui.so.5
#13 0x00007f5bdc819ca9 in QScreen::physicalDotsPerInch() const () from /lib64/libQt5Gui.so.5
#14 0x00007f5be0b5feab in QQuickScreenAttached::screenChanged(QScreen*) () from /lib64/libQt5Quick.so.5
#15 0x00007f5bdc30507a in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007f5bdc7f780f in QWindow::screenChanged(QScreen*) () from /lib64/libQt5Gui.so.5
#17 0x00007f5bdc7f8705 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () from /lib64/libQt5Gui.so.5
#18 0x00007f5bdc7fb743 in QWindowPrivate::setTopLevelScreen(QScreen*, bool) () from /lib64/libQt5Gui.so.5
#19 0x00007f5bdc7fb8d5 in QWindow::screenDestroyed(QObject*) () from /lib64/libQt5Gui.so.5
#20 0x00007f5bdc304f07 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#21 0x00007f5bdc30591f in QObject::destroyed(QObject*) () from /lib64/libQt5Core.so.5
#22 0x00007f5bdc30ca8a in QObject::~QObject() () from /lib64/libQt5Core.so.5
#23 0x00007f5bdcb70707 in QScreen::~QScreen() () from /lib64/libQt5Gui.so.5
#24 0x00007f5bdc7e1857 in QPlatformScreen::~QPlatformScreen() () from /lib64/libQt5Gui.so.5
#25 0x00007f5bc5cc8399 in QXcbScreen::~QXcbScreen() () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#26 0x00007f5bc5cbb4b9 in QXcbConnection::updateScreens() () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#27 0x00007f5bc5cbc396 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#28 0x00007f5bc5cbd183 in QXcbConnection::processXcbEvents() () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#29 0x00007f5bdc305f41 in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#30 0x00007f5bdd86677c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#31 0x00007f5bdd86be20 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#32 0x00007f5bdc2d467b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#33 0x00007f5bdc2d67b7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#34 0x00007f5bdc32b763 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#35 0x00007f5bd66a0a8a in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#36 0x00007f5bd66a0e20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#37 0x00007f5bd66a0ecc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#38 0x00007f5bdc32bb6f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#39 0x00007f5bdc2d1eba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#40 0x00007f5bdc2d9a2c in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#41 0x000000000042eb0f in main ()

Possible duplicates by query: bug 348925, bug 348804, bug 348576, bug 348520, bug 348359.

Reported using DrKonqi
Comment 1 Garry Williams 2015-06-10 00:17:15 UTC
qt5-qtbase-5.4.2-1.fc22.x86_64
qt5-qtdeclarative-5.4.2-1.fc22.x86_64
plasma-workspace-5.3.0-8.fc22.x86_64
plasma-desktop-5.3.0-6.fc22.x86_64
Comment 2 David Edmundson 2015-06-10 04:50:49 UTC
*sigh*

It is the same crash.  The fix is in the Qt 5.4 branch, but it's not in 5.4.2 for some reason. 
It must have forked before I got this merged.

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