https://bugs.kde.org/show_bug.cgi?id=358676

            Bug ID: 358676
           Summary: Crash in Mesa after unmounting a USB drive
           Product: plasmashell
           Version: 5.4.2
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: bugskdeor...@spawnhost.de
                CC: bhus...@gmail.com, plasma-b...@kde.org

Crash in Mesa after unmounting a USB drive:

[KCrash Handler]
#6  0x00007fd1c497c4be in gen8_update_renderbuffer_surface (brw=0x288eaa8,
rb=0x5939900, layered=false, unit=0, surf_index=0) at
../../../../../../../src/mesa/drivers/dri/i965/gen8_surface_state.c:390
#7  0x00007fd1c4967309 in brw_update_renderbuffer_surfaces (brw=0x288eaa8,
fb=0x6a9e6d0, render_target_start=0, surf_offset=0x28b3784) at
../../../../../../../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:753
#8  0x00007fd1c49673a1 in update_renderbuffer_surfaces (brw=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:775
#9  0x00007fd1c493cf69 in brw_upload_render_state (atom=0x28b3ec8,
state=<synthetic pointer>, brw=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_state_upload.c:667
#10 0x00007fd1c493cf69 in brw_upload_render_state
(pipeline=BRW_RENDER_PIPELINE, brw=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_state_upload.c:768
#11 0x00007fd1c493cf69 in brw_upload_render_state (brw=brw@entry=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_state_upload.c:790
#12 0x00007fd1c48c6252 in brw_draw_prims (indirect=<optimized out>,
max_index=<optimized out>, min_index=<optimized out>, ib=<optimized out>,
nr_prims=<optimized out>, prims=<optimized out>, arrays=<optimized out>,
ctx=0x288eaa8) at ../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:516
#13 0x00007fd1c48c6252 in brw_draw_prims (ctx=0x288eaa8, prims=<optimized out>,
nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized
out>, min_index=0, max_index=3, unused_tfb_object=0x0, stream=0, indirect=0x0)
at ../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:606
#14 0x00007fd1c470233a in vbo_draw_arrays (ctx=0x288eaa8, mode=mode@entry=6,
start=start@entry=0, count=count@entry=4, numInstances=numInstances@entry=1,
baseInstance=baseInstance@entry=0) at
../../../../src/mesa/vbo/vbo_exec_array.c:645
#15 0x00007fd1c47025a3 in vbo_exec_DrawArrays (mode=mode@entry=6,
start=start@entry=0, count=count@entry=4) at
../../../../src/mesa/vbo/vbo_exec_array.c:797
#16 0x00007fd1c4703a65 in _mesa_DrawArrays (mode=mode@entry=6,
first=first@entry=0, count=count@entry=4) at
../../../../src/mesa/vbo/vbo_exec_array.c:1854
#17 0x00007fd1c477c440 in meta_clear (ctx=ctx@entry=0x288eaa8,
buffers=buffers@entry=34, glsl=glsl@entry=true) at
../../../../src/mesa/drivers/common/meta.c:1814
#18 0x00007fd1c477c91a in _mesa_meta_glsl_Clear (ctx=ctx@entry=0x288eaa8,
buffers=buffers@entry=34) at ../../../../src/mesa/drivers/common/meta.c:1502
#19 0x00007fd1c48b3e4b in brw_clear (ctx=0x288eaa8, mask=0) at
../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:264
#20 0x00007fd1e033c37a in QSGBatchRenderer::Renderer::renderBatches()
(this=this@entry=0x5d41bc0) at scenegraph/coreapi/qsgbatchrenderer.cpp:2402
#21 0x00007fd1e0340b3a in QSGBatchRenderer::Renderer::render() (this=<optimized
out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2590
#22 0x00007fd1e034ba1c in QSGRenderer::renderScene(QSGBindable const&)
(this=0x5d41bc0, bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:206
#23 0x00007fd1e034be9b in QSGRenderer::renderScene(unsigned int)
(this=<optimized out>, fboId=<optimized out>) at
scenegraph/coreapi/qsgrenderer.cpp:168
#24 0x00007fd1e035a5be in QSGRenderContext::renderNextFrame(QSGRenderer*,
unsigned int) (this=0x223b9d0, renderer=0x5d41bc0, fboId=<optimized out>) at
scenegraph/qsgcontext.cpp:554
#25 0x00007fd1e03a420c in QQuickWindowPrivate::renderSceneGraph(QSize const&)
(this=this@entry=0x4b28d40, size=...) at items/qquickwindow.cpp:381
#26 0x00007fd1e0374bac in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*)
(this=this@entry=0x226ceb0, window=0x4b00050) at
scenegraph/qsgrenderloop.cpp:364
#27 0x00007fd1e03756d1 in QSGGuiThreadRenderLoop::event(QEvent*)
(this=0x226ceb0, e=<optimized out>) at scenegraph/qsgrenderloop.cpp:462
#28 0x00007fd1dde27b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x1fe8480, receiver=receiver@entry=0x226ceb0,
e=e@entry=0x7ffc4bfdd9a0) at kernel/qapplication.cpp:3720
#29 0x00007fd1dde2d230 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffc4bfddd60, receiver=0x226ceb0, e=0x7ffc4bfdd9a0) at
kernel/qapplication.cpp:3503
#30 0x00007fd1dd349f1b in QCoreApplication::notifyInternal(QObject*, QEvent*)
(this=0x7ffc4bfddd60, receiver=0x226ceb0, event=event@entry=0x7ffc4bfdd9a0) at
kernel/qcoreapplication.cpp:935

