Launchpad has imported 6 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=77402.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.
On 2014-04-13T15:48:44+00:00 Alexander E. Patrakov wrote:
Created attachment 97312
valgrind log
This is a clone of https://bugs.kde.org/show_bug.cgi?id=328496
KWin sometimes gets into a mode when it always crashes on start if
desktop effects are enabled. This happens on Haswell hardware.
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200
v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412]
(rev 06)
The crash looks as follows:
Application: KWin (kwin), signal: Segmentation fault Using host
libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1
(Thread 0x7f525dcc3800 (LWP 22941))] Thread 6 (Thread 0x7f523c0b4700
(LWP 22992)): #0 0x7f5257ef67de in pthread_cond_timedwait () from
/lib64/libpthread.so.0 #1 0x7f5258188624 in
QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/qt4/libQtCore.so.4 #2 0x7f525817bda5 in ?? () from
/usr/lib64/qt4/libQtCore.so.4 #3 0x7f525818816f in ?? () from
/usr/lib64/qt4/libQtCore.so.4 #4 0x7f5257ef2201 in start_thread ()
from /lib64/libpthread.so.0 #5 0x7f525d50158d in clone () from
/lib64/libc.so.6 Thread 5 (Thread 0x7f523ae18700 (LWP 23018)): #0
0x7f5257ef67de in pthread_cond_timedwait () from
/lib64/libpthread.so.0 #1 0x7f5258188624 in
QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/qt4/libQtCore.so.4 #2 0x7f525817bda5 in ?? () from
/usr/lib64/qt4/libQtCore.so.4 #3 0x7f525818816f in ?? () from
/usr/lib64/qt4/libQtCore.so.4 #4 0x7f5257ef2201 in start_thread ()
from /lib64/libpthread.so.0 #5 0x7f525d50158d in clone () from
/lib64/libc.so.6 Thread 4 (Thread 0x7f523a617700 (LWP 23019)): #0
0x7f525d4fa403 in select () from /lib64/libc.so.6 #1
0x7f5258264b21 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #2
0x7f525818816f in ?? () from /usr/lib64/qt4/libQtCore.so.4 #3
0x7f5257ef2201 in start_thread () from /lib64/libpthread.so.0 #4
0x7f525d50158d in clone () from /lib64/libc.so.6 Thread 3 (Thread
0x7f5239c87700 (LWP 23024)): #0 0x7f5257ef640c in pthread_cond_wait
() from /lib64/libpthread.so.0 #1 0x7f525c6fb86b in ?? () from
/usr/lib64/qt4/libQtScript.so.4 #2 0x7f525c6fb8a9 in ?? () from
/usr/lib64/qt4/libQtScript.so.4 #3 0x7f5257ef2201 in start_thread ()
from /lib64/libpthread.so.0 #4 0x7f525d50158d in clone () from
/lib64/libc.so.6 Thread 2 (Thread 0x7f5238eff700 (LWP 23025)): #0
0x7f5257ef67de in pthread_cond_timedwait () from
/lib64/libpthread.so.0 #1 0x7f5258188624 in
QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib64/qt4/libQtCore.so.4 #2 0x7f525817bda5 in ?? () from
/usr/lib64/qt4/libQtCore.so.4 #3 0x7f525818816f in ?? () from
/usr/lib64/qt4/libQtCore.so.4 #4 0x7f5257ef2201 in start_thread ()
from /lib64/libpthread.so.0 #5 0x7f525d50158d in clone () from
/lib64/libc.so.6 Thread 1 (Thread 0x7f525dcc3800 (LWP 22941)): [KCrash
Handler] #5 0x7f51abbbe758 in get_stencil_miptree (irb=0x27cf660) at
brw_misc_state.c:257 #6 brw_workaround_depthstencil_alignment
(brw=brw@entry=0x7f5238126038, clear_mask=clear_mask@entry=0) at
brw_misc_state.c:273 #7 0x7f51abb7b72d in brw_try_draw_prims
(indirect=0x0, max_index=23, min_index=0, ib=0x0, nr_prims=1,
prims=0x7fff99c1b300, arrays=0x28a4730, ctx=0x7f5238126038) at
brw_draw.c:415 #8 brw_draw_prims (ctx=0x7f5238126038,
prims=0x7fff99c1b300, nr_prims=1, ib=0x0, index_bounds_valid=, min_index=0, max_index=23, unused_tfb_object=0x0, indirect=0x0) at
brw_draw.c:569 #9 0x7f51ab9da23d in vbo_draw_arrays
(ctx=0x7f5238126038, mode=4, start=0, count=24, numInstances=1,
baseInstance=0) at vbo/vbo_exec_array.c:661 #10 0x7f5258fb337e in
KWin::GLVertexBuffer::draw (this=this@entry=0x2e6b470, region=...,
primitiveMode=primitiveMode@entry=4, first=first@entry=0, count=24,
hardwareClipping=hardwareClipping@entry=false) at
/usr/portage/packages/portage/kde-
base/kwin-4.11.8/work/kwin-4.11.8/kwin/libkwineffects/kwinglutils.cpp:1949
#11 0x7f5258fb6359 in KWin::GLVertexBuffer::render (this=0x2e6b470,
region=..., primitiveMode=4, hardwareClipping=) at
/usr/portage/packages/portage/kde-
base/kwin-4.11.8/work/kwin-4.11.8/kwin/libkwineffects/kwinglutils.cpp:1902
#12 0x7f5258fb63bd in KWin::GLVertexBuffer::render (this=0x2e6b470,
primitiveMode=4) at /usr/portage/packages/portage/kde-
base/kwin-4.11.8/work/kwin-4.11.8/kwin/libkwineffects/kwinglutils.cpp:1896
#13 0x7f525d893115 in KWin::SceneOpenGL::paintBackground
(this=this@entry=0x2e70060, region=...) at /usr/portage/packages/portage
/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/scene_openg