Bug 362758

Summary: plasmashell random crashes
Product: [Frameworks and Libraries] libplasma Reporter: OliPro007
Component: componentsAssignee: Marco Martin <notmart>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, notmart, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description OliPro007 2016-05-06 17:35:16 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:
The crashes are quite random. They often happen when I switch between windows in the task manager, but they also happen when using alt-tab or sometimes without doing anything other than just passing the cursor over it.
-Additionnal informations
I also tried to clear the cache found in $HOME/.cache and rebuild with kbuildsycoca5 as proposed on Bug 344343, however it did not solve the problem. 
I think it is worth noting that this is a Virtualbox guest (Virtualbox 5.0.20, with guest additions 5.0.16, Windows 10 host).

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 0x7ff2fc08b8c0 (LWP 1711))]

Thread 10 (Thread 0x7ff2e73d1700 (LWP 1717)):
#0  0x00007ff2f6795e8d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff2fa85ac62 in _xcb_conn_wait (__timeout=-1, __nfds=1, __fds=0x7ff2e73d0c00) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007ff2fa85ac62 in _xcb_conn_wait (c=c@entry=0x26191c0, cond=cond@entry=0x2619200, vector=vector@entry=0x0, count=count@entry=0x0) at ../../src/xcb_conn.c:459
#3  0x00007ff2fa85c8d7 in xcb_wait_for_event (c=0x26191c0) at ../../src/xcb_in.c:693
#4  0x00007ff2e951f629 in QXcbEventReader::run() (this=0x2627710) at qxcbconnection.cpp:1253
#5  0x00007ff2f6e8b84e in QThreadPrivate::start(void*) (arg=0x2627710) at thread/qthread_unix.cpp:331
#6  0x00007ff2f5f786fa in start_thread (arg=0x7ff2e73d1700) at pthread_create.c:333
#7  0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7ff2e4950700 (LWP 1734)):
#0  0x00007ff2f356fa49 in g_mutex_lock (mutex=mutex@entry=0x7ff2d8000990) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gthread-posix.c:1338
#1  0x00007ff2f352abce in g_main_context_check (context=context@entry=0x7ff2d8000990, max_priority=2147483647, fds=fds@entry=0x7ff2d8003070, n_fds=n_fds@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3621
#2  0x00007ff2f352b2c0 in g_main_context_iterate (context=context@entry=0x7ff2d8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3837
#3  0x00007ff2f352b42c in g_main_context_iteration (context=0x7ff2d8000990, may_block=may_block@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3901
#4  0x00007ff2f70c2a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff2d80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ff2f7069dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff2e494fce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff2f6e868a4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007ff2f972e3c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007ff2f6e8b84e in QThreadPrivate::start(void*) (arg=0x27108c0) at thread/qthread_unix.cpp:331
#9  0x00007ff2f5f786fa in start_thread (arg=0x7ff2e4950700) at pthread_create.c:333
#10 0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7ff2d562c700 (LWP 1742)):
#0  0x00007ff2f5f7e3a0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff2dd8a0aa3 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007ff2dd8a0907 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ff2f5f786fa in start_thread (arg=0x7ff2d562c700) at pthread_create.c:333
#4  0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7ff2d4e2b700 (LWP 1743)):
#0  0x00007ff2f5f7e3a0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff2dd8a0aa3 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007ff2dd8a0907 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ff2f5f786fa in start_thread (arg=0x7ff2d4e2b700) at pthread_create.c:333
#4  0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7ff2d0830700 (LWP 1751)):
#0  0x00007ffe4afcfa4d in  ()
#1  0x00007ffe4afcfcfd in clock_gettime ()
#2  0x00007ff2f67affb6 in __GI___clock_gettime (clock_id=1, tp=tp@entry=0x7ff2d082fa50) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007ff2f6f3bc16 in qt_gettime() (ts=0x7ff2d082fa50, clock=<optimized out>) at tools/qelapsedtimer_unix.cpp:105
#4  0x00007ff2f6f3bc16 in qt_gettime() (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:156
#5  0x00007ff2f6f3bc16 in qt_gettime() () at tools/qelapsedtimer_unix.cpp:165
#6  0x00007ff2f70c0529 in QTimerInfoList::updateCurrentTime() (this=this@entry=0x7ff2cc002cd0) at kernel/qtimerinfo_unix.cpp:84
#7  0x00007ff2f70c0a95 in QTimerInfoList::timerWait(timespec&) (this=0x7ff2cc002cd0, tm=...) at kernel/qtimerinfo_unix.cpp:381
#8  0x00007ff2f70c1e7e in timerSourcePrepare(GSource*, gint*) (timeout=0x7ff2d082fb24, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:127
#9  0x00007ff2f70c1e7e in timerSourcePrepare(GSource*, gint*) (source=<optimized out>, timeout=timeout@entry=0x7ff2d082fb24) at kernel/qeventdispatcher_glib.cpp:160
#10 0x00007ff2f352a8ad in g_main_context_prepare (context=context@entry=0x7ff2cc000990, priority=priority@entry=0x7ff2d082fbb0) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3442
#11 0x00007ff2f352b24b in g_main_context_iterate (context=context@entry=0x7ff2cc000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3820
#12 0x00007ff2f352b42c in g_main_context_iteration (context=0x7ff2cc000990, may_block=may_block@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3901
#13 0x00007ff2f70c2a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff2cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#14 0x00007ff2f7069dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff2d082fce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#15 0x00007ff2f6e868a4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#16 0x00007ff2f972e3c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#17 0x00007ff2f6e8b84e in QThreadPrivate::start(void*) (arg=0x29802e0) at thread/qthread_unix.cpp:331
#18 0x00007ff2f5f786fa in start_thread (arg=0x7ff2d0830700) at pthread_create.c:333
#19 0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7ff2caa28700 (LWP 1752)):
#0  0x00007ff2f356fa49 in g_mutex_lock (mutex=mutex@entry=0x7ff2c4000990) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gthread-posix.c:1338
#1  0x00007ff2f352a8b9 in g_main_context_prepare (context=context@entry=0x7ff2c4000990, priority=priority@entry=0x7ff2caa27bb0) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3444
#2  0x00007ff2f352b24b in g_main_context_iterate (context=context@entry=0x7ff2c4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3820
#3  0x00007ff2f352b42c in g_main_context_iteration (context=0x7ff2c4000990, may_block=may_block@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3901
#4  0x00007ff2f70c2a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff2c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007ff2f7069dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff2caa27ce0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007ff2f6e868a4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#7  0x00007ff2f972e3c5 in  () at /usr/lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007ff2f6e8b84e in QThreadPrivate::start(void*) (arg=0x2a633c0) at thread/qthread_unix.cpp:331
#9  0x00007ff2f5f786fa in start_thread (arg=0x7ff2caa28700) at pthread_create.c:333
#10 0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ff2c90bf700 (LWP 1753)):
#0  0x00007ff2f5f7e3a0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff2fbad3bd4 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007ff2fbad3c19 in  () at /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007ff2f5f786fa in start_thread (arg=0x7ff2c90bf700) at pthread_create.c:333
#4  0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ff241c3e700 (LWP 1801)):
#0  0x00007ff2f352b210 in g_main_context_iterate (context=context@entry=0x7ff23c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3847
#1  0x00007ff2f352b42c in g_main_context_iteration (context=0x7ff23c000990, may_block=may_block@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3901
#2  0x00007ff2f70c2a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff23c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#3  0x00007ff2f7069dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff241c3dc90, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#4  0x00007ff2f6e868a4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#5  0x00007ff2fa0b4ed6 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#6  0x00007ff2f6e8b84e in QThreadPrivate::start(void*) (arg=0x2ee68a0) at thread/qthread_unix.cpp:331
#7  0x00007ff2f5f786fa in start_thread (arg=0x7ff241c3e700) at pthread_create.c:333
#8  0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ff22f5de700 (LWP 2003)):
#0  0x00007ff2f67919cd in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff2f356e6c0 in g_wakeup_acknowledge (__nbytes=16, __buf=0x7ff22f5ddac0, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  0x00007ff2f356e6c0 in g_wakeup_acknowledge (wakeup=0x7ff23c002570) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gwakeup.c:210
#3  0x00007ff2f352ae04 in g_main_context_check (context=context@entry=0x7ff228000990, max_priority=2147483647, fds=fds@entry=0x7ff2280048c0, n_fds=n_fds@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3632
#4  0x00007ff2f352b2c0 in g_main_context_iterate (context=context@entry=0x7ff228000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3837
#5  0x00007ff2f352b42c in g_main_context_iteration (context=0x7ff228000990, may_block=may_block@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3901
#6  0x00007ff2f70c2a9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7ff2280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#7  0x00007ff2f7069dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ff22f5ddcc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007ff2f6e868a4 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:503
#9  0x00007ff231abe7d7 in KCupsConnection::run() () at /usr/lib/x86_64-linux-gnu/libkcupslib.so
#10 0x00007ff2f6e8b84e in QThreadPrivate::start(void*) (arg=0x3b49480) at thread/qthread_unix.cpp:331
#11 0x00007ff2f5f786fa in start_thread (arg=0x7ff22f5de700) at pthread_create.c:333
#12 0x00007ff2f67a1b5d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff2fc08b8c0 (LWP 1711)):
[KCrash Handler]
#6  0x00007ff2f67fa6f6 in __memmove_ssse3_back () at ../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1574
#7  0x00007ff2dd5304ad in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#8  0x00007ff2dd52ed95 in  () at /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#9  0x00007ff2df5e4c1f in Plasma::WindowThumbnail::bindGLXTexture() (this=this@entry=0x51f12e0) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:447
#10 0x00007ff2df5e5e44 in Plasma::WindowThumbnail::windowToTextureGLX(Plasma::WindowTextureNode*) (this=this@entry=0x51f12e0, textureNode=textureNode@entry=0x47ef5b0) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:282
#11 0x00007ff2df5e6803 in Plasma::WindowThumbnail::windowToTexture(Plasma::WindowTextureNode*) (this=0x51f12e0, textureNode=0x47ef5b0) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:394
#12 0x00007ff2df5e6d24 in Plasma::WindowThumbnail::updatePaintNode(QSGNode*, QQuickItem::UpdatePaintNodeData*) (this=0x51f12e0, oldNode=<optimized out>, updatePaintNodeData=<optimized out>) at ../../../../src/declarativeimports/core/windowthumbnail.cpp:199
#13 0x00007ff2fa1532d8 in QQuickWindowPrivate::updateDirtyNode(QQuickItem*) () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#14 0x00007ff2fa153b4b in QQuickWindowPrivate::updateDirtyNodes() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#15 0x00007ff2fa153cc0 in QQuickWindowPrivate::syncSceneGraph() () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#16 0x00007ff2fa12212c in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#17 0x00007ff2fa1232a1 in  () at /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5
#18 0x00007ff2f7b6f05c in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x260c6a0, receiver=receiver@entry=0x28578f0, e=e@entry=0x7ffe4afc7430) at kernel/qapplication.cpp:3716
#19 0x00007ff2f7b74516 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe4afc77d0, receiver=0x28578f0, e=0x7ffe4afc7430) at kernel/qapplication.cpp:3499
#20 0x00007ff2f706c62b in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe4afc77d0, receiver=0x28578f0, event=event@entry=0x7ffe4afc7430) at kernel/qcoreapplication.cpp:965
#21 0x00007ff2f70c189d in QTimerInfoList::activateTimers() (event=0x7ffe4afc7430, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#22 0x00007ff2f70c189d in QTimerInfoList::activateTimers() (this=0x26569b0) at kernel/qtimerinfo_unix.cpp:637
#23 0x00007ff2f70c1da1 in timerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#24 0x00007ff2f352b127 in g_main_context_dispatch (context=0x7ff2e00016f0) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3154
#25 0x00007ff2f352b127 in g_main_context_dispatch (context=context@entry=0x7ff2e00016f0) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3769
#26 0x00007ff2f352b380 in g_main_context_iterate (context=context@entry=0x7ff2e00016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3840
#27 0x00007ff2f352b42c in g_main_context_iteration (context=0x7ff2e00016f0, may_block=may_block@entry=1) at /build/glib2.0-t9oPgV/glib2.0-2.48.0/./glib/gmain.c:3901
#28 0x00007ff2f70c2a7f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x264b830, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#29 0x00007ff2f7069dea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe4afc7670, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#30 0x00007ff2f7071e8c in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1229
#31 0x00007ff2f73a5c3c in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1542
#32 0x00007ff2f7b6b495 in QApplication::exec() () at kernel/qapplication.cpp:2976
#33 0x0000000000432d4a in main(int, char**) (argc=2, 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-05-12 12:11:34 UTC

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