#728056 libgl1-mesa-dri: Crashes sometimes after exiting fullscreen mode

Package:
libgl1-mesa-dri
Source:
mesa
Description:
free implementation of the OpenGL API -- DRI modules
Submitter:
Jimmy Axenhus
Date:
2013-10-27 22:39:07 UTC
Severity:
normal
#728056#5
Date:
2013-10-27 22:36:03 UTC
From:
To:
Dear Maintainer,

Sometimes when exiting fullscreen mode (after playing Xonotic 0.7.0) KWin will
crash. As the code crashes in the mesa library I'm filing the bug to that
package.

This is the stack trace as generated by the KDE crash handler.


Application: Kwin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f69b5aeb780 (LWP 5469))]

Thread 2 (Thread 0x7f698990f700 (LWP 5477)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f69b1be8a4b in QTWTF::TCMalloc_PageHeap::scavengerThread
(this=0x7f69b1ee6f00 <QTWTF::pageheap_memory>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f69b1be8a89 in QTWTF::TCMalloc_PageHeap::runScavengerThread
(context=<optimized out>) at
../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f69a9cbee0e in start_thread (arg=0x7f698990f700) at
pthread_create.c:311
#4  0x00007f69b53219ed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f69b5aeb780 (LWP 5469)):
[KCrash Handler]
#6  brw_update_renderbuffer_surface (brw=0xf15c30, rb=0xe92060, unit=0) at
brw_wm_surface_state.c:1220
#7  0x00007f698bac90e0 in brw_update_renderbuffer_surfaces (brw=0xf15c30) at
brw_wm_surface_state.c:1316
#8  0x00007f698baa3c42 in brw_upload_state (brw=brw@entry=0xf15c30) at
brw_state_upload.c:500
#9  0x00007f698ba65793 in brw_try_draw_prims (max_index=<optimized out>,
min_index=<optimized out>, ib=<optimized out>, nr_prims=<optimized out>,
prim=<optimized out>, arrays=<optimized out>, ctx=0xf15c30) at brw_draw.c:500
#10 brw_draw_prims (ctx=0xf15c30, prim=<optimized out>, nr_prims=<optimized
out>, ib=<optimized out>, index_bounds_valid=<optimized out>, min_index=0,
max_index=35, tfb_vertcount=0x0) at brw_draw.c:587
#11 0x00007f698b5b8f54 in vbo_draw_arrays (ctx=0xf15c30, mode=4, start=0,
count=36, numInstances=1, baseInstance=0) at
../../../../../src/mesa/vbo/vbo_exec_array.c:659
#12 0x00007f69b16304a3 in KWin::GLVertexBufferPrivate::corePainting
(this=0xef25f0, region=..., primitiveMode=4, hardwareClipping=<optimized out>)
at ../../../kwin/libkwineffects/kwinglutils.cpp:1254
#13 0x00007f69b1630705 in KWin::GLVertexBuffer::render
(this=this@entry=0xec6ef0, region=..., primitiveMode=primitiveMode@entry=4,
hardwareClipping=hardwareClipping@entry=false) at
../../../kwin/libkwineffects/kwinglutils.cpp:1363
#14 0x00007f69b163079d in KWin::GLVertexBuffer::render
(this=this@entry=0xec6ef0, primitiveMode=primitiveMode@entry=4) at
../../../kwin/libkwineffects/kwinglutils.cpp:1355
#15 0x00007f69b56a27aa in KWin::SceneOpenGL2::doPaintBackground
(this=<optimized out>, vertices=...) at ../../kwin/scene_opengl.cpp:529
#16 0x00007f69b56a3fb5 in KWin::SceneOpenGL::paintBackground
(this=this@entry=0xe4a2e0, region=...) at ../../kwin/scene_opengl.cpp:364
#17 0x00007f69b569898e in KWin::Scene::paintSimpleScreen
(this=this@entry=0xe4a2e0, orig_mask=orig_mask@entry=8, region=...) at
../../kwin/scene.cpp:331
#18 0x00007f69b5697605 in KWin::Scene::finalPaintScreen (this=0xe4a2e0,
mask=mask@entry=8, region=..., data=...) at ../../kwin/scene.cpp:186
#19 0x00007f69b56b7cd5 in KWin::EffectsHandlerImpl::paintScreen
(this=0x1161a70, mask=mask@entry=8, region=..., data=...) at
../../kwin/effects.cpp:254
#20 0x00007f69b3ad97af in KWin::Effect::paintScreen (this=this@entry=0x1363140,
mask=mask@entry=8, region=..., data=...) at
../../../kwin/libkwineffects/kwineffects.cpp:489
#21 0x00007f69b56b7c87 in KWin::EffectsHandlerImpl::paintScreen
(this=0x1161a70, mask=8, region=..., data=...) at ../../kwin/effects.cpp:251
#22 0x00007f69b5698b5e in KWin::Scene::paintScreen (this=this@entry=0xe4a2e0,
mask=mask@entry=0x7fff6b38e640, region=region@entry=0x7fff6b38e6e0) at
../../kwin/scene.cpp:140
#23 0x00007f69b56a6107 in KWin::SceneOpenGL::paint (this=0xe4a2e0, damage=...,
toplevels=...) at ../../kwin/scene_opengl.cpp:308
#24 0x00007f69b5692483 in KWin::Compositor::performCompositing (this=0xe15af0)
at ../../kwin/composite.cpp:610
#25 0x00007f69b0920691 in QObject::event (this=0xe15af0, e=<optimized out>) at
kernel/qobject.cpp:1156
#26 0x00007f69afca875c in QApplicationPrivate::notify_helper
(this=this@entry=0xc8cd40, receiver=receiver@entry=0xe15af0,
e=e@entry=0x7fff6b38ead0) at kernel/qapplication.cpp:4567
#27 0x00007f69afcaedd0 in QApplication::notify (this=this@entry=0x7fff6b38efa0,
receiver=receiver@entry=0xe15af0, e=e@entry=0x7fff6b38ead0) at
kernel/qapplication.cpp:4353
#28 0x00007f69b4e0ccfa in KApplication::notify (this=0x7fff6b38efa0,
receiver=0xe15af0, event=0x7fff6b38ead0) at
../../kdeui/kernel/kapplication.cpp:311
#29 0x00007f69b090833d in QCoreApplication::notifyInternal
(this=0x7fff6b38efa0, receiver=0xe15af0, event=0x7fff6b38ead0) at
kernel/qcoreapplication.cpp:949
#30 0x00007f69b0937f83 in sendEvent (event=<optimized out>,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#31 QTimerInfoList::activateTimers (this=0xc8d7a8) at
kernel/qeventdispatcher_unix.cpp:621
#32 0x00007f69b0938000 in QEventDispatcherUNIX::activateTimers
(this=this@entry=0xc2dad0) at kernel/qeventdispatcher_unix.cpp:878
#33 0x00007f69b0938970 in QEventDispatcherUNIX::processEvents
(this=this@entry=0xc2dad0, flags=...) at kernel/qeventdispatcher_unix.cpp:940
#34 0x00007f69afd471b6 in QEventDispatcherX11::processEvents (this=0xc2dad0,
flags=...) at kernel/qeventdispatcher_x11.cpp:152
#35 0x00007f69b0906f9f in QEventLoop::processEvents
(this=this@entry=0x7fff6b38ee10, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f69b0907295 in QEventLoop::exec (this=this@entry=0x7fff6b38ee10,
flags=...) at kernel/qeventloop.cpp:204
#37 0x00007f69b090c8db in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1221
#38 0x00007f69afca6f1c in QApplication::exec () at
kernel/qapplication.cpp:3828
#39 0x00007f69b564b7ef in kdemain (argc=1, argv=0x7fff6b38f0e8) at
../../kwin/main.cpp:537
#40 0x00007f69b525a995 in __libc_start_main (main=0x4006d0 <main(int,
char**)>, argc=1, ubp_av=0x7fff6b38f0e8, init=<optimized out>, fini=<optimized
out>, rtld_fini=<optimized out>, stack_end=0x7fff6b38f0d8) at libc-start.c:260
#41 0x00000000004006fe in _start ()