Bug 364769

Summary: Plasma crash after monitor suspend/resume
Product: [Plasma] plasmashell Reporter: Amichai Rothman <amichai2>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bshah, notmart, plasma-bugs-null
Priority: NOR Keywords: drkonqi, triaged
Version First Reported In: 5.5.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Amichai Rothman 2016-06-26 10:25:03 UTC
Application: plasmashell (5.5.5)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-24-generic x86_64
Distribution: Ubuntu 16.04 LTS

-- Information about the crash:
- Unusual behavior I noticed:

When leaving the computer for a while and returning, instead of the monitors being suspended, they are on and this plasma crash dialog appears, often several of them.

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 0x7fb4121078c0 (LWP 4707))]

Thread 8 (Thread 0x7fb355695700 (LWP 4727)):
#0  0x00007fb40c81fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb4095b639c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb35000e8f0, timeout=<optimized out>, context=0x7fb35000f9e0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007fb4095b639c in g_main_context_iterate (context=context@entry=0x7fb35000f9e0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3835
#3  0x00007fb4095b64ac in g_main_context_iteration (context=0x7fb35000f9e0, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007fb40d14ca9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb40d0f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb40cf108a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb3478497d7 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007fb40cf1584e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb40c0026fa in start_thread (arg=0x7fb355695700) at pthread_create.c:333
#10 0x00007fb40c82bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fb3e128c700 (LWP 4722)):
#0  0x00007fb4095faac9 in g_mutex_lock (mutex=mutex@entry=0x7fb358015340) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gthread-posix.c:1335
#1  0x00007fb4095b5f26 in g_main_context_dispatch (context=context@entry=0x7fb358015340) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3765
#2  0x00007fb4095b6400 in g_main_context_iterate (context=context@entry=0x7fb358015340, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3840
#3  0x00007fb4095b64ac in g_main_context_iteration (context=0x7fb358015340, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007fb40d14ca9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb40d0f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb40cf108a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb41013eed6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007fb40cf1584e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb40c0026fa in start_thread (arg=0x7fb3e128c700) at pthread_create.c:333
#10 0x00007fb40c82bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fb3e3bd8700 (LWP 4715)):
#0  0x00007fb40c0083a0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fb411b5dbd4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007fb411b5dc19 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007fb40c0026fa in start_thread (arg=0x7fb3e3bd8700) at pthread_create.c:333
#4  0x00007fb40c82bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fb3e95a4700 (LWP 4714)):
#0  0x00007fb40c81fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb4095b639c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb3dc003070, timeout=<optimized out>, context=0x7fb3dc000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007fb4095b639c in g_main_context_iterate (context=context@entry=0x7fb3dc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3835
#3  0x00007fb4095b64ac in g_main_context_iteration (context=0x7fb3dc000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007fb40d14ca9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb40d0f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb40cf108a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb40f7b83c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fb40cf1584e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb40c0026fa in start_thread (arg=0x7fb3e95a4700) at pthread_create.c:333
#10 0x00007fb40c82bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fb3eb36d700 (LWP 4713)):
#0  0x00007fb40c81fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb4095b639c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb3e4002e70, timeout=<optimized out>, context=0x7fb3e4000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007fb4095b639c in g_main_context_iterate (context=context@entry=0x7fb3e4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3835
#3  0x00007fb4095b64ac in g_main_context_iteration (context=0x7fb3e4000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007fb40d14ca9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb40d0f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb40cf108a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb40f7b83c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fb40cf1584e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb40c0026fa in start_thread (arg=0x7fb3eb36d700) at pthread_create.c:333
#10 0x00007fb40c82bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fb3f68fe700 (LWP 4712)):
#0  0x00007fb40c81fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb4095b639c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7fb3f0003070, timeout=<optimized out>, context=0x7fb3f0000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007fb4095b639c in g_main_context_iterate (context=context@entry=0x7fb3f0000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3835
#3  0x00007fb4095b64ac in g_main_context_iteration (context=0x7fb3f0000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007fb40d14ca9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb40d0f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fb40cf108a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007fb40f7b83c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007fb40cf1584e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007fb40c0026fa in start_thread (arg=0x7fb3f68fe700) at pthread_create.c:333
#10 0x00007fb40c82bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fb3fd2f7700 (LWP 4710)):
#0  0x00007fb40c81fe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fb4108e4c62 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fb4108e68d7 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fb3ff445629 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fb40cf1584e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fb40c0026fa in start_thread (arg=0x7fb3fd2f7700) at pthread_create.c:333
#6  0x00007fb40c82bb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fb4121078c0 (LWP 4707)):
[KCrash Handler]
#6  0x00007fb4106920d4 in  () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#7  0x00007fb410699a60 in  () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#8  0x00007fb41069a321 in Plasma::FrameSvg::mask() const () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#9  0x0000000000445f8b in PanelView::updateMask() (this=this@entry=0x3f2c810) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/panelview.cpp:915
#10 0x0000000000446145 in PanelView::themeChanged() (this=this@entry=0x3f2c810) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/panelview.cpp:1037
#11 0x0000000000446179 in PanelView::integrateScreen() (this=0x3f2c810) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/panelview.cpp:705
#12 0x0000000000446321 in QtPrivate::QFunctorSlotObject<PanelView::showEvent(QShowEvent*)::<lambda(QScreen*)>, 1, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (screen=0x5b98300, __closure=<synthetic pointer>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/panelview.cpp:731
#13 0x0000000000446321 in QtPrivate::QFunctorSlotObject<PanelView::showEvent(QShowEvent*)::<lambda(QScreen*)>, 1, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:495
#14 0x0000000000446321 in QtPrivate::QFunctorSlotObject<PanelView::showEvent(QShowEvent*)::<lambda(QScreen*)>, 1, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (arg=<optimized out>, f=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs_impl.h:552
#15 0x0000000000446321 in QtPrivate::QFunctorSlotObject<PanelView::showEvent(QShowEvent*)::<lambda(QScreen*)>, 1, QtPrivate::List<QScreen*>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject_impl.h:192
#16 0x00007fb40d124e4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007fb40d43c0bf in QWindow::screenChanged(QScreen*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007fb40d43cfd5 in QWindowPrivate::emitScreenChangedRecursion(QScreen*) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007fb40d4402c5 in QWindowPrivate::setTopLevelScreen(QScreen*, bool) () at /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#20 0x000000000045544b in ShellCorona::primaryOutputChanged() (this=0x183e280) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/shellcorona.cpp:444
#21 0x00007fb40d124e4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007fb4112e12f5 in KScreen::Config::primaryOutputChanged(QSharedPointer<KScreen::Output> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#23 0x00007fb4112cc304 in KScreen::Config::setPrimaryOutput(QSharedPointer<KScreen::Output> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#24 0x00007fb4112cdf24 in  () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#25 0x00007fb40d124e4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007fb4112ddc59 in KScreen::Output::apply(QSharedPointer<KScreen::Output> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#27 0x00007fb4112cd5d5 in KScreen::Config::apply(QSharedPointer<KScreen::Config> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#28 0x00007fb4112d2cc9 in KScreen::ConfigMonitor::Private::updateConfigs(QSharedPointer<KScreen::Config> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#29 0x00007fb4112d2dd6 in KScreen::ConfigMonitor::Private::getConfigFinished(KScreen::ConfigOperation*) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#30 0x00007fb40d124e4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#31 0x00007fb4112e135f in KScreen::ConfigOperation::finished(KScreen::ConfigOperation*) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#32 0x00007fb4112ce208 in  () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.6
#33 0x00007fb40d125ea1 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007fb40dbf905c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007fb40dbfe516 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007fb40d0f662b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#37 0x00007fb40d0f8a26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#38 0x00007fb40d14c673 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007fb4095b61a7 in g_main_context_dispatch (context=0x7fb3f80016f0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3154
#40 0x00007fb4095b61a7 in g_main_context_dispatch (context=context@entry=0x7fb3f80016f0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3769
#41 0x00007fb4095b6400 in g_main_context_iterate (context=context@entry=0x7fb3f80016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3840
#42 0x00007fb4095b64ac in g_main_context_iteration (context=0x7fb3f80016f0, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#43 0x00007fb40d14ca7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007fb40d0f3dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007fb40d0fbe8c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x0000000000432d4a in main(int, char**) (argc=4, argv=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/main.cpp:181

Reported using DrKonqi
Comment 1 Marco Martin 2016-06-30 10:02:59 UTC
crash seems in plasma-framework, can you try to reproduce with debug packages installed for it as well?
Comment 2 Andrew Crouthamel 2018-09-26 22:21:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-27 03:40:38 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!