Bug 363359

Summary: Plasma keeps crashing randomly
Product: [Plasma] plasmashell Reporter: Slaughter <slaughterhouse>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, depetrini, jynyl, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.5.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Slaughter 2016-05-21 04:08:38 UTC
Application: plasmashell (5.5.5)

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

-- Information about the crash:
- What I was doing when the application crashed:
In this particular case, I had just finished watching a program using VLC. When I went to close the window, Plasma crashed. After it happens once, the problems happens more frequently especially with using VLC. The upgrade to 16.04 is when all of the problems I've been having with Plasma have occured (hanging screens at login forcing several reboots, crashes when transferring files to a USB stick, etc)

-- 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 0x7f045a0ba8c0 (LWP 4784))]

Thread 12 (Thread 0x7f04453dc700 (LWP 4787)):
#0  0x00007f04547cbe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f0458890c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f04588928d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f044752a629 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007f0454ec184e in QThreadPrivate::start (arg=0x1fdf8a0) at thread/qthread_unix.cpp:331
#5  0x00007f0453fae6fa in start_thread (arg=0x7f04453dc700) at pthread_create.c:333
#6  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f043eb46700 (LWP 4789)):
#0  0x00007f04547cbe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f045156131c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f045156142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f04550f8a9b in QEventDispatcherGlib::processEvents (this=0x7f04380008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f045509fdea in QEventLoop::exec (this=this@entry=0x7f043eb45ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f0454ebc8a4 in QThread::exec (this=this@entry=0x20c1640) at thread/qthread.cpp:503
#6  0x00007f04577643c5 in QQmlThreadPrivate::run (this=0x20c1640) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f0454ec184e in QThreadPrivate::start (arg=0x20c1640) at thread/qthread_unix.cpp:331
#8  0x00007f0453fae6fa in start_thread (arg=0x7f043eb46700) at pthread_create.c:333
#9  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f043405f700 (LWP 4794)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0437957aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0437957907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f0453fae6fa in start_thread (arg=0x7f043405f700) at pthread_create.c:333
#4  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f043385e700 (LWP 4795)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0437957aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0437957907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f0453fae6fa in start_thread (arg=0x7f043385e700) at pthread_create.c:333
#4  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f043305d700 (LWP 4796)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0437957aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0437957907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f0453fae6fa in start_thread (arg=0x7f043305d700) at pthread_create.c:333
#4  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f043285c700 (LWP 4797)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0437957aa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f0437957907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f0453fae6fa in start_thread (arg=0x7f043285c700) at pthread_create.c:333
#4  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f042e029700 (LWP 4798)):
#0  0x00007f04515a5a49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f04515602b0 in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f04515611d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f045156142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f04550f8a9b in QEventDispatcherGlib::processEvents (this=0x7f04280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f045509fdea in QEventLoop::exec (this=this@entry=0x7f042e028ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f0454ebc8a4 in QThread::exec (this=this@entry=0x2347700) at thread/qthread.cpp:503
#7  0x00007f04577643c5 in QQmlThreadPrivate::run (this=0x2347700) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f0454ec184e in QThreadPrivate::start (arg=0x2347700) at thread/qthread_unix.cpp:331
#9  0x00007f0453fae6fa in start_thread (arg=0x7f042e029700) at pthread_create.c:333
#10 0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f0427fff700 (LWP 4799)):
#0  0x00007f04547c79cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f04515a46c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0451560e04 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f04515612c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f045156142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f04550f8a9b in QEventDispatcherGlib::processEvents (this=0x7f04200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f045509fdea in QEventLoop::exec (this=this@entry=0x7f0427ffece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f0454ebc8a4 in QThread::exec (this=this@entry=0x2462b80) at thread/qthread.cpp:503
#8  0x00007f04577643c5 in QQmlThreadPrivate::run (this=0x2462b80) at qml/ftw/qqmlthread.cpp:141
#9  0x00007f0454ec184e in QThreadPrivate::start (arg=0x2462b80) at thread/qthread_unix.cpp:331
#10 0x00007f0453fae6fa in start_thread (arg=0x7f0427fff700) at pthread_create.c:333
#11 0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f04267bb700 (LWP 4802)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0459b09bd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f0459b09c19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f0453fae6fa in start_thread (arg=0x7f04267bb700) at pthread_create.c:333
#4  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f039eb7a700 (LWP 4803)):
#0  0x00007f04515a5a49 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0451561418 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f04550f8a9b in QEventDispatcherGlib::processEvents (this=0x7f03980008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0x00007f045509fdea in QEventLoop::exec (this=this@entry=0x7f039eb79c90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x00007f0454ebc8a4 in QThread::exec (this=this@entry=0x2c75f60) at thread/qthread.cpp:503
#5  0x00007f04580eaed6 in QQuickPixmapReader::run (this=0x2c75f60) at util/qquickpixmapcache.cpp:817
#6  0x00007f0454ec184e in QThreadPrivate::start (arg=0x2c75f60) at thread/qthread_unix.cpp:331
#7  0x00007f0453fae6fa in start_thread (arg=0x7f039eb7a700) at pthread_create.c:333
#8  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f038b7c6700 (LWP 4810)):
#0  0x00007f04547cbe8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f045156131c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f045156142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f04550f8a9b in QEventDispatcherGlib::processEvents (this=0x7f03840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f045509fdea in QEventLoop::exec (this=this@entry=0x7f038b7c5cc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f0454ebc8a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007f038dca67d7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#7  0x00007f0454ec184e in QThreadPrivate::start (arg=0x3913510) at thread/qthread_unix.cpp:331
#8  0x00007f0453fae6fa in start_thread (arg=0x7f038b7c6700) at pthread_create.c:333
#9  0x00007f04547d7b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f045a0ba8c0 (LWP 4784)):
[KCrash Handler]
#6  __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1626
#7  0x00007f04375e74ad in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#8  0x00007f04375e5d95 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#9  0x00007f043d8eac1f in Plasma::WindowThumbnail::bindGLXTexture (this=this@entry=0x144ee2250) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:447
#10 0x00007f043d8ebe44 in Plasma::WindowThumbnail::windowToTextureGLX (this=this@entry=0x144ee2250, textureNode=textureNode@entry=0x144a58440) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:282
#11 0x00007f043d8ec803 in Plasma::WindowThumbnail::windowToTexture (this=0x144ee2250, textureNode=0x144a58440) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:394
#12 0x00007f043d8ecd24 in Plasma::WindowThumbnail::updatePaintNode (this=0x144ee2250, oldNode=<optimized out>, updatePaintNodeData=<optimized out>) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:199
#13 0x00007f04581892d8 in QQuickWindowPrivate::updateDirtyNode (this=this@entry=0x2e9b080, item=item@entry=0x144ee2250) at items/qquickwindow.cpp:2984
#14 0x00007f0458189b4b in QQuickWindowPrivate::updateDirtyNodes (this=this@entry=0x2e9b080) at items/qquickwindow.cpp:2722
#15 0x00007f0458189cc0 in QQuickWindowPrivate::syncSceneGraph (this=this@entry=0x2e9b080) at items/qquickwindow.cpp:341
#16 0x00007f045815812c in QSGGuiThreadRenderLoop::renderWindow (this=this@entry=0x2228910, window=0x4219fb0) at scenegraph/qsgrenderloop.cpp:372
#17 0x00007f0458159aa6 in QSGGuiThreadRenderLoop::exposureChanged (this=0x2228910, window=0x4219fb0) at scenegraph/qsgrenderloop.cpp:422
#18 0x00007f04553ed2e5 in QWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#19 0x00007f0458193871 in QQuickWindow::event (this=this@entry=0x4219fb0, e=e@entry=0x7fffef08fb40) at items/qquickwindow.cpp:1413
#20 0x00007f0459c3a2eb in PlasmaQuick::Dialog::event (this=this@entry=0x4219fb0, event=event@entry=0x7fffef08fb40) at ../../../src/plasmaquick/dialog.cpp:1168
#21 0x00007f043d8e4c45 in ToolTipDialog::event (this=0x4219fb0, e=0x7fffef08fb40) at ../../../../src/declarativeimports/core/tooltipdialog.cpp:120
#22 0x00007f0455ba505c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007f0455baa516 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007f04550a262b in QCoreApplication::notifyInternal (this=0x7fffef08ff60, receiver=0x4219fb0, event=0x7fffef08fb40) at kernel/qcoreapplication.cpp:965
#25 0x00007f04553e54ec in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#26 0x00007f04553e625d in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#27 0x00007f04553c9f38 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#28 0x00007f044755bf10 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#29 0x00007f0451561127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007f0451561380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007f045156142c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f04550f8a7f in QEventDispatcherGlib::processEvents (this=0x201db60, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#33 0x00007f045509fdea in QEventLoop::exec (this=this@entry=0x7fffef08fe00, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#34 0x00007f04550a7e8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#35 0x0000000000432d4a in main (argc=4, argv=<optimized out>) at /build/plasma-workspace-kxRFE_/plasma-workspace-5.5.5.2/shell/main.cpp:181

Possible duplicates by query: bug 362526, bug 362509, bug 362461, bug 362168, bug 359825.

Reported using DrKonqi
Comment 1 Daniele Depetrini 2016-06-07 12:02:20 UTC
I have exactly the same crash with the same stack trace.

I'm using kubuntu 16.04 on a oracle virtualbox machine
Comment 2 Peter Hewett 2016-06-15 01:50:22 UTC
Very similar symptoms here, on a fresh install of Kubuntu 16.04.

On this occasion, plasma crashed when I clicked on the panel to restore Firefox. Other crashes happen randomly when the mouse moves over the panel, or I click on an app icon on the panel. It doesn't happen every time, just randomly a few times a day. After the crash, the whole panel disappears, then reappears and appears to behave normally.
Comment 3 Daniele Depetrini 2016-06-15 06:39:17 UTC
As per stack trace, the crash is happening during thumbnails generation.

I have disabled the feature unchecking "Show informational tips" under "Workspace behavior" in control panel and now plasma is MUCH more stable (crashed only once since that).

So the issue is clearly there.

Daniele.
Comment 4 Marco Martin 2016-06-15 11:37:17 UTC

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