Bug 357503 - plasmashell crashing when waking up Display Port connected monitor after dimming
Summary: plasmashell crashing when waking up Display Port connected monitor after dimming
Status: RESOLVED DUPLICATE of bug 357085
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.3
Platform: Debian testing Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
: 357514 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-01-04 09:20 UTC by Piotr
Modified: 2016-01-11 18:10 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
kcrash report for: Plasma (plasmashell), signal: Segmentation fault (7.25 KB, text/plain)
2016-01-09 18:55 UTC, Luis Muñoz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr 2016-01-04 09:20:49 UTC
Application: plasmashell (5.4.3)

Qt Version: 5.5.1
Operating System: Linux 4.3.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
1) Let the screen dim and enter energy saving mode
2) Wake up the screen

The crash can be reproduced every time.

-- 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 0x7f55b25f7940 (LWP 22537))]

Thread 8 (Thread 0x7f559d66f700 (LWP 22538)):
#0  0x00007f55acd1d86d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f55b0dd2252 in poll (__timeout=-1, __nfds=1, __fds=0x7f559d66eb80) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  _xcb_conn_wait (c=0x126f1a0, cond=<optimized out>, vector=0x0, count=0x0) at ../../src/xcb_conn.c:447
#3  0x00007f55b0dd3ddf in xcb_wait_for_event (c=0x7f559d66eb80) at ../../src/xcb_in.c:622
#4  0x00007f559e9654f9 in QXcbEventReader::run (this=0x12821e0) at qxcbconnection.cpp:1229
#5  0x00007f55ad40287e in QThreadPrivate::start (arg=0x12821e0) at thread/qthread_unix.cpp:331
#6  0x00007f55ac51f284 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#7  0x00007f55acd2674d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 7 (Thread 0x7f5596dc0700 (LWP 22539)):
#0  0x00007f55ad3fadef in QBasicAtomicOps<8>::testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=0x1, _q_value=@0x1358fb8: 0x0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86.h:259
#1  QGenericAtomicOps<QBasicAtomicOps<8> >::testAndSetRelease<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=<optimized out>, _q_value=@0x1358fb8: 0x0) at ../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:175
#2  QBasicAtomicPointer<QMutexData>::testAndSetRelease (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=<optimized out>, this=this@entry=0x1358fb8) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:278
#3  QBasicMutex::fastTryUnlock (current=<synthetic pointer>, this=this@entry=0x1358fb8) at thread/qmutex.h:85
#4  QMutex::unlock (this=this@entry=0x1358fb8) at thread/qmutex.cpp:264
#5  0x00007f55ad639891 in QMutexLocker::unlock (this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:138
#6  QMutexLocker::~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:132
#7  QThreadData::canWaitLocked (this=0x1358f90) at ../../include/QtCore/5.5.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:240
#8  postEventSourcePrepare (s=0x7f55900012d0, timeout=timeout@entry=0x7f5596dbfaa4) at kernel/qeventdispatcher_glib.cpp:254
#9  0x00007f55a9ac475d in g_main_context_prepare (context=context@entry=0x7f5590000990, priority=priority@entry=0x7f5596dbfb30) at /build/glib2.0-2.46.2/./glib/gmain.c:3442
#10 0x00007f55a9ac50fb in g_main_context_iterate (context=context@entry=0x7f5590000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3820
#11 0x00007f55a9ac52dc in g_main_context_iteration (context=0x7f5590000990, may_block=may_block@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#12 0x00007f55ad63a2fb in QEventDispatcherGlib::processEvents (this=0x7f55900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f55ad5e12fa in QEventLoop::exec (this=this@entry=0x7f5596dbfc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f55ad3fd8d4 in QThread::exec (this=this@entry=0x1358e50) at thread/qthread.cpp:503
#15 0x00007f55afc92105 in QQmlThreadPrivate::run (this=0x1358e50) at qml/ftw/qqmlthread.cpp:141
#16 0x00007f55ad40287e in QThreadPrivate::start (arg=0x1358e50) at thread/qthread_unix.cpp:331
#17 0x00007f55ac51f284 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#18 0x00007f55acd2674d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 6 (Thread 0x7f558cbe0700 (LWP 22540)):
#0  0x00007f55ac5248df in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f558f9eb4fa in cnd_wait (mtx=0x142e958, cond=0x142e980) at ../../../../../../../include/c11/threads_posix.h:154
#2  pipe_semaphore_wait (sema=0x142e958) at ../../../../../../../src/gallium/auxiliary/os/os_thread.h:259
#3  radeon_drm_cs_emit_ioctl (param=param@entry=0x142e610) at ../../../../../../../src/gallium/winsys/radeon/drm/radeon_drm_winsys.c:644
#4  0x00007f558f9eac37 in impl_thrd_routine (p=<optimized out>) at ../../../../../../../include/c11/threads_posix.h:87
#5  0x00007f55ac51f284 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#6  0x00007f55acd2674d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 5 (Thread 0x7f558a04e700 (LWP 22541)):
#0  0x00007f55acd1d86d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f55a9ac51cc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f5584002e70, timeout=<optimized out>, context=0x7f5584000990) at /build/glib2.0-2.46.2/./glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f5584000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3835
#3  0x00007f55a9ac52dc in g_main_context_iteration (context=0x7f5584000990, may_block=may_block@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#4  0x00007f55ad63a2fb in QEventDispatcherGlib::processEvents (this=0x7f55840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f55ad5e12fa in QEventLoop::exec (this=this@entry=0x7f558a04dc60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f55ad3fd8d4 in QThread::exec (this=this@entry=0x16056d0) at thread/qthread.cpp:503
#7  0x00007f55afc92105 in QQmlThreadPrivate::run (this=0x16056d0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f55ad40287e in QThreadPrivate::start (arg=0x16056d0) at thread/qthread_unix.cpp:331
#9  0x00007f55ac51f284 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f55acd2674d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 4 (Thread 0x7f5583dca700 (LWP 22544)):
#0  0x00007f55acd1987d in read () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f55a9b08510 in read (__nbytes=16, __buf=0x7f5583dc9a60, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7f5584002390) at /build/glib2.0-2.46.2/./glib/gwakeup.c:210
#3  0x00007f55a9ac4cb4 in g_main_context_check (context=context@entry=0x7f557c000990, max_priority=2147483647, fds=fds@entry=0x7f557c003070, n_fds=n_fds@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3632
#4  0x00007f55a9ac5170 in g_main_context_iterate (context=context@entry=0x7f557c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3837
#5  0x00007f55a9ac52dc in g_main_context_iteration (context=0x7f557c000990, may_block=may_block@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#6  0x00007f55ad63a2fb in QEventDispatcherGlib::processEvents (this=0x7f557c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007f55ad5e12fa in QEventLoop::exec (this=this@entry=0x7f5583dc9c60, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007f55ad3fd8d4 in QThread::exec (this=this@entry=0x16a3770) at thread/qthread.cpp:503
#9  0x00007f55afc92105 in QQmlThreadPrivate::run (this=0x16a3770) at qml/ftw/qqmlthread.cpp:141
#10 0x00007f55ad40287e in QThreadPrivate::start (arg=0x16a3770) at thread/qthread_unix.cpp:331
#11 0x00007f55ac51f284 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#12 0x00007f55acd2674d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 3 (Thread 0x7f5582587700 (LWP 22545)):
#0  0x00007f55ac5248df in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00007f55b203f1c4 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f55b2127ee0 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f55b203f209 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f55ac51f284 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#4  0x00007f55acd2674d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 2 (Thread 0x7f54fbb4c700 (LWP 22546)):
#0  0x00007f55acd1d86d in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007f55a9ac51cc in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f54f4003060, timeout=<optimized out>, context=0x7f54f4000990) at /build/glib2.0-2.46.2/./glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f54f4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3835
#3  0x00007f55a9ac52dc in g_main_context_iteration (context=0x7f54f4000990, may_block=may_block@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#4  0x00007f55ad63a2fb in QEventDispatcherGlib::processEvents (this=0x7f54f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f55ad5e12fa in QEventLoop::exec (this=this@entry=0x7f54fbb4bc10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f55ad3fd8d4 in QThread::exec (this=this@entry=0x17795a0) at thread/qthread.cpp:503
#7  0x00007f55b061a136 in QQuickPixmapReader::run (this=0x17795a0) at util/qquickpixmapcache.cpp:760
#8  0x00007f55ad40287e in QThreadPrivate::start (arg=0x17795a0) at thread/qthread_unix.cpp:331
#9  0x00007f55ac51f284 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#10 0x00007f55acd2674d in clone () from /lib/x86_64-linux-gnu/libc.so.6

