Bug 378416 - Screen dark and plasma crash when laptop docked
Summary: Screen dark and plasma crash when laptop docked
Status: RESOLVED DUPLICATE of bug 377808
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-04-03 23:44 UTC by Debashis Dash
Modified: 2017-04-11 13:53 UTC (History)
4 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 Debashis Dash 2017-04-03 23:44:19 UTC
Application: plasmashell (5.9.4)

Qt Version: 5.8.0
Frameworks Version: 5.32.0
Operating System: Linux 4.10.6-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I had put my laptop to sleep by closing the lid. Then I docked the laptop without opening the lid. After docking, I opened the lid. The screen did not come on. Most of the times that this happens, I have to force reboot. Sometimes, when I undock, plasma crashes and the screen comes back on with the login screen (all apps still running when I login).

The crash can be reproduced sometimes.

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

Thread 9 (Thread 0x7f1bf7fff700 (LWP 16652)):
#0  0x00007f1cca574e64 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1cca52f144 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1cca52f744 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1cca52f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1cd007006b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1cd001989a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1ccfe3ba73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1cd2f73025 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f1ccfe406d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f1c0c07b700 (LWP 1393)):
#0  0x00007f1ccf74967d in poll () at /usr/lib/libc.so.6
#1  0x00007f1cca52f7a6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1cca52f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1cd007006b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1cd001989a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1ccfe3ba73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1c0ea170a7 in KCupsConnection::run() () at /usr/lib/libkcupslib.so
#7  0x00007f1ccfe406d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f1c20f62700 (LWP 1152)):
#0  0x00007f1cca574e49 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1cca52ec99 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1cca52f6cb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1cca52f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1cd007006b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1cd001989a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1ccfe3ba73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1cd3b26fd6 in  () at /usr/lib/libQt5Quick.so.5
#8  0x00007f1ccfe406d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f1cacb0a700 (LWP 1149)):
#0  0x00007f1ccecfb756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f1cd581a234 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f1cd581a279 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f1cae772700 (LWP 1135)):
#0  0x00007f1cca574e49 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1cca52f762 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1cca52f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1cd007006b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1cd001989a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1ccfe3ba73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1cd2f73025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f1ccfe406d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f1cbc803700 (LWP 1122)):
#0  0x00007f1ccf74967d in poll () at /usr/lib/libc.so.6
#1  0x00007f1cca52f7a6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1cca52f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1cd007006b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f1cd001989a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1ccfe3ba73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f1cd2f73025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f1ccfe406d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f1cbe24b700 (LWP 1067)):
#0  0x00007f1cca574e49 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f1cca52e7b4 in g_main_context_release () at /usr/lib/libglib-2.0.so.0
#2  0x00007f1cca52f75a in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f1cca52f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f1cd007006b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f1cd001989a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f1ccfe3ba73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f1cd0bc0125 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f1ccfe406d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f1cc02c7700 (LWP 1055)):
#0  0x00007f1ccf74967d in poll () at /usr/lib/libc.so.6
#1  0x00007f1cd47408e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f1cd4742679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f1cc2839239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f1ccfe406d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f1ccecf52e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f1ccf75354f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f1cd608b800 (LWP 1046)):
[KCrash Handler]
#6  0x00007f1cd056e590 in QWindow::screen() const () at /usr/lib/libQt5Gui.so.5
#7  0x0000000000443d84 in  ()
#8  0x00007f1cd00470be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007f1cd055eaf2 in QGuiApplication::primaryScreenChanged(QScreen*) () at /usr/lib/libQt5Gui.so.5
#10 0x00007f1cc28396ec in QXcbConnection::destroyScreen(QXcbScreen*) () at /usr/lib/libQt5XcbQpa.so.5
#11 0x00007f1cc2839f7d in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007f1cc283b1d3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#13 0x00007f1cc283b655 in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#14 0x00007f1cd0047ba9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f1cd0f8934c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f1cd0f90b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f1cd001b440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f1cd001dbcd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f1cd006fc43 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007f1cca52f5a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007f1cca52f810 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007f1cca52f8bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007f1cd007004f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f1cd001989a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f1cd0021de4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x000000000041ca42 in  ()
#27 0x00007f1ccf687511 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000000000041cdca in _start ()

Reported using DrKonqi
Comment 1 Sasasu 2017-04-09 08:32:54 UTC
Application: plasmashell (5.9.4)

Qt Version: 5.8.0
Frameworks Version: 5.32.0
Operating System: Linux 4.10.9-1-ck-skylake x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I docked the laptop ,then two screen come back,but ervrything fine after five seconds, I noticed  plasma had crashed

