Bug 362184

Summary: Plasmashell crashes after unlocking screen after monitor went to standby
Product: [Plasma] plasmashell Reporter: Dennis Schridde <heri+kde>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, impos89, me.dickson, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.6.3   
Target Milestone: 1.0   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dennis Schridde 2016-04-24 12:38:57 UTC
Application: plasmashell (5.6.3)

Qt Version: 5.6.0
Frameworks Version: 5.21.0
Operating System: Linux 4.5.2-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

-- Information about the crash:
- What I was doing when the application crashed:
The screen was locked, then the monitor went into standby, then I pressed some keys to wake it, noticed a broken screen lock (see below), entered my password to log in, observed the crash right after login.

- Unusual behavior I noticed:
The screen appeared as if half stuck in a fade-out animation: I could see the screen lock overlay (colourful screen), but also still the windows below (very hard to see, as if the screen lock overlay was almost opaque, but not entirely).

I am using Plasma 5.6.3, KDE Frameworks 5.21.0, Qt 5.6.0.

- DrKonqi did not allow me to mark this as a possible duplicate. The button just did nothing...

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 0x7fb57a91c840 (LWP 7084))]

Thread 10 (Thread 0x7fb56502e700 (LWP 7087)):
#0  0x00007fb57508c01d in poll () from /lib64/libc.so.6
#1  0x00007fb5790b9a72 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007fb5790bb627 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007fb566759169 in QXcbEventReader::run (this=0x1728360) at qxcbconnection.cpp:1313
#4  0x00007fb57577af3b in QThreadPrivate::start (arg=0x1728360) at thread/qthread_unix.cpp:340
#5  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7fb55f646700 (LWP 7088)):
#0  0x00007fb57227ae61 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fb5722378c8 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb57223821b in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb5722383fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fb57595e11b in QEventDispatcherGlib::processEvents (this=0x7fb5580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007fb57591022a in QEventLoop::exec (this=this@entry=0x7fb55f645d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb575776ba4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007fb57aa34335 in ?? () from /usr/lib64/libQt5DBus.so.5
#8  0x00007fb57577af3b in QThreadPrivate::start (arg=0x7fb57aaa5900) at thread/qthread_unix.cpp:340
#9  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7fb55ddf6700 (LWP 7117)):
#0  0x00007fb57227ae61 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fb572237d43 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb572238290 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb5722383fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fb57595e11b in QEventDispatcherGlib::processEvents (this=0x7fb5500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007fb57591022a in QEventLoop::exec (this=this@entry=0x7fb55ddf5d60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb575776ba4 in QThread::exec (this=this@entry=0x1822d30) at thread/qthread.cpp:503
#7  0x00007fb577f6e6e5 in QQmlThreadPrivate::run (this=0x1822d30) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fb57577af3b in QThreadPrivate::start (arg=0x1822d30) at thread/qthread_unix.cpp:340
#9  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7fb542bd6700 (LWP 7139)):
#0  0x00007fb57489beef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fb5574121d3 in cnd_wait (mtx=0x1ad6b80, cond=0x1ad6ba8) at /var/tmp/portage/media-libs/mesa-11.2.1/work/mesa-11.2.1/include/c11/threads_posix.h:159
#2  pipe_semaphore_wait (sema=0x1ad6b80) at /var/tmp/portage/media-libs/mesa-11.2.1/work/mesa-11.2.1/src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x1ad6750) at /var/tmp/portage/media-libs/mesa-11.2.1/work/mesa-11.2.1/src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:688
#4  0x00007fb557411927 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-11.2.1/work/mesa-11.2.1/include/c11/threads_posix.h:87
#5  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#6  0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7fb53e54e700 (LWP 7148)):
#0  0x00007fb575774109 in std::__atomic_base<QMutexData*>::compare_exchange_strong (__m2=<optimized out>, __m1=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fb53e54daf8: 0x0, this=0x1cc6318) at /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/bits/atomic_base.h:752
#1  std::atomic<QMutexData*>::compare_exchange_strong (__m=std::memory_order_acquire, __p2=<optimized out>, __p1=@0x7fb53e54daf8: 0x0, this=0x1cc6318) at /usr/lib/gcc/x86_64-pc-linux-gnu/5.3.0/include/g++-v5/atomic:475
#2  QAtomicOps<QMutexData*>::testAndSetAcquire<QMutexData*> (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, _q_value=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_cxx11.h:158
#3  QBasicAtomicPointer<QMutexData>::testAndSetAcquire (currentValue=<synthetic pointer>, newValue=<optimized out>, expectedValue=0x0, this=0x1cc6318) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:276
#4  QBasicMutex::fastTryLock (current=<synthetic pointer>, this=0x1cc6318) at thread/qmutex.h:82
#5  QMutex::lock (this=this@entry=0x1cc6318) at thread/qmutex.cpp:219
#6  0x00007fb57595decb in QMutexLocker::QMutexLocker (m=0x1cc6318, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:128
#7  QThreadData::canWaitLocked (this=0x1cc62f0) at ../../include/QtCore/5.6.0/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:247
#8  postEventSourcePrepare (s=0x7fb5380012d0, timeout=0x7fb53e54db94) at kernel/qeventdispatcher_glib.cpp:253
#9  0x00007fb5722378bc in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fb57223821b in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fb5722383fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fb57595e11b in QEventDispatcherGlib::processEvents (this=0x7fb5380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#13 0x00007fb57591022a in QEventLoop::exec (this=this@entry=0x7fb53e54dd60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007fb575776ba4 in QThread::exec (this=this@entry=0x1c8f6c0) at thread/qthread.cpp:503
#15 0x00007fb577f6e6e5 in QQmlThreadPrivate::run (this=0x1c8f6c0) at qml/ftw/qqmlthread.cpp:141
#16 0x00007fb57577af3b in QThreadPrivate::start (arg=0x1c8f6c0) at thread/qthread_unix.cpp:340
#17 0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#18 0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fb53cd4e700 (LWP 7151)):
#0  0x00007fb57227ae7c in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fb57223820e in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb5722383fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb57595e11b in QEventDispatcherGlib::processEvents (this=0x7fb5300008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fb57591022a in QEventLoop::exec (this=this@entry=0x7fb53cd4dd60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fb575776ba4 in QThread::exec (this=this@entry=0x1da2cf0) at thread/qthread.cpp:503
#6  0x00007fb577f6e6e5 in QQmlThreadPrivate::run (this=0x1da2cf0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007fb57577af3b in QThreadPrivate::start (arg=0x1da2cf0) at thread/qthread_unix.cpp:340
#8  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fb5373d6700 (LWP 7158)):
#0  0x00007fb57489beef in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fb57a3886b4 in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007fb57a3886f9 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb4affff700 (LWP 7162)):
#0  0x00007fb57227ae61 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007fb572237e86 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb572238350 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb5722383fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007fb57595e11b in QEventDispatcherGlib::processEvents (this=0x7fb4a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#5  0x00007fb57591022a in QEventLoop::exec (this=this@entry=0x7fb4afffed10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fb575776ba4 in QThread::exec (this=this@entry=0x20137e0) at thread/qthread.cpp:503
#7  0x00007fb5788f4836 in QQuickPixmapReader::run (this=0x20137e0) at util/qquickpixmapcache.cpp:818
#8  0x00007fb57577af3b in QThreadPrivate::start (arg=0x20137e0) at thread/qthread_unix.cpp:340
#9  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#10 0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb4a1526700 (LWP 7427)):
#0  0x00007fb57508c01d in poll () from /lib64/libc.so.6
#1  0x00007fb5722382ec in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fb5722383fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fb57595e11b in QEventDispatcherGlib::processEvents (this=0x7fb49c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:419
#4  0x00007fb57591022a in QEventLoop::exec (this=this@entry=0x7fb4a1525d40, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fb575776ba4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fb4a25d8f1f in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#7  0x00007fb57577af3b in QThreadPrivate::start (arg=0x30be800) at thread/qthread_unix.cpp:340
#8  0x00007fb5748963fc in start_thread () from /lib64/libpthread.so.0
#9  0x00007fb575094ead in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb57a91c840 (LWP 7084)):
[KCrash Handler]
#6  Plasma::Applet::actions (this=this@entry=0x0) at /var/tmp/portage/kde-frameworks/plasma-5.21.0/work/plasma-framework-5.21.0/src/plasma/applet.cpp:611
#7  0x000000000043e9fe in ShellCorona::addOutput (this=this@entry=0x18179a0, output=...) at /var/tmp/portage/kde-plasma/plasma-workspace-5.6.3/work/plasma-workspace-5.6.3/shell/shellcorona.cpp:909
#8  0x000000000043eb8f in ShellCorona::outputEnabledChanged (this=0x18179a0) at /var/tmp/portage/kde-plasma/plasma-workspace-5.6.3/work/plasma-workspace-5.6.3/shell/shellcorona.cpp:802
#9  0x00007fb57593823d in QtPrivate::QSlotObjectBase::call (a=0x7ffca95aa880, r=0x18179a0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#10 QMetaObject::activate (sender=0x1af3180, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#11 0x00007fb579ada128 in KScreen::Output::apply (this=0x1af3180, other=...) at /var/tmp/portage/kde-plasma/libkscreen-5.6.3/work/libkscreen-5.6.3/src/output.cpp:515
#12 0x00007fb579abfe0e in KScreen::Config::apply (this=this@entry=0x1a8c8d0, other=...) at /var/tmp/portage/kde-plasma/libkscreen-5.6.3/work/libkscreen-5.6.3/src/config.cpp:342
#13 0x00007fb579acb9c1 in KScreen::ConfigMonitor::Private::updateConfigs (this=this@entry=0x1eecb50, newConfig=...) at /var/tmp/portage/kde-plasma/libkscreen-5.6.3/work/libkscreen-5.6.3/src/configmonitor.cpp:179
#14 0x00007fb579acd393 in KScreen::ConfigMonitor::Private::edidReady (this=0x1eecb50, watcher=<optimized out>) at /var/tmp/portage/kde-plasma/libkscreen-5.6.3/work/libkscreen-5.6.3/src/configmonitor.cpp:163
#15 0x00007fb57593823d in QtPrivate::QSlotObjectBase::call (a=0x7ffca95aaca0, r=0x1eecb50, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=0x3d41a10, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3715
#17 0x00007fb57aa88d3f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () from /usr/lib64/libQt5DBus.so.5
#18 0x00007fb57aa88e38 in ?? () from /usr/lib64/libQt5DBus.so.5
#19 0x00007fb575938fd1 in QObject::event (this=0x3d41a10, e=<optimized out>) at kernel/qobject.cpp:1256
#20 0x00007fb57618b77c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x3d41a10, e=0x7fb558055500) at kernel/qapplication.cpp:3714
#21 0x00007fb5761908ed in QApplication::notify (this=0x7ffca95ab3a0, receiver=0x3d41a10, e=0x7fb558055500) at kernel/qapplication.cpp:3495
#22 0x00007fb575911339 in QCoreApplication::notifyInternal2 (receiver=0x3d41a10, event=event@entry=0x7fb558055500) at kernel/qcoreapplication.cpp:1015
#23 0x00007fb575913308 in QCoreApplication::sendEvent (event=0x7fb558055500, receiver=<optimized out>) at kernel/qcoreapplication.h:227
#24 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x17135e0) at kernel/qcoreapplication.cpp:1650
#25 0x00007fb5759137c8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1508
#26 0x00007fb57595e083 in postEventSourceDispatch (s=0x1766110) at kernel/qeventdispatcher_glib.cpp:270
#27 0x00007fb5722380ee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#28 0x00007fb572238350 in ?? () from /usr/lib64/libglib-2.0.so.0
#29 0x00007fb5722383fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#30 0x00007fb57595e0f7 in QEventDispatcherGlib::processEvents (this=0x1766770, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#31 0x00007fb57591022a in QEventLoop::exec (this=this@entry=0x7ffca95ab250, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#32 0x00007fb575917b44 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1285
#33 0x00007fb575c400ac in QGuiApplication::exec () at kernel/qguiapplication.cpp:1598
#34 0x00007fb5761888d5 in QApplication::exec () at kernel/qapplication.cpp:2973
#35 0x000000000041b9a6 in main (argc=2, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-5.6.3/work/plasma-workspace-5.6.3/shell/main.cpp:139

Possible duplicates by query: bug 361730, bug 361506, bug 361247, bug 360912, bug 360591.

Reported using DrKonqi
Comment 1 David Edmundson 2016-04-29 15:36:09 UTC
*** Bug 362348 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2016-04-29 15:36:14 UTC
*** Bug 362259 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2016-05-04 10:51:03 UTC

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