Bug 362509

Summary: Plasna crashes on clicking on tasks panel
Product: [Plasma] plasmashell Reporter: Stafox <stafox>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, jameschambers123, jynyl, kdebugs, kgupta8592, notmart, OliPro007, plasma-bugs, rocky1937
Priority: NOR Keywords: drkonqi
Version: 5.5.5   
Target Milestone: 1.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
Better trace with more debug symbols installed

Description Stafox 2016-04-30 17:31:45 UTC
Application: plasmashell (5.5.5)

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

-- Information about the crash:
- What I was doing when the application crashed:
Minimaze or maximaze app window by clicking on tasks panel
Sometimes plasma crashes by herself without any interaction

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 0x7f16a4f2a8c0 (LWP 6933))]

Thread 16 (Thread 0x7f169011a700 (LWP 6945)):
#0  0x00007f169f642e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f16a3707c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f16a37098d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f1692268629 in QXcbEventReader::run (this=0x21d66a0) at qxcbconnection.cpp:1253
#4  0x00007f169fd3884e in QThreadPrivate::start (arg=0x21d66a0) at thread/qthread_unix.cpp:331
#5  0x00007f169ee256fa in start_thread (arg=0x7f169011a700) at pthread_create.c:333
#6  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7f168d8b7700 (LWP 6946)):
#0  0x00007f169f642e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f169c3d831c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f169c3d842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f169ff6fa9b in QEventDispatcherGlib::processEvents (this=0x7f16800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f169ff16dea in QEventLoop::exec (this=this@entry=0x7f168d8b6ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f169fd338a4 in QThread::exec (this=this@entry=0x22bd330) at thread/qthread.cpp:503
#6  0x00007f16a25db3c5 in QQmlThreadPrivate::run (this=0x22bd330) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f169fd3884e in QThreadPrivate::start (arg=0x22bd330) at thread/qthread_unix.cpp:331
#8  0x00007f169ee256fa in start_thread (arg=0x7f168d8b7700) at pthread_create.c:333
#9  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 14 (Thread 0x7f1685809700 (LWP 6947)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f1685809700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7f1685008700 (LWP 6948)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f1685008700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7f1684807700 (LWP 6949)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f1684807700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 11 (Thread 0x7f167d62c700 (LWP 6950)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f167d62c700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 10 (Thread 0x7f167ce2b700 (LWP 6951)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f167ce2b700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f167c62a700 (LWP 6952)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f167c62a700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f167be29700 (LWP 6953)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f167be29700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f167b628700 (LWP 6954)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1686d7caa3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f1686d7c907 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f169ee256fa in start_thread (arg=0x7f167b628700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f1676ccf700 (LWP 6955)):
#0  0x00007ffcda7d4ab0 in clock_gettime ()
#1  0x00007f169f65cfb6 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7f1676ccea50) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f169fde8c16 in qt_clock_gettime (ts=0x7f1676ccea50, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#3  do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:165
#5  0x00007f169ff6d529 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7f1670002cd0) at kernel/qtimerinfo_unix.cpp:84
#6  0x00007f169ff6da95 in QTimerInfoList::timerWait (this=0x7f1670002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#7  0x00007f169ff6ee7e in timerSourcePrepareHelper (timeout=0x7f1676cceb24, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#8  timerSourcePrepare (source=<optimized out>, timeout=0x7f1676cceb24) at kernel/qeventdispatcher_glib.cpp:160
#9  0x00007f169c3d78ad in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f169c3d824b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f169c3d842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f169ff6fa9b in QEventDispatcherGlib::processEvents (this=0x7f16700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f169ff16dea in QEventLoop::exec (this=this@entry=0x7f1676ccece0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f169fd338a4 in QThread::exec (this=this@entry=0x2570b00) at thread/qthread.cpp:503
#15 0x00007f16a25db3c5 in QQmlThreadPrivate::run (this=0x2570b00) at qml/ftw/qqmlthread.cpp:141
#16 0x00007f169fd3884e in QThreadPrivate::start (arg=0x2570b00) at thread/qthread_unix.cpp:331
#17 0x00007f169ee256fa in start_thread (arg=0x7f1676ccf700) at pthread_create.c:333
#18 0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f1674e0d700 (LWP 6956)):
#0  0x00007f169f642e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f169c3d831c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f169c3d842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f169ff6fa9b in QEventDispatcherGlib::processEvents (this=0x7f16680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f169ff16dea in QEventLoop::exec (this=this@entry=0x7f1674e0cce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f169fd338a4 in QThread::exec (this=this@entry=0x26656c0) at thread/qthread.cpp:503
#6  0x00007f16a25db3c5 in QQmlThreadPrivate::run (this=0x26656c0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f169fd3884e in QThreadPrivate::start (arg=0x26656c0) at thread/qthread_unix.cpp:331
#8  0x00007f169ee256fa in start_thread (arg=0x7f1674e0d700) at pthread_create.c:333
#9  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f166f3d8700 (LWP 6957)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f16a4980bd4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f16a4980c19 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f169ee256fa in start_thread (arg=0x7f166f3d8700) at pthread_create.c:333
#4  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f15e7fff700 (LWP 6959)):
#0  0x00007f169f642e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f169c3d831c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f169c3d842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f169ff6fa9b in QEventDispatcherGlib::processEvents (this=0x7f15e00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f169ff16dea in QEventLoop::exec (this=this@entry=0x7f15e7ffec90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f169fd338a4 in QThread::exec (this=this@entry=0x2a78880) at thread/qthread.cpp:503
#6  0x00007f16a2f61ed6 in QQuickPixmapReader::run (this=0x2a78880) at util/qquickpixmapcache.cpp:817
#7  0x00007f169fd3884e in QThreadPrivate::start (arg=0x2a78880) at thread/qthread_unix.cpp:331
#8  0x00007f169ee256fa in start_thread (arg=0x7f15e7fff700) at pthread_create.c:333
#9  0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f15d31b0700 (LWP 6974)):
#0  0x00007f169f63e9cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f169c41b6c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f169c3d7e04 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f169c3d82c0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f169c3d842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f169ff6fa9b in QEventDispatcherGlib::processEvents (this=0x7f15cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f169ff16dea in QEventLoop::exec (this=this@entry=0x7f15d31afcc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f169fd338a4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#8  0x00007f15d56907d7 in KCupsConnection::run() () from /usr/lib/x86_64-linux-gnu/libkcupslib.so
#9  0x00007f169fd3884e in QThreadPrivate::start (arg=0x4a6d670) at thread/qthread_unix.cpp:331
#10 0x00007f169ee256fa in start_thread (arg=0x7f15d31b0700) at pthread_create.c:333
#11 0x00007f169f64eb5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f16a4f2a8c0 (LWP 6933)):
[KCrash Handler]
#6  __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1574
#7  0x00007f1686a0c4ad in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#8  0x00007f1686a0ad95 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#9  0x00007f168c5b3c1f in Plasma::WindowThumbnail::bindGLXTexture (this=this@entry=0x44f44c0) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:447
#10 0x00007f168c5b4e44 in Plasma::WindowThumbnail::windowToTextureGLX (this=this@entry=0x44f44c0, textureNode=textureNode@entry=0x4f01e00) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:282
#11 0x00007f168c5b5803 in Plasma::WindowThumbnail::windowToTexture (this=0x44f44c0, textureNode=0x4f01e00) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:394
#12 0x00007f168c5b5d24 in Plasma::WindowThumbnail::updatePaintNode (this=0x44f44c0, oldNode=<optimized out>, updatePaintNodeData=<optimized out>) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:199
#13 0x00007f16a30002d8 in QQuickWindowPrivate::updateDirtyNode (this=this@entry=0x42a09c0, item=item@entry=0x44f44c0) at items/qquickwindow.cpp:2984
#14 0x00007f16a3000b4b in QQuickWindowPrivate::updateDirtyNodes (this=this@entry=0x42a09c0) at items/qquickwindow.cpp:2722
#15 0x00007f16a3000cc0 in QQuickWindowPrivate::syncSceneGraph (this=this@entry=0x42a09c0) at items/qquickwindow.cpp:341
#16 0x00007f16a2fcf12c in QSGGuiThreadRenderLoop::renderWindow (this=this@entry=0x243fcd0, window=0x42a0220) at scenegraph/qsgrenderloop.cpp:372
#17 0x00007f16a2fd02a1 in QSGGuiThreadRenderLoop::event (this=0x243fcd0, e=<optimized out>) at scenegraph/qsgrenderloop.cpp:474
#18 0x00007f16a0a1c05c in QApplicationPrivate::notify_helper (this=this@entry=0x21bb6a0, receiver=receiver@entry=0x243fcd0, e=e@entry=0x7ffcda627100) at kernel/qapplication.cpp:3716
#19 0x00007f16a0a21516 in QApplication::notify (this=0x7ffcda6274a0, receiver=0x243fcd0, e=0x7ffcda627100) at kernel/qapplication.cpp:3499
#20 0x00007f169ff1962b in QCoreApplication::notifyInternal (this=0x7ffcda6274a0, receiver=0x243fcd0, event=event@entry=0x7ffcda627100) at kernel/qcoreapplication.cpp:965
#21 0x00007f169ff6e89d in QCoreApplication::sendEvent (event=0x7ffcda627100, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#22 QTimerInfoList::activateTimers (this=0x2208930) at kernel/qtimerinfo_unix.cpp:637
#23 0x00007f169ff6eda1 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#24 0x00007f169c3d8127 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f169c3d8380 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f169c3d842c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f169ff6fa7f in QEventDispatcherGlib::processEvents (this=0x2202940, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#28 0x00007f169ff16dea in QEventLoop::exec (this=this@entry=0x7ffcda627340, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#29 0x00007f169ff1ee8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#30 0x00007f16a0252c3c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1542
#31 0x00007f16a0a18495 in QApplication::exec () at kernel/qapplication.cpp:2976
#32 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 362461, bug 362168, bug 359825.

