Bug 354584

Summary: plasma crash when clicking Application Launcher
Product: [Plasma] plasmashell Reporter: Stijn Tintel <stijn+bugs>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bhush94, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.4.2   
Target Milestone: 1.0   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Stijn Tintel 2015-10-29 23:11:34 UTC
Application: plasmashell (5.4.2)
 (Compiled from sources)
Qt Version: 5.5.1
Operating System: Linux 4.2.5-gentoo x86_64
Distribution: "Gentoo Base System release 2.2"

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

Clicked Application Launcher right after login. Happens every time.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fca60c72800 (LWP 14877))]

Thread 8 (Thread 0x7fca4ccb2700 (LWP 14879)):
#0  0x00007fca5b4dd2dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fca5f46b9d2 in poll (__timeout=-1, __nfds=1, __fds=0x7fca4ccb1cc0) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x2317390, cond=cond@entry=0x23173d0, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_conn.c:459
#3  0x00007fca5f46d54f in xcb_wait_for_event (c=0x2317390) at /var/tmp/portage/x11-libs/libxcb-1.11-r1/work/libxcb-1.11/src/xcb_in.c:623
#4  0x00007fca4e7dac89 in QXcbEventReader::run (this=0x2321410) at qxcbconnection.cpp:1229
#5  0x00007fca5bb49492 in QThreadPrivate::start (arg=0x2321410) at thread/qthread_unix.cpp:331
#6  0x00007fca5acea334 in start_thread (arg=0x7fca4ccb2700) at pthread_create.c:333
#7  0x00007fca5b4e61bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fca46409700 (LWP 14892)):
#0  0x00007fca5b4dd2dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fca57592b7c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fca40003070, timeout=-1, context=0x7fca40000990) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:4103
#2  g_main_context_iterate (context=context@entry=0x7fca40000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3803
#3  0x00007fca57592c8c in g_main_context_iteration (context=0x7fca40000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#4  0x00007fca5bd4579c in QEventDispatcherGlib::processEvents (this=0x7fca400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007fca5bcf69aa in QEventLoop::exec (this=this@entry=0x7fca46408da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fca5bb44a24 in QThread::exec (this=this@entry=0x23ec9a0) at thread/qthread.cpp:503
#7  0x00007fca5e30d5f5 in QQmlThreadPrivate::run (this=0x23ec9a0) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fca5bb49492 in QThreadPrivate::start (arg=0x23ec9a0) at thread/qthread_unix.cpp:331
#9  0x00007fca5acea334 in start_thread (arg=0x7fca46409700) at pthread_create.c:333
#10 0x00007fca5b4e61bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fca3becc700 (LWP 14893)):
#0  0x00007fca5758fbe9 in g_source_iter_next (iter=iter@entry=0x7fca3becbbf0, source=source@entry=0x7fca3becbbe8) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:913
#1  0x00007fca575924af in g_main_context_check (context=context@entry=0x7fca34000990, max_priority=2147483647, fds=fds@entry=0x7fca34003270, n_fds=n_fds@entry=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3629
#2  0x00007fca57592b20 in g_main_context_iterate (context=context@entry=0x7fca34000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3805
#3  0x00007fca57592c8c in g_main_context_iteration (context=0x7fca34000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#4  0x00007fca5bd4579c in QEventDispatcherGlib::processEvents (this=0x7fca340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007fca5bcf69aa in QEventLoop::exec (this=this@entry=0x7fca3becbda0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fca5bb44a24 in QThread::exec (this=this@entry=0x2796f70) at thread/qthread.cpp:503
#7  0x00007fca5e30d5f5 in QQmlThreadPrivate::run (this=0x2796f70) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fca5bb49492 in QThreadPrivate::start (arg=0x2796f70) at thread/qthread_unix.cpp:331
#9  0x00007fca5acea334 in start_thread (arg=0x7fca3becc700) at pthread_create.c:333
#10 0x00007fca5b4e61bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fca39c36700 (LWP 14896)):
#0  g_mutex_unlock (mutex=0x7fca2c000990) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gthread-posix.c:1348
#1  0x00007fca575920b0 in g_main_context_prepare (context=context@entry=0x7fca2c000990, priority=priority@entry=0x7fca39c35c70) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3408
#2  0x00007fca57592aa8 in g_main_context_iterate (context=context@entry=0x7fca2c000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3788
#3  0x00007fca57592c8c in g_main_context_iteration (context=0x7fca2c000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#4  0x00007fca5bd4579c in QEventDispatcherGlib::processEvents (this=0x7fca2c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#5  0x00007fca5bcf69aa in QEventLoop::exec (this=this@entry=0x7fca39c35da0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007fca5bb44a24 in QThread::exec (this=this@entry=0x28ac540) at thread/qthread.cpp:503
#7  0x00007fca5e30d5f5 in QQmlThreadPrivate::run (this=0x28ac540) at qml/ftw/qqmlthread.cpp:141
#8  0x00007fca5bb49492 in QThreadPrivate::start (arg=0x28ac540) at thread/qthread_unix.cpp:331
#9  0x00007fca5acea334 in start_thread (arg=0x7fca39c36700) at pthread_create.c:333
#10 0x00007fca5b4e61bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fca33fff700 (LWP 14897)):
#0  pthread_cond_wait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fca606d9924 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7fca607c9e40 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fca606d9969 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fca5acea334 in start_thread (arg=0x7fca33fff700) at pthread_create.c:333
#4  0x00007fca5b4e61bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fca31515700 (LWP 14898)):
#0  0x00007fca5b4d932d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fca575d5e10 in read (__nbytes=16, __buf=0x7fca31514b50, __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7fca2c002380) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gwakeup.c:210
#3  0x00007fca5759262c in g_main_context_check (context=context@entry=0x7fc9a8000990, max_priority=2147483647, fds=fds@entry=0x7fc9a8003120, n_fds=n_fds@entry=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3600
#4  0x00007fca57592b20 in g_main_context_iterate (context=context@entry=0x7fc9a8000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3805
#5  0x00007fca57592c8c in g_main_context_iteration (context=0x7fc9a8000990, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#6  0x00007fca5bd4579c in QEventDispatcherGlib::processEvents (this=0x7fc9a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#7  0x00007fca5bcf69aa in QEventLoop::exec (this=this@entry=0x7fca31514d50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#8  0x00007fca5bb44a24 in QThread::exec (this=this@entry=0x2a98590) at thread/qthread.cpp:503
#9  0x00007fca5ec9fae6 in QQuickPixmapReader::run (this=0x2a98590) at util/qquickpixmapcache.cpp:760
#10 0x00007fca5bb49492 in QThreadPrivate::start (arg=0x2a98590) at thread/qthread_unix.cpp:331
#11 0x00007fca5acea334 in start_thread (arg=0x7fca31515700) at pthread_create.c:333
#12 0x00007fca5b4e61bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc993627700 (LWP 14901)):
#0  pthread_cond_timedwait () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007fca5bb49af8 in wait_relative (time=30000, this=0x4c044d0) at thread/qwaitcondition_unix.cpp:126
#2  wait (time=30000, this=0x4c044d0) at thread/qwaitcondition_unix.cpp:134
#3  QWaitCondition::wait (this=this@entry=0x48e1b80, mutex=mutex@entry=0x4b5f220, time=30000) at thread/qwaitcondition_unix.cpp:208
#4  0x00007fca5bb46894 in QThreadPoolThread::run (this=0x48e1b70) at thread/qthreadpool.cpp:127
#5  0x00007fca5bb49492 in QThreadPrivate::start (arg=0x48e1b70) at thread/qthread_unix.cpp:331
#6  0x00007fca5acea334 in start_thread (arg=0x7fc993627700) at pthread_create.c:333
#7  0x00007fca5b4e61bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fca60c72800 (LWP 14877)):
[KCrash Handler]
#6  rgba8_copy (bytes=16, src=0x5011e50, dst=0x7fc9a339fa04) at intel_tex_subimage.c:208
#7  xtile_copy (mem_copy=0x7fca44357be0 <rgba8_copy>, swizzle_bit=0, src_pitch=16, src=0x5011e4c "", dst=0x7fc9a339f000 '\001' <repeats 32 times>, y1=1, y0=1, x3=<optimized out>, x2=20, x1=20, x0=4) at intel_tex_subimage.c:263
#8  xtile_copy_faster (x0=4, x1=<optimized out>, x2=20, x3=<optimized out>, y0=y0@entry=5, y1=y1@entry=8, dst=0x7fc9a339f000 '\001' <repeats 32 times>, src=0x5011dfc "", src_pitch=16, swizzle_bit=0, mem_copy=0x7fca44357be0 <rgba8_copy>) at intel_tex_subimage.c:372
#9  0x00007fca44358ee4 in linear_to_tiled (mem_copy=0x7fca44357be0 <rgba8_copy>, tiling=<optimized out>, has_swizzling=<optimized out>, src_pitch=16, dst_pitch=16384, src=<optimized out>, dst=0x7fc9a305f000 "", yt2=221, yt1=213, xt2=20, xt1=4) at intel_tex_subimage.c:495
#10 intel_texsubimage_tiled_memcpy (ctx=ctx@entry=0x2afff28, dims=dims@entry=2, texImage=texImage@entry=0x3f44210, xoffset=<optimized out>, xoffset@entry=1, yoffset=yoffset@entry=213, zoffset=zoffset@entry=0, width=4, height=8, depth=1, format=32993, type=5121, pixels=0x5011e50, packing=0x2b1b5d8, for_glTexImage=false) at intel_tex_subimage.c:660
#11 0x00007fca44359199 in intelTexSubImage (ctx=0x2afff28, dims=2, texImage=0x3f44210, xoffset=1, yoffset=213, zoffset=0, width=4, height=8, depth=1, format=32993, type=5121, pixels=0x5011e50, packing=0x2b1b5d8) at intel_tex_subimage.c:693
#12 0x00007fca4418d0e7 in texsubimage (ctx=0x2afff28, dims=dims@entry=2, target=3553, level=0, xoffset=1, yoffset=213, zoffset=0, width=4, height=8, depth=1, format=32993, type=5121, pixels=0x5011e50) at ../../src/mesa/main/teximage.c:3521
#13 0x00007fca4419109f in _mesa_TexSubImage2D (target=<optimized out>, level=<optimized out>, xoffset=<optimized out>, yoffset=<optimized out>, width=<optimized out>, height=<optimized out>, format=32993, type=5121, pixels=0x5011e50) at ../../src/mesa/main/teximage.c:3559
#14 0x00007fca5ece58ee in glTexSubImage2D (pixels=0x5011e50, type=5121, format=<optimized out>, height=8, width=4, yoffset=213, xoffset=1, level=0, target=3553, this=0x29fde70) at /usr/include/qt5/QtGui/qopenglfunctions.h:1049
#15 QSGAtlasTexture::Atlas::uploadBgra (this=this@entry=0x3a63490, texture=texture@entry=0x4eb6460) at scenegraph/util/qsgatlastexture.cpp:325
#16 0x00007fca5ece63c3 in QSGAtlasTexture::Atlas::bind (this=<optimized out>, filtering=QSGTexture::Nearest) at scenegraph/util/qsgatlastexture.cpp:397
#17 0x00007fca5ece9178 in QSGOpaqueTextureMaterialShader::updateState (this=0x3e9b540, state=..., newEffect=<optimized out>, oldEffect=0x50e8de0) at scenegraph/util/qsgtexturematerial.cpp:99
#18 0x00007fca5eccebee in QSGBatchRenderer::Renderer::renderMergedBatch (this=0x51e63b0, batch=0x50eaa50) at scenegraph/coreapi/qsgbatchrenderer.cpp:2265
#19 0x00007fca5ecd0525 in QSGBatchRenderer::Renderer::renderBatches (this=this@entry=0x51e63b0) at scenegraph/coreapi/qsgbatchrenderer.cpp:2508
#20 0x00007fca5ecd65ee in QSGBatchRenderer::Renderer::render (this=<optimized out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2681
#21 0x00007fca5ece1f04 in QSGRenderer::renderScene (this=0x51e63b0, bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:208
#22 0x00007fca5ece274b in QSGRenderer::renderScene (this=<optimized out>, fboId=<optimized out>) at scenegraph/coreapi/qsgrenderer.cpp:168
#23 0x00007fca5ecf2ede in QSGRenderContext::renderNextFrame (this=0x269bbd0, renderer=0x51e63b0, fboId=<optimized out>) at scenegraph/qsgcontext.cpp:558
#24 0x00007fca5ed3deeb in QQuickWindowPrivate::renderSceneGraph (this=this@entry=0x4907b30, size=...) at items/qquickwindow.cpp:383
#25 0x00007fca5ed0dcbb in QSGGuiThreadRenderLoop::renderWindow (this=this@entry=0x26a75a0, window=0x4904cc0) at scenegraph/qsgrenderloop.cpp:378
#26 0x00007fca5ed0f476 in QSGGuiThreadRenderLoop::exposureChanged (this=0x26a75a0, window=0x4904cc0) at scenegraph/qsgrenderloop.cpp:422
#27 0x00007fca5c02dc25 in QWindow::event (this=this@entry=0x4904cc0, ev=ev@entry=0x7ffdff69c890) at kernel/qwindow.cpp:2054
#28 0x00007fca5ed4ab8b in QQuickWindow::event (this=0x4904cc0, e=0x7ffdff69c890) at items/qquickwindow.cpp:1413
#29 0x00007fca6081352b in PlasmaQuick::Dialog::event(QEvent*) () from /usr/lib64/libKF5PlasmaQuick.so.5
#30 0x00007fca5c75969c in QApplicationPrivate::notify_helper (this=this@entry=0x230b820, receiver=receiver@entry=0x4904cc0, e=e@entry=0x7ffdff69c890) at kernel/qapplication.cpp:3716
#31 0x00007fca5c75eb10 in QApplication::notify (this=0x7ffdff69ccf0, receiver=0x4904cc0, e=0x7ffdff69c890) at kernel/qapplication.cpp:3499
#32 0x00007fca5bcf7d8d in QCoreApplication::notifyInternal (this=0x7ffdff69ccf0, receiver=receiver@entry=0x4904cc0, event=event@entry=0x7ffdff69c890) at kernel/qcoreapplication.cpp:965
#33 0x00007fca5c026648 in sendSpontaneousEvent (event=0x7ffdff69c890, receiver=0x4904cc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:227
#34 QGuiApplicationPrivate::processExposeEvent (e=0x4c19130) at kernel/qguiapplication.cpp:2648
#35 0x00007fca5c02739d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0x4c19130) at kernel/qguiapplication.cpp:1643
#36 0x00007fca5c00c044 in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:625
#37 0x00007fca4e8074c0 in userEventSourceDispatch (source=<optimized out>) at eventdispatchers/qeventdispatcher_glib.cpp:70
#38 0x00007fca575928fd in g_main_dispatch (context=0x7fca48002450) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3122
#39 g_main_context_dispatch (context=context@entry=0x7fca48002450) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3737
#40 0x00007fca57592be0 in g_main_context_iterate (context=context@entry=0x7fca48002450, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3808
#41 0x00007fca57592c8c in g_main_context_iteration (context=0x7fca48002450, may_block=1) at /var/tmp/portage/dev-libs/glib-2.44.1/work/glib-2.44.1/glib/gmain.c:3869
#42 0x00007fca5bd45787 in QEventDispatcherGlib::processEvents (this=0x2345c70, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#43 0x00007fca5bcf69aa in QEventLoop::exec (this=this@entry=0x7ffdff69cb70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#44 0x00007fca5bcfdd8c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#45 0x0000000000431906 in main ()

Reported using DrKonqi
Comment 1 Stijn Tintel 2015-10-29 23:20:43 UTC
Found what is causing this. As I am having issues with Kscreen, I disabled the Kscreen 2 background service. That's when this started happening. It goes away after manually configuring my multi-monitor setup.
Comment 2 Stijn Tintel 2015-11-01 13:16:47 UTC
Same crash now happens with the Kscreen 2 background service enabled, after logging in and entering the kwallet password. In addition, my 2nd monitor keeps displaying the splash screen until I switch to a virtual terminal and back to X.
Comment 3 David Edmundson 2015-11-02 12:05:37 UTC

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