Bug 361659

Summary: plasmashell crash after resuming from suspend
Product: [Plasma] plasmashell Reporter: Rick Beldin <rick.beldin>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.3   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Rick Beldin 2016-04-12 11:28:27 UTC
Application: plasmashell (5.4.3)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-35-generic x86_64
Distribution: Ubuntu 15.10

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

I  suspended the laptop while it was in a dock with the lid open and two monitors connected, one a DVI and one a HDMI.    In docked mode, all 3 moniors are active. 

I resumed on battery with only the laptop screen active.  The lockscreen was up and I could tell by the way the mouse was moving that it still thought it was part of a larger screen as it would go off the right side.   I logged in, saw my desktop for a few seconds, then the screen went black with the pointer visible and I was back at the lock screen.   I logged in again to find the plasma crash dialog. 

- Unusual behavior I noticed:

Mouse was erratic and not bound to the visible screen. 

Apps not on the laptop screen were not visible until plasma restarted

The crash can be reproduced sometimes.

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

Thread 9 (Thread 0x7ff3420d2700 (LWP 3513)):
#0  0x00007ff35122a88d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff355271bd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ff35527374f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ff34441ca39 in QXcbEventReader::run (this=0x19581e0) at qxcbconnection.cpp:1105
#4  0x00007ff35191d2be in QThreadPrivate::start (arg=0x19581e0) at thread/qthread_unix.cpp:337
#5  0x00007ff350a0c6aa in start_thread (arg=0x7ff3420d2700) at pthread_create.c:333
#6  0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7ff33b9da700 (LWP 3573)):
#0  0x00007ff34e01b884 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff34dfd6c19 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff34dfd7190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff34dfd72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff351b5429b in QEventDispatcherGlib::processEvents (this=0x7ff3340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ff351afa75a in QEventLoop::exec (this=this@entry=0x7ff33b9d9da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff3519183d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007ff354140f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007ff35191d2be in QThreadPrivate::start (arg=0x1a4e0e0) at thread/qthread_unix.cpp:337
#9  0x00007ff350a0c6aa in start_thread (arg=0x7ff33b9da700) at pthread_create.c:333
#10 0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7ff331c7a700 (LWP 3593)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3390ab4da in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#2  0x00007ff3390aac17 in ?? () from /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
#3  0x00007ff350a0c6aa in start_thread (arg=0x7ff331c7a700) at pthread_create.c:333
#4  0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7ff32d358700 (LWP 3596)):
#0  0x00007ff351b539b2 in timerSourceCheck (source=0x7ff328002c70) at kernel/qeventdispatcher_glib.cpp:164
#1  0x00007ff34dfd6c21 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff34dfd7190 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff34dfd72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff351b5429b in QEventDispatcherGlib::processEvents (this=0x7ff3280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ff351afa75a in QEventLoop::exec (this=this@entry=0x7ff32d357da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff3519183d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007ff354140f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007ff35191d2be in QThreadPrivate::start (arg=0x1bbcf20) at thread/qthread_unix.cpp:337
#9  0x00007ff350a0c6aa in start_thread (arg=0x7ff32d358700) at pthread_create.c:333
#10 0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7ff326a0f700 (LWP 3612)):
#0  0x00007ff35122a88d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff34dfd71ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff34dfd72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff351b5429b in QEventDispatcherGlib::processEvents (this=0x7ff3180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff351afa75a in QEventLoop::exec (this=this@entry=0x7ff326a0eda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff3519183d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff354140f85 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#7  0x00007ff35191d2be in QThreadPrivate::start (arg=0x1e644d0) at thread/qthread_unix.cpp:337
#8  0x00007ff350a0c6aa in start_thread (arg=0x7ff326a0f700) at pthread_create.c:333
#9  0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ff325123700 (LWP 3622)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3564cc114 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007ff3564cc159 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007ff350a0c6aa in start_thread (arg=0x7ff325123700) at pthread_create.c:333
#4  0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ff31e5f0700 (LWP 3658)):
#0  0x00007ff35122a88d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ff34dfd71ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff34dfd72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff351b5429b in QEventDispatcherGlib::processEvents (this=0x7ff2940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff351afa75a in QEventLoop::exec (this=this@entry=0x7ff31e5efd50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff3519183d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff354abcef6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#7  0x00007ff35191d2be in QThreadPrivate::start (arg=0x21fc690) at thread/qthread_unix.cpp:337
#8  0x00007ff350a0c6aa in start_thread (arg=0x7ff31e5f0700) at pthread_create.c:333
#9  0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ff289691700 (LWP 3834)):
#0  0x00007ff34dfd6754 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff34dfd711b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff34dfd72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff351b5429b in QEventDispatcherGlib::processEvents (this=0x7ff2840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007ff351afa75a in QEventLoop::exec (this=this@entry=0x7ff289690d80, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007ff3519183d4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007ff28b928817 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007ff35191d2be in QThreadPrivate::start (arg=0x351e040) at thread/qthread_unix.cpp:337
#8  0x00007ff350a0c6aa in start_thread (arg=0x7ff289691700) at pthread_create.c:333
#9  0x00007ff351235e9d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff356a6a800 (LWP 3510)):
[KCrash Handler]
#6  0x00007ff351164267 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007ff351165eca in __GI_abort () at abort.c:89
#8  0x00007ff351588b7d in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#9  0x00007ff3515869c6 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#10 0x00007ff351586a11 in std::terminate() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#11 0x00007ff35158755f in __cxa_pure_virtual () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#12 0x00007ff351e0c7ca in QPlatformScreen::physicalSize (this=<optimized out>) at kernel/qplatformscreen.cpp:131
#13 0x00007ff351e45212 in QScreen::physicalSize (this=this@entry=0x195ae40) at kernel/qscreen.cpp:245
#14 0x00007ff351e452c9 in QScreen::physicalDotsPerInch (this=0x195ae40) at kernel/qscreen.cpp:168
#15 0x00007ff354c34b6b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007ff351b2d78a in QMetaObject::activate (sender=sender@entry=0x1c44430, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd8b0c2a90) at kernel/qobject.cpp:3717
#17 0x00007ff351b2df87 in QMetaObject::activate (sender=sender@entry=0x1c44430, m=m@entry=0x7ff35225d580 <QWindow::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd8b0c2a90) at kernel/qobject.cpp:3582
#18 0x00007ff351e22dbf in QWindow::screenChanged (this=this@entry=0x1c44430, _t1=_t1@entry=0x1966580) at .moc/moc_qwindow.cpp:626
#19 0x00007ff351e23cb5 in QWindowPrivate::emitScreenChangedRecursion (this=this@entry=0x1beb9d0, newScreen=newScreen@entry=0x1966580) at kernel/qwindow.cpp:366
#20 0x00007ff351e26cf3 in QWindowPrivate::setTopLevelScreen (this=0x1beb9d0, newScreen=0x1966580, recreate=<optimized out>) at kernel/qwindow.cpp:387
#21 0x00007ff351e26e85 in QWindow::screenDestroyed (this=0x1c44430, object=<optimized out>) at kernel/qwindow.cpp:1720
#22 0x00007ff351b2d617 in QtPrivate::QSlotObjectBase::call (a=0x7ffd8b0c2ce0, r=0x1c44430, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#23 QMetaObject::activate (sender=sender@entry=0x195ae40, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd8b0c2ce0) at kernel/qobject.cpp:3702
#24 0x00007ff351b2df87 in QMetaObject::activate (sender=sender@entry=0x195ae40, m=m@entry=0x7ff351d2a0e0 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd8b0c2ce0) at kernel/qobject.cpp:3582
#25 0x00007ff351b2e02f in QObject::destroyed (this=this@entry=0x195ae40, _t1=_t1@entry=0x195ae40) at .moc/moc_qobject.cpp:206
#26 0x00007ff351b3519a in QObject::~QObject (this=0x195ae40, __in_chrg=<optimized out>) at kernel/qobject.cpp:903
#27 0x00007ff351e450c9 in QScreen::~QScreen (this=0x195ae40, __in_chrg=<optimized out>) at kernel/qscreen.cpp:77
#28 0x00007ff351e0cd49 in QPlatformScreen::~QPlatformScreen (this=0x195b5f0, __in_chrg=<optimized out>) at kernel/qplatformscreen.cpp:57
#29 0x00007ff34442a519 in QXcbScreen::~QXcbScreen (this=0x195b5f0, __in_chrg=<optimized out>) at qxcbscreen.cpp:222
#30 0x00007ff34441d909 in QXcbConnection::updateScreens (this=this@entry=0x1943a20) at qxcbconnection.cpp:286
#31 0x00007ff34441e5c6 in QXcbConnection::handleXcbEvent (this=this@entry=0x1943a20, event=event@entry=0x7ff33c007240) at qxcbconnection.cpp:961
#32 0x00007ff34441f3b3 in QXcbConnection::processXcbEvents (this=0x1943a20) at qxcbconnection.cpp:1303
#33 0x00007ff351b2e651 in QObject::event (this=0x1943a20, e=<optimized out>) at kernel/qobject.cpp:1245
#34 0x00007ff3525dab8c in QApplicationPrivate::notify_helper (this=this@entry=0x19386a0, receiver=receiver@entry=0x1943a20, e=e@entry=0x7ff33c0124a0) at kernel/qapplication.cpp:3720
#35 0x00007ff3525e0230 in QApplication::notify (this=0x7ffd8b0c3820, receiver=0x1943a20, e=0x7ff33c0124a0) at kernel/qapplication.cpp:3503
#36 0x00007ff351afcf1b in QCoreApplication::notifyInternal (this=0x7ffd8b0c3820, receiver=0x1943a20, event=event@entry=0x7ff33c0124a0) at kernel/qcoreapplication.cpp:935
#37 0x00007ff351aff057 in QCoreApplication::sendEvent (event=0x7ff33c0124a0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x192dd70) at kernel/qcoreapplication.cpp:1552
#39 0x00007ff351aff588 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1410
#40 0x00007ff351b53e73 in postEventSourceDispatch (s=0x1995050) at kernel/qeventdispatcher_glib.cpp:271
#41 0x00007ff34dfd6ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#42 0x00007ff34dfd7250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007ff34dfd72fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007ff351b5427f in QEventDispatcherGlib::processEvents (this=0x19a2370, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#45 0x00007ff351afa75a in QEventLoop::exec (this=this@entry=0x7ffd8b0c36a0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#46 0x00007ff351b022cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1188
#47 0x00000000004322c3 in main ()

Possible duplicates by query: bug 360867, bug 355614, bug 355567, bug 354968, bug 354471.

Reported using DrKonqi
Comment 1 Marco Martin 2016-05-04 11:07:59 UTC

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