Bug 368358

Summary: Plasma crashes when screen turns off / locks and system is low on RAM
Product: [Plasma] plasmashell Reporter: me.dickson
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.6.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description me.dickson 2016-09-06 21:23:44 UTC
Application: plasmashell (5.6.5)

Qt Version: 5.5.1
Frameworks Version: 5.23.0
Operating System: Linux 4.4.0-36-generic x86_64
Distribution: Ubuntu 16.04.1 LTS

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

I was running a program that uses a lot of RAM. When I'm logged in and using other applications, Plasma is responsive and does not crash. However, when the screen turns off to save power, or when the screen locks, Plasma will crash. When I unlock the computer again, I have to restart the plasma shell again.

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 0x7f507950a8c0 (LWP 26448))]

Thread 8 (Thread 0x7f4fb0aae700 (LWP 26457)):
#0  0x00007f5073bf5e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f507098639c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f4fac0048c0, timeout=<optimized out>, context=0x7f4fac000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007f507098639c in g_main_context_iterate (context=context@entry=0x7f4fac000990, 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  0x00007f50709864ac in g_main_context_iteration (context=0x7f4fac000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007f5074522a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f50744c9dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f50742e68a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f4fb2f8d7d7 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007f50742eb84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f50733d86fa in start_thread (arg=0x7f4fb0aae700) at pthread_create.c:333
#10 0x00007f5073c01b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f4fc351a700 (LWP 26455)):
#0  0x00007f50709caac9 in g_mutex_lock (mutex=mutex@entry=0x7f4fbc000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gthread-posix.c:1335
#1  0x00007f5070985939 in g_main_context_prepare (context=context@entry=0x7f4fbc000990, priority=priority@entry=0x7f4fc3519b60) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3444
#2  0x00007f50709862cb in g_main_context_iterate (context=context@entry=0x7f4fbc000990, 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:3820
#3  0x00007f50709864ac in g_main_context_iteration (context=0x7f4fbc000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007f5074522a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f50744c9dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f50742e68a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5077522ed6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#8  0x00007f50742eb84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f50733d86fa in start_thread (arg=0x7f4fc351a700) at pthread_create.c:333
#10 0x00007f5073c01b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f504afbc700 (LWP 26453)):
#0  0x00007f50733de3a0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f5078f6bbd4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f5078f6bc19 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f50733d86fa in start_thread (arg=0x7f504afbc700) at pthread_create.c:333
#4  0x00007f5073c01b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f5050974700 (LWP 26452)):
#0  0x00007f50742e3dcf in QMutex::unlock() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007f5074522031 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#2  0x00007f507098592d in g_main_context_prepare (context=context@entry=0x7f5044000990, priority=priority@entry=0x7f5050973bb0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3442
#3  0x00007f50709862cb in g_main_context_iterate (context=context@entry=0x7f5044000990, 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:3820
#4  0x00007f50709864ac in g_main_context_iteration (context=0x7f5044000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#5  0x00007f5074522a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f50744c9dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f50742e68a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f5076b973c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#9  0x00007f50742eb84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f50733d86fa in start_thread (arg=0x7f5050974700) at pthread_create.c:333
#11 0x00007f5073c01b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f5052790700 (LWP 26451)):
#0  0x00007f50709caac9 in g_mutex_lock (mutex=mutex@entry=0x7f504c000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gthread-posix.c:1335
#1  0x00007f5070985939 in g_main_context_prepare (context=context@entry=0x7f504c000990, priority=priority@entry=0x7f505278fbb0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3444
#2  0x00007f50709862cb in g_main_context_iterate (context=context@entry=0x7f504c000990, 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:3820
#3  0x00007f50709864ac in g_main_context_iteration (context=0x7f504c000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007f5074522a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f50744c9dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f50742e68a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5076b973c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f50742eb84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f50733d86fa in start_thread (arg=0x7f5052790700) at pthread_create.c:333
#10 0x00007f5073c01b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f505ad67700 (LWP 26450)):
#0  0x00007f5073bf5e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f507098639c in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f5054003070, timeout=<optimized out>, context=0x7f5054000990) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:4135
#2  0x00007f507098639c in g_main_context_iterate (context=context@entry=0x7f5054000990, 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  0x00007f50709864ac in g_main_context_iteration (context=0x7f5054000990, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#4  0x00007f5074522a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f50744c9dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f50742e68a4 in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f5076b973c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f50742eb84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f50733d86fa in start_thread (arg=0x7f505ad67700) at pthread_create.c:333
#10 0x00007f5073c01b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f50647e7700 (LWP 26449)):
#0  0x00007f5073bf5e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f5077cd0c62 in  () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f5077cd28d7 in xcb_wait_for_event () at /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f5066935629 in  () at /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f50742eb84e in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f50733d86fa in start_thread (arg=0x7f50647e7700) at pthread_create.c:333
#6  0x00007f5073c01b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f507950a8c0 (LWP 26448)):
[KCrash Handler]
#6  0x00007f5077a40cb0 in Plasma::Applet::actions() const () at /usr/lib/x86_64-linux-gnu/libKF5Plasma.so.5
#7  0x000000000043e6de in  ()
#8  0x000000000043e87f in  ()
#9  0x00007f50744fae4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f50786e0659 in KScreen::Output::apply(QSharedPointer<KScreen::Output> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.7
#11 0x00007f50786cf805 in KScreen::Config::apply(QSharedPointer<KScreen::Config> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.7
#12 0x00007f50786d56f9 in KScreen::ConfigMonitor::Private::updateConfigs(QSharedPointer<KScreen::Config> const&) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.7
#13 0x00007f50786d72dd in KScreen::ConfigMonitor::Private::edidReady(QDBusPendingCallWatcher*) () at /usr/lib/x86_64-linux-gnu/libKF5Screen.so.7
#14 0x00007f50744fae4f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f5079690f6f in QDBusPendingCallWatcher::finished(QDBusPendingCallWatcher*) () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#16 0x00007f5079692645 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#17 0x00007f50744fbea1 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007f5074dbf05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007f5074dc4516 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007f50744cc62b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007f50744cea26 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007f5074522673 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#23 0x00007f50709861a7 in g_main_context_dispatch (context=0x7f505c0016f0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3154
#24 0x00007f50709861a7 in g_main_context_dispatch (context=context@entry=0x7f505c0016f0) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3769
#25 0x00007f5070986400 in g_main_context_iterate (context=context@entry=0x7f505c0016f0, 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
#26 0x00007f50709864ac in g_main_context_iteration (context=0x7f505c0016f0, may_block=1) at /build/glib2.0-7IO_Yw/glib2.0-2.48.1/./glib/gmain.c:3901
#27 0x00007f5074522a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x00007f50744c9dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007f50744d1e8c in QCoreApplication::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x000000000041bfe0 in  ()
#31 0x00007f5073b1b830 in __libc_start_main (main=0x41b5c0, argc=1, argv=0x7ffe8a557e68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe8a557e58) at ../csu/libc-start.c:291
#32 0x000000000041c149 in _start ()

Reported using DrKonqi
Comment 1 David Edmundson 2016-09-08 14:23:20 UTC

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