Reproducible: Always




Application: plasmashell (5.4.2)

Qt Version: 5.4.2
Operating System: Linux 4.2.0-25-generic x86_64
Distribution: Ubuntu 15.10

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

I've unmounted a USB drive and suddenly, Plasma crashed. Although, it didn't
crashed last time I unmounted a drive.

-- 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 0x7fd1e22c7800 (LWP 1385))]

Thread 24 (Thread 0x7fd1cd7b4700 (LWP 1388)):
#0  0x00007fd1dca778dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd1e0abebd2 in _xcb_conn_wait (__timeout=-1, __nfds=1,
__fds=0x7fd1cd7b3cc0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007fd1e0abebd2 in _xcb_conn_wait (c=c@entry=0x1ff51a0,
cond=cond@entry=0x1ff51e0, vector=vector@entry=0x0, count=count@entry=0x0) at
../../src/xcb_conn.c:459
#3  0x00007fd1e0ac074f in xcb_wait_for_event (c=0x1ff51a0) at
../../src/xcb_in.c:623
#4  0x00007fd1cfafea39 in QXcbEventReader::run() (this=0x1fff860) at
qxcbconnection.cpp:1105
#5  0x00007fd1dd16a2be in QThreadPrivate::start(void*) (arg=0x1fff860) at
thread/qthread_unix.cpp:337
#6  0x00007fd1dc2596aa in start_thread (arg=0x7fd1cd7b4700) at
pthread_create.c:333
#7  0x00007fd1dca82eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 23 (Thread 0x7fd1c6fca700 (LWP 1422)):
#0  0x00007fd1dca778dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd1d98241ec in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fd1c0003070, timeout=<optimized out>, context=0x7fd1c0000990) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:4135
#2  0x00007fd1d98241ec in g_main_context_iterate
(context=context@entry=0x7fd1c0000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3835
#3  0x00007fd1d98242fc in g_main_context_iteration (context=0x7fd1c0000990,
may_block=may_block@entry=1) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007fd1dd3a129b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fd1c00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fd1dd34775a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fd1c6fc9da0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007fd1dd1653d4 in QThread::exec() (this=this@entry=0x20c9e70) at
thread/qthread.cpp:503
#7  0x00007fd1df98df85 in QQmlThreadPrivate::run() (this=0x20c9e70) at
qml/ftw/qqmlthread.cpp:141
#8  0x00007fd1dd16a2be in QThreadPrivate::start(void*) (arg=0x20c9e70) at
thread/qthread_unix.cpp:337
#9  0x00007fd1dc2596aa in start_thread (arg=0x7fd1c6fca700) at
pthread_create.c:333
#10 0x00007fd1dca82eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 22 (Thread 0x7fd1bbbb9700 (LWP 1423)):
#0  0x00007fd1d9868869 in g_mutex_lock (mutex=mutex@entry=0x7fd1b4000990) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gthread-posix.c:1338
#1  0x00007fd1d9823789 in g_main_context_prepare
(context=context@entry=0x7fd1b4000990, priority=priority@entry=0x7fd1bbbb8c70)
at /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3444
#2  0x00007fd1d982411b in g_main_context_iterate
(context=context@entry=0x7fd1b4000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3820
#3  0x00007fd1d98242fc in g_main_context_iteration (context=0x7fd1b4000990,
may_block=may_block@entry=1) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007fd1dd3a129b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fd1b40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fd1dd34775a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fd1bbbb8da0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007fd1dd1653d4 in QThread::exec() (this=this@entry=0x23fc280) at
thread/qthread.cpp:503
#7  0x00007fd1df98df85 in QQmlThreadPrivate::run() (this=0x23fc280) at
qml/ftw/qqmlthread.cpp:141
#8  0x00007fd1dd16a2be in QThreadPrivate::start(void*) (arg=0x23fc280) at
thread/qthread_unix.cpp:337
#9  0x00007fd1dc2596aa in start_thread (arg=0x7fd1bbbb9700) at
pthread_create.c:333
#10 0x00007fd1dca82eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 21 (Thread 0x7fd1b938c700 (LWP 1427)):
#0  0x00007fd1dca778dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd1d98241ec in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fd1b0003070, timeout=<optimized out>, context=0x7fd1b0000990) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:4135
#2  0x00007fd1d98241ec in g_main_context_iterate
(context=context@entry=0x7fd1b0000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3835
#3  0x00007fd1d98242fc in g_main_context_iteration (context=0x7fd1b0000990,
may_block=may_block@entry=1) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007fd1dd3a129b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fd1b00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fd1dd34775a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fd1b938bda0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007fd1dd1653d4 in QThread::exec() (this=this@entry=0x25625c0) at
thread/qthread.cpp:503
#7  0x00007fd1df98df85 in QQmlThreadPrivate::run() (this=0x25625c0) at
qml/ftw/qqmlthread.cpp:141
#8  0x00007fd1dd16a2be in QThreadPrivate::start(void*) (arg=0x25625c0) at
thread/qthread_unix.cpp:337
#9  0x00007fd1dc2596aa in start_thread (arg=0x7fd1b938c700) at
pthread_create.c:333
#10 0x00007fd1dca82eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 20 (Thread 0x7fd1ab9c4700 (LWP 1439)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1e1d19114 in QTWTF::TCMalloc_PageHeap::scavengerThread()
(this=0x7fd1e1e01ee0 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007fd1e1d19159 in QTWTF::TCMalloc_PageHeap::runScavengerThread(void*)
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007fd1dc2596aa in start_thread (arg=0x7fd1ab9c4700) at
pthread_create.c:333
#4  0x00007fd1dca82eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 19 (Thread 0x7fd129061700 (LWP 1449)):
#0  0x00007fd1dca778dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd1d98241ec in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fd124002e60, timeout=<optimized out>, context=0x7fd124000990) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:4135
#2  0x00007fd1d98241ec in g_main_context_iterate
(context=context@entry=0x7fd124000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3835
#3  0x00007fd1d98242fc in g_main_context_iteration (context=0x7fd124000990,
may_block=may_block@entry=1) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007fd1dd3a129b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fd1240008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fd1dd34775a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fd129060d50, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007fd1dd1653d4 in QThread::exec() (this=this@entry=0x2812790) at
thread/qthread.cpp:503
#7  0x00007fd1e0309ef6 in QQuickPixmapReader::run() (this=0x2812790) at
util/qquickpixmapcache.cpp:797
#8  0x00007fd1dd16a2be in QThreadPrivate::start(void*) (arg=0x2812790) at
thread/qthread_unix.cpp:337
#9  0x00007fd1dc2596aa in start_thread (arg=0x7fd129061700) at
pthread_create.c:333
#10 0x00007fd1dca82eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 18 (Thread 0x7fd11bf06700 (LWP 1614)):
#0  0x00007fd1d9868869 in g_mutex_lock (mutex=mutex@entry=0x7fd114000990) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gthread-posix.c:1338
#1  0x00007fd1d98241d2 in g_main_context_iterate (priority=2147483647, n_fds=1,
fds=0x7fd114004cc0, timeout=<optimized out>, context=0x7fd114000990) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:4130
#2  0x00007fd1d98241d2 in g_main_context_iterate
(context=context@entry=0x7fd114000990, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3835
#3  0x00007fd1d98242fc in g_main_context_iteration (context=0x7fd114000990,
may_block=may_block@entry=1) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#4  0x00007fd1dd3a129b in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x7fd1140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007fd1dd34775a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7fd11bf05d80, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#6  0x00007fd1dd1653d4 in QThread::exec() (this=<optimized out>) at
thread/qthread.cpp:503
#7  0x00007fd11e21d8f7 in KCupsConnection::run() () at
/usr/lib/x86_64-linux-gnu/libkcupslib.so
#8  0x00007fd1dd16a2be in QThreadPrivate::start(void*) (arg=0x4766cc0) at
thread/qthread_unix.cpp:337
#9  0x00007fd1dc2596aa in start_thread (arg=0x7fd11bf06700) at
pthread_create.c:333
#10 0x00007fd1dca82eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 17 (Thread 0x7fd10be75700 (LWP 1785)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 16 (Thread 0x7fd1094ad700 (LWP 1786)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 15 (Thread 0x7fd108cac700 (LWP 1787)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 14 (Thread 0x7fd0fbfff700 (LWP 1788)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 13 (Thread 0x7fd0fb7fe700 (LWP 1789)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 12 (Thread 0x7fd0faffd700 (LWP 1790)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 11 (Thread 0x7fd0fa7fc700 (LWP 1791)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 10 (Thread 0x7fd0f9ffb700 (LWP 1792)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 9 (Thread 0x7fd0f97fa700 (LWP 1793)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 8 (Thread 0x7fd0f8ff9700 (LWP 1794)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 7 (Thread 0x7fd0e3fff700 (LWP 1795)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 6 (Thread 0x7fd0e37fe700 (LWP 1796)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 5 (Thread 0x7fd0e2ffd700 (LWP 1797)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 4 (Thread 0x7fd0e27fc700 (LWP 1798)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 3 (Thread 0x7fd0e1ffb700 (LWP 1799)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 2 (Thread 0x7fd0e17fa700 (LWP 1800)):
#0  0x00007fd1dc25eda0 in pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(time=18446744073709551615, this=0x565e640) at
thread/qwaitcondition_unix.cpp:136
#2  0x00007fd1dd16b55b in QWaitCondition::wait(QMutex*, unsigned long)
(this=<optimized out>, mutex=0x565e620, time=time@entry=18446744073709551615)
at thread/qwaitcondition_unix.cpp:208
#3  0x00007fd121ae14eb in
ThreadWeaver::Weaver::blockThreadUntilJobsAreBeingAssigned_locked(ThreadWeaver::Thread*)
(this=this@entry=0x2009500, th=<optimized out>) at ../../src/weaver.cpp:594
...snip...