The crash can be reproduced sometimes.

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

Thread 7 (Thread 0x7f993bfff700 (LWP 838)):
#0  0x00007f99f8d355cb in _dl_update_slotinfo () at /lib64/ld-linux-x86-64.so.2
#1  0x00007f99f8d3562c in update_get_addr () at /lib64/ld-linux-x86-64.so.2
#2  0x00007f99f2bd9566 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f99f2e097ba in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f99ed2c8c8d in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#5  0x00007f99ed2c96cb in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007f99ed2c98bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#7  0x00007f99f2e0a06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#8  0x00007f99f2db389a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#9  0x00007f99f2bd5a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#10 0x00007f99f68c0fd6 in  () at /usr/lib/libQt5Quick.so.5
#11 0x00007f99f2bda6d8 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007f99f1a8f2e7 in start_thread () at /usr/lib/libpthread.so.0
#13 0x00007f99f24ed54f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f99cf1d7700 (LWP 836)):
#0  0x00007f99f1a95756 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f99f85b4234 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f99f85b4279 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f99f1a8f2e7 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f99f24ed54f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f99d8f33700 (LWP 804)):
#0  0x00007f99ed30ee40 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f99ed2c8b67 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f99ed2c96cb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f99ed2c98bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f99f2e0a06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f99f2db389a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f99f2bd5a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f99f5d0d025 in  () at /usr/lib/libQt5Qml.so.5
#8  0x00007f99f2bda6d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f99f1a8f2e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f99f24ed54f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f99dafc1700 (LWP 769)):
#0  0x00007f99f24e367d in poll () at /usr/lib/libc.so.6
#1  0x00007f99ed2c97a6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f99ed2c98bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f99f2e0a06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f99f2db389a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f99f2bd5a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f99f5d0d025 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f99f2bda6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f99f1a8f2e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f99f24ed54f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f99e10a6700 (LWP 719)):
#0  0x00007f99ed30ee40 in g_mutex_lock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f99ed2c8c99 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#2  0x00007f99ed2c96cb in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f99ed2c98bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f99f2e0a06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f99f2db389a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f99f2bd5a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f99f395a125 in  () at /usr/lib/libQt5DBus.so.5
#8  0x00007f99f2bda6d8 in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f99f1a8f2e7 in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f99f24ed54f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f99e2eae700 (LWP 707)):
#0  0x00007f99f24e367d in poll () at /usr/lib/libc.so.6
#1  0x00007f99f74da8e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f99f74dc679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f99e5420239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f99f2bda6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f99f1a8f2e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f99f24ed54f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f99f8e2b800 (LWP 682)):
[KCrash Handler]
#6  0x00007f99f3308590 in QWindow::screen() const () at /usr/lib/libQt5Gui.so.5
#7  0x0000000000443d84 in  ()
#8  0x00007f99f2de10be in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#9  0x00007f99f32f8af2 in QGuiApplication::primaryScreenChanged(QScreen*) () at /usr/lib/libQt5Gui.so.5
#10 0x00007f99e541fe5d in QXcbConnection::createScreen(QXcbVirtualDesktop*, xcb_randr_output_change_t const&, xcb_randr_get_output_info_reply_t*) () at /usr/lib/libQt5XcbQpa.so.5
#11 0x00007f99e5421877 in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () at /usr/lib/libQt5XcbQpa.so.5
#12 0x00007f99e54221d3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/libQt5XcbQpa.so.5
#13 0x00007f99e5422655 in QXcbConnection::processXcbEvents() () at /usr/lib/libQt5XcbQpa.so.5
#14 0x00007f99f2de1ba9 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007f99f3d2334c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#16 0x00007f99f3d2ab61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#17 0x00007f99f2db5440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#18 0x00007f99f2db7bcd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#19 0x00007f99f2e09c43 in  () at /usr/lib/libQt5Core.so.5
#20 0x00007f99ed2c95a7 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#21 0x00007f99ed2c9810 in  () at /usr/lib/libglib-2.0.so.0
#22 0x00007f99ed2c98bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#23 0x00007f99f2e0a04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#24 0x00007f99f2db389a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#25 0x00007f99f2dbbde4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#26 0x000000000041ca42 in  ()
#27 0x00007f99f2421511 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000000000041cdca in _start ()

Possible duplicates by query: bug 378416.

Reported using DrKonqi
Comment 2 Marco Martin 2017-04-11 13:53:56 UTC

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