Bug 362215 - Plasma Crash after monitor off for a bit
Summary: Plasma Crash after monitor off for a bit
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.5.5
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-04-25 02:27 UTC by pallas17
Modified: 2016-07-21 13:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pallas17 2016-04-25 02:27:06 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.1.20-11-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:  I have this machine hooked up to my TV as its only monitor.  This appears to happen frequencly (often multiple crash windows) when the TV has been off for a little bit.  It doesn't ~always~ happen when the TV's been off, but it ~only~ happens when it's been off, i.e. it's never crashed while in active use.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma (plasmashell), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f32d240c7c0 (LWP 31571))]

Thread 8 (Thread 0x7f32bbe6b700 (LWP 31576)):
#0  0x00007f32cb90cbbd in poll () from /lib64/libc.so.6
#1  0x00007f32d085e422 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f32d086000f in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f32bdfbc3c9 in QXcbEventReader::run (this=0x7a5240) at qxcbconnection.cpp:1229
#4  0x00007f32cc00732f in QThreadPrivate::start (arg=0x7a5240) at thread/qthread_unix.cpp:331
#5  0x00007f32cb1160a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f32cb914fed in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f32b9239700 (LWP 31580)):
#0  0x00007f32cbfffccf in testAndSetRelaxed<QMutexData*> (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=0x1, _q_value=@0x8713e8: 0x0) at ../../src/corelib/arch/qatomic_x86.h:259
#1  testAndSetRelease<QMutexData*, QMutexData*> (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=0x1, _q_value=@0x8713e8: 0x0) at ../../src/corelib/thread/qgenericatomic.h:175
#2  testAndSetRelease (currentValue=<synthetic pointer>, newValue=0x0, expectedValue=0x1, this=this@entry=0x8713e8) at ../../src/corelib/thread/qbasicatomic.h:280
#3  fastTryUnlock (current=<synthetic pointer>, this=this@entry=0x8713e8) at thread/qmutex.h:85
#4  QMutex::unlock (this=this@entry=0x8713e8) at thread/qmutex.cpp:264
#5  0x00007f32cc239cc5 in unlock (this=<synthetic pointer>) at ../../src/corelib/thread/qmutex.h:138
#6  ~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized out>) at ../../src/corelib/thread/qmutex.h:132
#7  canWaitLocked (this=0x8713c0) at ../../src/corelib/thread/qthread_p.h:241
#8  postEventSourcePrepare (s=0x7f32ac0012d0, timeout=0x7f32b9238c34) at kernel/qeventdispatcher_glib.cpp:254
#9  0x00007f32c7fea4ad in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#10 0x00007f32c7fead80 in ?? () from /usr/lib64/libglib-2.0.so.0
#11 0x00007f32c7feaf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#12 0x00007f32cc239d8b in QEventDispatcherGlib::processEvents (this=0x7f32ac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f32cc1e0d53 in QEventLoop::exec (this=this@entry=0x7f32b9238df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f32cc00261a in QThread::exec (this=this@entry=0x871280) at thread/qthread.cpp:503
#15 0x00007f32cf314e18 in QQmlThreadPrivate::run (this=0x871280) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#16 0x00007f32cc00732f in QThreadPrivate::start (arg=0x871280) at thread/qthread_unix.cpp:331
#17 0x00007f32cb1160a4 in start_thread () from /lib64/libpthread.so.0
#18 0x00007f32cb914fed in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f32a7d03700 (LWP 31595)):
#0  0x00007f32c802ccf9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f32c7feaf68 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f32cc239d8b in QEventDispatcherGlib::processEvents (this=0x7f32a00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0x00007f32cc1e0d53 in QEventLoop::exec (this=this@entry=0x7f32a7d02df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x00007f32cc00261a in QThread::exec (this=this@entry=0xb8bc00) at thread/qthread.cpp:503
#5  0x00007f32cf314e18 in QQmlThreadPrivate::run (this=0xb8bc00) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#6  0x00007f32cc00732f in QThreadPrivate::start (arg=0xb8bc00) at thread/qthread_unix.cpp:331
#7  0x00007f32cb1160a4 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f32cb914fed in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f32a6577700 (LWP 31596)):
#0  0x00007f32c802ccf9 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f32c7fea4b9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f32c7fead80 in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f32c7feaf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f32cc239d8b in QEventDispatcherGlib::processEvents (this=0x7f32980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f32cc1e0d53 in QEventLoop::exec (this=this@entry=0x7f32a6576df0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f32cc00261a in QThread::exec (this=this@entry=0xca9a50) at thread/qthread.cpp:503
#7  0x00007f32cf314e18 in QQmlThreadPrivate::run (this=0xca9a50) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/qml/qml/ftw/qqmlthread.cpp:141
#8  0x00007f32cc00732f in QThreadPrivate::start (arg=0xca9a50) at thread/qthread_unix.cpp:331
#9  0x00007f32cb1160a4 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f32cb914fed in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f32a4c38700 (LWP 31628)):
#0  0x00007f32cb11a03f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f32d1ae386b in ?? () from /usr/lib64/libQt5Script.so.5
#2  0x00007f32d1ae3899 in ?? () from /usr/lib64/libQt5Script.so.5
#3  0x00007f32cb1160a4 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f32cb914fed in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f329d598700 (LWP 31629)):
#0  0x00007f32c7fea4b9 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f32c7fead80 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f32c7feaf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f32cc239d8b in QEventDispatcherGlib::processEvents (this=0x7f32140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f32cc1e0d53 in QEventLoop::exec (this=this@entry=0x7f329d597db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f32cc00261a in QThread::exec (this=this@entry=0x104d1f0) at thread/qthread.cpp:503
#6  0x00007f32cfeb0282 in QQuickPixmapReader::run (this=0x104d1f0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/util/qquickpixmapcache.cpp:760
#7  0x00007f32cc00732f in QThreadPrivate::start (arg=0x104d1f0) at thread/qthread_unix.cpp:331
#8  0x00007f32cb1160a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f32cb914fed in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3208c8f700 (LWP 31639)):
#0  0x00007f32cb90cbbd in poll () from /lib64/libc.so.6
#1  0x00007f32c7feae64 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f32c7feaf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f32cc239d8b in QEventDispatcherGlib::processEvents (this=0x7f32040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f32cc1e0d53 in QEventLoop::exec (this=this@entry=0x7f3208c8edd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f32cc00261a in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f320a2dccf7 in KCupsConnection::run() () from /usr/lib64/libkcupslib.so
#7  0x00007f32cc00732f in QThreadPrivate::start (arg=0x34aedc0) at thread/qthread_unix.cpp:331
#8  0x00007f32cb1160a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f32cb914fed in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f32d240c7c0 (LWP 31571)):
[KCrash Handler]
#6  0x00007f32cb8650a7 in raise () from /lib64/libc.so.6
#7  0x00007f32cb866458 in abort () from /lib64/libc.so.6
#8  0x00007f32cbff57ce in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1578
#9  QMessageLogger::fatal (this=this@entry=0x7ffde2fbd350, msg=msg@entry=0x7f32cca93b60 "Cannot create window: no screens available") at global/qlogging.cpp:781
#10 0x00007f32cc73aa39 in QWindowPrivate::init (this=0x3e66e40) at kernel/qwindow.cpp:215
#11 0x00007f32cff4ed5d in QQuickWindow::QQuickWindow (this=0x3137560, parent=0x0) at /usr/src/debug/qtdeclarative-opensource-src-5.5.1/src/quick/items/qquickwindow.cpp:1078
#12 0x00007f32d102f9c4 in KQuickAddons::QuickViewSharedEngine::QuickViewSharedEngine (this=0x3137560, parent=<optimized out>) at /usr/src/debug/kdeclarative-5.20.0/src/quickaddons/quickviewsharedengine.cpp:150
#13 0x00007f32d1e1c6df in PlasmaQuick::ContainmentView::ContainmentView (this=0x3137560, corona=0x8578d0, parent=<optimized out>) at /usr/src/debug/plasma-framework-5.20.0/src/plasmaquick/containmentview.cpp:184
#14 0x0000000000442731 in DesktopView::DesktopView (this=0x3137560, corona=0x8578d0, targetScreen=0x0) at /usr/src/debug/plasma-workspace-5.5.5/shell/desktopview.cpp:41
#15 0x00000000004592a5 in ShellCorona::addOutput (this=this@entry=0x8578d0, output=...) at /usr/src/debug/plasma-workspace-5.5.5/shell/shellcorona.cpp:896
#16 0x00000000004593fd in ShellCorona::outputEnabledChanged (this=0x8578d0) at /usr/src/debug/plasma-workspace-5.5.5/shell/shellcorona.cpp:795
#17 0x00007f32cc21273f in call (a=0x7ffde2fbd7a0, r=0x8578d0, this=0xdb5d60) at ../../src/corelib/kernel/qobject_impl.h:124
#18 QMetaObject::activate (sender=0x989620, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3698
#19 0x00007f32d125c0b2 in KScreen::Output::apply (this=0x989620, other=...) at /usr/src/debug/libkscreen-5.5.5/src/output.cpp:516
#20 0x00007f32d124b372 in KScreen::Config::apply (this=this@entry=0xb8d050, other=...) at /usr/src/debug/libkscreen-5.5.5/src/config.cpp:343
#21 0x00007f32d1251033 in KScreen::ConfigMonitor::Private::updateConfigs (this=this@entry=0xda73b0, newConfig=...) at /usr/src/debug/libkscreen-5.5.5/src/configmonitor.cpp:174
#22 0x00007f32d125307b in KScreen::ConfigMonitor::Private::edidReady (this=0xda73b0, watcher=<optimized out>) at /usr/src/debug/libkscreen-5.5.5/src/configmonitor.cpp:159
#23 0x00007f32cc21273f in call (a=0x7ffde2fbdbf0, r=0xda73b0, this=0x45774c0) at ../../src/corelib/kernel/qobject_impl.h:124
#24 QMetaObject::activate (sender=0x30d3dd0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffde2fbdbf0) at kernel/qobject.cpp:3698
#25 0x00007f32cc2132e7 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f32cd1e45e0 <QDBusPendingCallWatcher::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffde2fbdbf0) at kernel/qobject.cpp:3578
#26 0x00007f32ccfcacaf in QDBusPendingCallWatcher::finished (this=<optimized out>, _t1=0x30d3dd0) at .moc/moc_qdbuspendingcall.cpp:148
#27 0x00007f32ccfcc2f7 in _q_finished (this=<optimized out>) at qdbuspendingcall.cpp:488
#28 QDBusPendingCallWatcher::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/moc_qdbuspendingcall.cpp:80
#29 0x00007f32cc213ac6 in QObject::event (this=0x30d3dd0, e=<optimized out>) at kernel/qobject.cpp:1239
#30 0x00007f32cd55be7c in QApplicationPrivate::notify_helper (this=this@entry=0x78a4b0, receiver=receiver@entry=0x30d3dd0, e=e@entry=0x4453780) at kernel/qapplication.cpp:3716
#31 0x00007f32cd560cc8 in QApplication::notify (this=0x7ffde2fbe390, receiver=0x30d3dd0, e=0x4453780) at kernel/qapplication.cpp:3499
#32 0x00007f32cc1e2e95 in QCoreApplication::notifyInternal (this=0x7ffde2fbe390, receiver=0x30d3dd0, event=event@entry=0x4453780) at kernel/qcoreapplication.cpp:965
#33 0x00007f32cc1e5057 in sendEvent (event=0x4453780, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x77fac0) at kernel/qcoreapplication.cpp:1593
#35 0x00007f32cc1e5608 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#36 0x00007f32cc23a8f3 in postEventSourceDispatch (s=0x77f760) at kernel/qeventdispatcher_glib.cpp:271
#37 0x00007f32c7feac84 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f32c7feaed8 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007f32c7feaf7c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007f32cc239d6c in QEventDispatcherGlib::processEvents (this=0x7cdc00, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#41 0x00007f32cc1e0d53 in QEventLoop::exec (this=this@entry=0x7ffde2fbe220, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#42 0x00007f32cc1e88f6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#43 0x00007f32cc72c8ec in QGuiApplication::exec () at kernel/qguiapplication.cpp:1529
#44 0x00007f32cd558605 in QApplication::exec () at kernel/qapplication.cpp:2976
#45 0x0000000000436b3d in main (argc=2, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.5.5/shell/main.cpp:184

Reported using DrKonqi
Comment 1 Sebastian Kügler 2016-05-04 01:23:26 UTC
This should be fixed by https://git.reviewboard.kde.org/r/125451/ which is blocked by being able to depend on Qt 5.6.
Comment 2 Marco Martin 2016-07-21 13:13:53 UTC
multiscreen management changed a lot in 5.7 (going to change even more in 5.8) so *if* the same symptom occurs again with new systems, it's actually a related, but different problem, should be its own new bug