Thread 1 (Thread 0x7fd1e22c7800 (LWP 1385)):
[KCrash Handler]
#6  0x00007fd1c497c4be in gen8_update_renderbuffer_surface (brw=0x288eaa8,
rb=0x5939900, layered=false, unit=0, surf_index=0) at
../../../../../../../src/mesa/drivers/dri/i965/gen8_surface_state.c:390
#7  0x00007fd1c4967309 in brw_update_renderbuffer_surfaces (brw=0x288eaa8,
fb=0x6a9e6d0, render_target_start=0, surf_offset=0x28b3784) at
../../../../../../../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:753
#8  0x00007fd1c49673a1 in update_renderbuffer_surfaces (brw=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_wm_surface_state.c:775
#9  0x00007fd1c493cf69 in brw_upload_render_state (atom=0x28b3ec8,
state=<synthetic pointer>, brw=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_state_upload.c:667
#10 0x00007fd1c493cf69 in brw_upload_render_state
(pipeline=BRW_RENDER_PIPELINE, brw=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_state_upload.c:768
#11 0x00007fd1c493cf69 in brw_upload_render_state (brw=brw@entry=0x288eaa8) at
../../../../../../../src/mesa/drivers/dri/i965/brw_state_upload.c:790
#12 0x00007fd1c48c6252 in brw_draw_prims (indirect=<optimized out>,
max_index=<optimized out>, min_index=<optimized out>, ib=<optimized out>,
nr_prims=<optimized out>, prims=<optimized out>, arrays=<optimized out>,
ctx=0x288eaa8) at ../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:516
#13 0x00007fd1c48c6252 in brw_draw_prims (ctx=0x288eaa8, prims=<optimized out>,
nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized
out>, min_index=0, max_index=3, unused_tfb_object=0x0, stream=0, indirect=0x0)
at ../../../../../../../src/mesa/drivers/dri/i965/brw_draw.c:606
#14 0x00007fd1c470233a in vbo_draw_arrays (ctx=0x288eaa8, mode=mode@entry=6,
start=start@entry=0, count=count@entry=4, numInstances=numInstances@entry=1,
baseInstance=baseInstance@entry=0) at
../../../../src/mesa/vbo/vbo_exec_array.c:645
#15 0x00007fd1c47025a3 in vbo_exec_DrawArrays (mode=mode@entry=6,
start=start@entry=0, count=count@entry=4) at
../../../../src/mesa/vbo/vbo_exec_array.c:797
#16 0x00007fd1c4703a65 in _mesa_DrawArrays (mode=mode@entry=6,
first=first@entry=0, count=count@entry=4) at
../../../../src/mesa/vbo/vbo_exec_array.c:1854
#17 0x00007fd1c477c440 in meta_clear (ctx=ctx@entry=0x288eaa8,
buffers=buffers@entry=34, glsl=glsl@entry=true) at
../../../../src/mesa/drivers/common/meta.c:1814
#18 0x00007fd1c477c91a in _mesa_meta_glsl_Clear (ctx=ctx@entry=0x288eaa8,
buffers=buffers@entry=34) at ../../../../src/mesa/drivers/common/meta.c:1502
#19 0x00007fd1c48b3e4b in brw_clear (ctx=0x288eaa8, mask=0) at
../../../../../../../src/mesa/drivers/dri/i965/brw_clear.c:264
#20 0x00007fd1e033c37a in QSGBatchRenderer::Renderer::renderBatches()
(this=this@entry=0x5d41bc0) at scenegraph/coreapi/qsgbatchrenderer.cpp:2402
#21 0x00007fd1e0340b3a in QSGBatchRenderer::Renderer::render() (this=<optimized
out>) at scenegraph/coreapi/qsgbatchrenderer.cpp:2590
#22 0x00007fd1e034ba1c in QSGRenderer::renderScene(QSGBindable const&)
(this=0x5d41bc0, bindable=...) at scenegraph/coreapi/qsgrenderer.cpp:206
#23 0x00007fd1e034be9b in QSGRenderer::renderScene(unsigned int)
(this=<optimized out>, fboId=<optimized out>) at
scenegraph/coreapi/qsgrenderer.cpp:168
#24 0x00007fd1e035a5be in QSGRenderContext::renderNextFrame(QSGRenderer*,
unsigned int) (this=0x223b9d0, renderer=0x5d41bc0, fboId=<optimized out>) at
scenegraph/qsgcontext.cpp:554
#25 0x00007fd1e03a420c in QQuickWindowPrivate::renderSceneGraph(QSize const&)
(this=this@entry=0x4b28d40, size=...) at items/qquickwindow.cpp:381
#26 0x00007fd1e0374bac in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*)
(this=this@entry=0x226ceb0, window=0x4b00050) at
scenegraph/qsgrenderloop.cpp:364
#27 0x00007fd1e03756d1 in QSGGuiThreadRenderLoop::event(QEvent*)
(this=0x226ceb0, e=<optimized out>) at scenegraph/qsgrenderloop.cpp:462
#28 0x00007fd1dde27b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=this@entry=0x1fe8480, receiver=receiver@entry=0x226ceb0,
e=e@entry=0x7ffc4bfdd9a0) at kernel/qapplication.cpp:3720
#29 0x00007fd1dde2d230 in QApplication::notify(QObject*, QEvent*)
(this=0x7ffc4bfddd60, receiver=0x226ceb0, e=0x7ffc4bfdd9a0) at
kernel/qapplication.cpp:3503
#30 0x00007fd1dd349f1b in QCoreApplication::notifyInternal(QObject*, QEvent*)
(this=0x7ffc4bfddd60, receiver=0x226ceb0, event=event@entry=0x7ffc4bfdd9a0) at
kernel/qcoreapplication.cpp:935
#31 0x00007fd1dd3a009d in QTimerInfoList::activateTimers()
(event=0x7ffc4bfdd9a0, receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:228
#32 0x00007fd1dd3a009d in QTimerInfoList::activateTimers() (this=0x20286a0) at
kernel/qtimerinfo_unix.cpp:635
#33 0x00007fd1dd3a05d9 in idleTimerSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:177
#34 0x00007fd1dd3a05d9 in idleTimerSourceDispatch(GSource*, GSourceFunc,
gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:224
#35 0x00007fd1d9823ff7 in g_main_context_dispatch (context=0x7fd1c80016f0) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3154
#36 0x00007fd1d9823ff7 in g_main_context_dispatch
(context=context@entry=0x7fd1c80016f0) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3769
#37 0x00007fd1d9824250 in g_main_context_iterate
(context=context@entry=0x7fd1c80016f0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3840
#38 0x00007fd1d98242fc in g_main_context_iteration (context=0x7fd1c80016f0,
may_block=may_block@entry=1) at
/build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmain.c:3901
#39 0x00007fd1dd3a127f in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x201d9b0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#40 0x00007fd1dd34775a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffc4bfddbe0, flags=..., flags@entry=...) at
kernel/qeventloop.cpp:204
#41 0x00007fd1dd34f2cc in QCoreApplication::exec() () at
kernel/qcoreapplication.cpp:1188
#42 0x00000000004322c3 in main ()

Possible duplicates by query: bug 358318, bug 354604.

An https://bugs.kde.org/ berichten

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to