Reported using DrKonqi
Comment 1 Marco Martin 2016-05-04 10:56:27 UTC
*** Bug 362526 has been marked as a duplicate of this bug. ***
Comment 2 Marco Martin 2016-05-12 12:01:45 UTC
*** Bug 362851 has been marked as a duplicate of this bug. ***
Comment 3 Marco Martin 2016-05-12 12:11:34 UTC
*** Bug 362758 has been marked as a duplicate of this bug. ***
Comment 4 Dariusz Krzempek 2016-05-21 15:19:24 UTC
Created attachment 99117 [details]
New crash information added by DrKonqi

plasmashell (5.5.5) using Qt 5.5.1

- What I was doing when the application crashed:

One more trace for investigation. It could be helpful.

-- Backtrace (Reduced):
#6  __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1574
[...]
#9  0x00007fc017de4c1f in Plasma::WindowThumbnail::bindGLXTexture (this=this@entry=0x40f7280) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:447
#10 0x00007fc017de5e44 in Plasma::WindowThumbnail::windowToTextureGLX (this=this@entry=0x40f7280, textureNode=textureNode@entry=0x3a1d010) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:282
#11 0x00007fc017de6803 in Plasma::WindowThumbnail::windowToTexture (this=0x40f7280, textureNode=0x3a1d010) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:394
#12 0x00007fc017de6d24 in Plasma::WindowThumbnail::updatePaintNode (this=0x40f7280, oldNode=<optimized out>, updatePaintNodeData=<optimized out>) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:199
Comment 5 Kshitij Gupta 2016-05-22 07:39:16 UTC
Created attachment 99128 [details]
Better trace with more debug symbols installed

Installed more debug symbols and generated crash report.
Maybe useful
Comment 6 Peter Hewett 2016-06-15 01:52:17 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 times, it crashes 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 seems to behave normally.
Comment 7 Marco Martin 2016-06-15 14:05:16 UTC

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