Bug 378170

Summary: Plasma crush when connecting an external monitor
Product: [Plasma] plasmashell Reporter: Alain Shema <alain.shema>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.8.6   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Alain Shema 2017-03-27 17:55:25 UTC
Application: plasmashell (5.8.6)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.49-16-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
I connected an external monitor via the VGA port on my laptop. The external monitor has higher resolution (and also physical size) than my laptop display.

- Unusual behavior I noticed:
The plasma crushes and the taskbar disappears for a while before re-appearing.

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 0x7f10a4122900 (LWP 5460))]

Thread 9 (Thread 0x7f0fd3a11700 (LWP 8446)):
#0  0x00007f1099d517b5 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f1099d0f837 in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1099d10230 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1099d1042c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f109df4f32b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f109defcfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f109dd37f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f10a10449c8 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f109dd3c9e9 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f0fda3c9700 (LWP 5585)):
#0  0x00007f109d64849d in poll () at /lib64/libc.so.6
#1  0x00007f1099d10314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1099d1042c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f109df4f32b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f109defcfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f109dd37f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f0fdb7f18f7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#7  0x00007f109dd3c9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f0fec020700 (LWP 5521)):
#0  0x00007f109d64451d in read () at /lib64/libc.so.6
#1  0x00007f1099d50670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1099d0fe49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1099d102a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f1099d1042c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f109df4f32b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f109defcfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f109dd37f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f10a1bc7632 in  () at /usr/lib64/libQt5Quick.so.5
#9  0x00007f109dd3c9e9 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f107e7b7700 (LWP 5512)):
#0  0x00007f109ce560af in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f10a380e93b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f10a380e969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f107ffff700 (LWP 5510)):
#0  0x00007f1099d0d679 in  () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f1099d0f8fb in g_main_context_prepare () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1099d10230 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f1099d1042c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f109df4f32b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f109defcfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f109dd37f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f10a10449c8 in  () at /usr/lib64/libQt5Qml.so.5
#8  0x00007f109dd3c9e9 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f1085f2b700 (LWP 5506)):
#0  0x00007f109d64849d in poll () at /lib64/libc.so.6
#1  0x00007f1099d10314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f1099d1042c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f109df4f32b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f109defcfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f109dd37f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f10a10449c8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f109dd3c9e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f1087972700 (LWP 5488)):
#0  0x00007f1099d517b9 in g_mutex_lock () at /usr/lib64/libglib-2.0.so.0
#1  0x00007f1099d10418 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f109df4f32b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#3  0x00007f109defcfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f109dd37f1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#5  0x00007f109eab81d5 in  () at /usr/lib64/libQt5DBus.so.5
#6  0x00007f109dd3c9e9 in  () at /usr/lib64/libQt5Core.so.5
#7  0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f108d627700 (LWP 5485)):
#0  0x00007f109d64849d in poll () at /lib64/libc.so.6
#1  0x00007f10a27893e2 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f10a278afcf in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f108f76f839 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f109dd3c9e9 in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f109ce51734 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f109d650d3d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f10a4122900 (LWP 5460)):
[KCrash Handler]
#6  0x00007f109e4579b0 in QWindow::screen() const () at /usr/lib64/libQt5Gui.so.5
#7  0x0000000000441270 in  ()
#8  0x00007f109df291c3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f109e4498f2 in QGuiApplication::primaryScreenChanged(QScreen*) () at /usr/lib64/libQt5Gui.so.5
#10 0x00007f109e43e866 in QPlatformIntegration::screenAdded(QPlatformScreen*, bool) () at /usr/lib64/libQt5Gui.so.5
#11 0x00007f108f76b4ae in QXcbConnection::createScreen(QXcbVirtualDesktop*, xcb_randr_output_change_t const&, xcb_randr_get_output_info_reply_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#12 0x00007f108f76c45d in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () at /usr/lib64/libQt5XcbQpa.so.5
#13 0x00007f108f76e556 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib64/libQt5XcbQpa.so.5
#14 0x00007f108f76fc3b in QXcbConnection::processXcbEvents() () at /usr/lib64/libQt5XcbQpa.so.5
#15 0x00007f109df2a166 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#16 0x00007f109ee86e3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#17 0x00007f109ee8b49a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#18 0x00007f109defefc5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#19 0x00007f109df00daa in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#20 0x00007f109df4fc83 in  () at /usr/lib64/libQt5Core.so.5
#21 0x00007f1099d10134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#22 0x00007f1099d10388 in  () at /usr/lib64/libglib-2.0.so.0
#23 0x00007f1099d1042c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f109df4f30c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#25 0x00007f109defcfdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#26 0x00007f109df04ec6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#27 0x000000000041ee0f in  ()
#28 0x00007f109d5876e5 in __libc_start_main () at /lib64/libc.so.6
#29 0x000000000041f079 in _start ()

Possible duplicates by query: bug 377919, bug 377870.

Reported using DrKonqi
Comment 1 Marco Martin 2017-03-28 11:32:11 UTC

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