Bug 383769

Summary: Plasma crash when switching to a second monitor
Product: [Plasma] plasmashell Reporter: Tim Taylor <tim.taylor+bugzilla.bugs.kde.org>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.9.4   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tim Taylor 2017-08-21 00:35:18 UTC
Application: plasmashell (5.9.4)

Qt Version: 5.7.1
Frameworks Version: 5.31.0
Operating System: Linux 4.10.0-32-generic x86_64
Distribution: Ubuntu 17.04

-- Information about the crash:
- What I was doing when the application crashed:
Had just turned on my laptop and plasma had launched. Then plugged in a second monitor via VGA cable, and closed laptop lid so that the other monitor became the only active screen. Then got the Plasma crash message

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff4e6e82280 (LWP 1976))]

Thread 7 (Thread 0x7ff419f79700 (LWP 2773)):
#0  0x00007ff4db6f5ef4 in g_mutex_unlock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff4db6b0696 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff4e13800bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ff4e1329bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff4e1157f83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff41c4965c7 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#6  0x00007ff4e115cc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff4dffff6da in start_thread (arg=0x7ff419f79700) at pthread_create.c:456
#8  0x00007ff4e0a69d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7ff42e292700 (LWP 2674)):
#0  0x00007ff4e0a5dd8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff4db6b0576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff4db6b068c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4e13800bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff4e1329bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff4e1157f83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff4e4ba34c6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ff4e115cc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff4dffff6da in start_thread (arg=0x7ff42e292700) at pthread_create.c:456
#9  0x00007ff4e0a69d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7ff4c0fa1700 (LWP 2380)):
#0  0x00007ff4e0005510 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff4e680d2c4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007ff4e680d309 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007ff4dffff6da in start_thread (arg=0x7ff4c0fa1700) at pthread_create.c:456
#4  0x00007ff4e0a69d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7ff4c2fa1700 (LWP 2376)):
#0  0x00007ff4e0a5dd8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff4db6b0576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff4db6b068c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4e13800bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff4e1329bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff4e1157f83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff4e401cdf5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ff4e115cc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff4dffff6da in start_thread (arg=0x7ff4c2fa1700) at pthread_create.c:456
#9  0x00007ff4e0a69d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 3 (Thread 0x7ff4c8f7c700 (LWP 2145)):
#0  0x00007ff4db6f5ed9 in g_mutex_lock () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff4db6b00f6 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff4db6b05e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4db6b068c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff4e13800bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff4e1329bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff4e1157f83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff4e401cdf5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007ff4e115cc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff4dffff6da in start_thread (arg=0x7ff4c8f7c700) at pthread_create.c:456
#10 0x00007ff4e0a69d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7ff4d2ff9700 (LWP 1987)):
#0  0x00007ff4e0a5dd8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff4db6b0576 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff4db6b068c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff4e13800bb in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff4e1329bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff4e1157f83 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff4e17925d5 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ff4e115cc38 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff4dffff6da in start_thread (arg=0x7ff4d2ff9700) at pthread_create.c:456
#9  0x00007ff4e0a69d7f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7ff4e6e82280 (LWP 1976)):
[KCrash Handler]
#6  0x00007ff4e1affcf0 in QWindow::screen() const () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x0000562d21a3d274 in  ()
#8  0x00007ff4e1357afe in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff4e1af0592 in QGuiApplication::primaryScreenChanged(QScreen*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#10 0x00007ff4d205543c in QXcbConnection::destroyScreen(QXcbScreen*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#11 0x00007ff4d2055cb9 in QXcbConnection::updateScreens(xcb_randr_notify_event_t const*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#12 0x00007ff4d2056ef3 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#13 0x00007ff4d2057375 in QXcbConnection::processXcbEvents() () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#14 0x00007ff4e1358639 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ff4e228d35c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#16 0x00007ff4e2294b21 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ff4e132bc00 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ff4e132e39d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ff4e137fc93 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ff4db6b0377 in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ff4db6b05e0 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007ff4db6b068c in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ff4e138009f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ff4e1329bea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ff4e133233c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x0000562d21a1b0bf in  ()
#27 0x00007ff4e09813f1 in __libc_start_main (main=0x562d21a1a560, argc=1, argv=0x7ffdfd34c168, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdfd34c158) at ../csu/libc-start.c:291
#28 0x0000562d21a1b43a in _start ()

Reported using DrKonqi
Comment 1 Marco Martin 2017-09-04 12:45:58 UTC

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