Thread 1 (Thread 0x7f55b25f7940 (LWP 22537)):
[KCrash Handler]
#6  QScreen::handle (this=0x0) at kernel/qscreen.cpp:112
#7  0x00007f559e96cfb9 in QXcbIntegration::createPlatformWindow (this=<optimized out>, window=0x2ae7f40) at qxcbintegration.cpp:196
#8  0x00007f55ad92d294 in QWindowPrivate::create (this=0x2ae7fb0, recursive=recursive@entry=false) at kernel/qwindow.cpp:392
#9  0x00007f55ad92d49b in QWindow::create (this=this@entry=0x2ae7f40) at kernel/qwindow.cpp:548
#10 0x00007f55ad92d558 in QWindow::winId (this=0x2ae7f40) at kernel/qwindow.cpp:567
#11 0x00007f55b216d735 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#12 0x00007f55b2170309 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#13 0x00007f55ad6126ca in QMetaObject::activate (sender=0x2a845f0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3713
#14 0x00007f55ad612557 in QtPrivate::QSlotObjectBase::call (a=0x7ffff58b3aa0, r=0x2a845f0, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#15 QMetaObject::activate (sender=0x13fa4e0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3698
#16 0x00007f55ad6126ca in QMetaObject::activate (sender=sender@entry=0x13f82d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3713
#17 0x00007f55ad612ec7 in QMetaObject::activate (sender=sender@entry=0x13f82d0, m=m@entry=0x7f55ad82d840 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3578
#18 0x00007f55ad692190 in QTimer::timeout (this=this@entry=0x13f82d0) at .moc/moc_qtimer.cpp:197
#19 0x00007f55ad61ef78 in QTimer::timerEvent (this=0x13f82d0, e=<optimized out>) at kernel/qtimer.cpp:247
#20 0x00007f55ad613543 in QObject::event (this=0x13f82d0, e=<optimized out>) at kernel/qobject.cpp:1261
#21 0x00007f55ae0e6ffc in QApplicationPrivate::notify_helper (this=this@entry=0x1265190, receiver=receiver@entry=0x13f82d0, e=e@entry=0x7ffff58b3ed0) at kernel/qapplication.cpp:3716
#22 0x00007f55ae0ec4c6 in QApplication::notify (this=0x7ffff58b4290, receiver=0x13f82d0, e=0x7ffff58b3ed0) at kernel/qapplication.cpp:3499
#23 0x00007f55ad5e3b6b in QCoreApplication::notifyInternal (this=0x7ffff58b4290, receiver=0x13f82d0, event=event@entry=0x7ffff58b3ed0) at kernel/qcoreapplication.cpp:965
#24 0x00007f55ad6390fd in QCoreApplication::sendEvent (event=0x7ffff58b3ed0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#25 QTimerInfoList::activateTimers (this=0x12b2ab0) at kernel/qtimerinfo_unix.cpp:637
#26 0x00007f55ad639601 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#27 0x00007f55a9ac4fd7 in g_main_dispatch (context=0x7f55980016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3154
#28 g_main_context_dispatch (context=context@entry=0x7f55980016f0) at /build/glib2.0-2.46.2/./glib/gmain.c:3769
#29 0x00007f55a9ac5230 in g_main_context_iterate (context=context@entry=0x7f55980016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-2.46.2/./glib/gmain.c:3840
#30 0x00007f55a9ac52dc in g_main_context_iteration (context=0x7f55980016f0, may_block=may_block@entry=1) at /build/glib2.0-2.46.2/./glib/gmain.c:3901
#31 0x00007f55ad63a2df in QEventDispatcherGlib::processEvents (this=0x12b55c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#32 0x00007f55ad5e12fa in QEventLoop::exec (this=this@entry=0x7ffff58b4110, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#33 0x00007f55ad5e93dc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#34 0x00007f55ad91d8bc in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
#35 0x00007f55ae0e3435 in QApplication::exec () at kernel/qapplication.cpp:2976
#36 0x0000000000431b03 in main (argc=1, argv=<optimized out>) at ../../shell/main.cpp:176

Possible duplicates by query: bug 356674, bug 355857, bug 355135, bug 353823, bug 353578.

Reported using DrKonqi
Comment 1 David Edmundson 2016-01-04 13:25:02 UTC
*** Bug 357514 has been marked as a duplicate of this bug. ***
Comment 2 Luis Muñoz 2016-01-09 18:55:00 UTC
Created attachment 96547 [details]
kcrash report for: Plasma (plasmashell), signal: Segmentation fault

Similar bug when unlocking session after monitor power off itself.
powershell 5.4.3
Comment 3 David Edmundson 2016-01-11 18:10:46 UTC

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