Bug 328496 - OpenGL Composite Type crashes Kwin
Summary: OpenGL Composite Type crashes Kwin
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 4.11.4
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: drkonqi
: 344282 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-06 18:10 UTC by felix.huber
Modified: 2015-02-17 17:05 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Output of glxinfo (16.63 KB, text/plain)
2013-12-07 11:43 UTC, felix.huber
Details
New crash information added by DrKonqi (8.40 KB, text/plain)
2013-12-30 22:50 UTC, Ondra Vana
Details
glxinfo on haswell (16.52 KB, text/plain)
2014-04-13 14:28 UTC, Alexander Patrakov
Details
valgrind log (458.30 KB, text/plain)
2014-04-13 15:36 UTC, Alexander Patrakov
Details
qdbus report (5.25 KB, text/plain)
2014-04-14 03:55 UTC, Alexander Patrakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description felix.huber 2013-12-06 18:10:49 UTC
Application: kwin (4.11.4)
KDE Platform Version: 4.11.4
Qt Version: 4.8.5
Operating System: Linux 3.12.3-1.gf37dca6-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

-- Information about the crash:
Switching desktop effects to use OpenGL instead of XRender makes Kwin crash

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fa198f0abe8 in get_stencil_miptree (irb=0x1401800) at brw_misc_state.c:257
#7  brw_workaround_depthstencil_alignment (brw=brw@entry=0x7fa19853c038, clear_mask=clear_mask@entry=0) at brw_misc_state.c:273
#8  0x00007fa198ecaaad in brw_try_draw_prims (indirect=0x0, max_index=4294967295, min_index=4294967295, ib=0x7fffd9c95720, nr_prims=1, prims=0x7fffd9c95740, arrays=0x165c130, ctx=0x7fa19853c038) at brw_draw.c:415
#9  brw_draw_prims (ctx=0x7fa19853c038, prims=0x7fffd9c95740, nr_prims=1, ib=0x7fffd9c95720, index_bounds_valid=<optimized out>, min_index=4294967295, max_index=4294967295, unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:563
#10 0x00007fa198d35ce3 in vbo_handle_primitive_restart (ctx=<optimized out>, prim=<optimized out>, nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized out>, min_index=<optimized out>, max_index=4294967295) at vbo/vbo_exec_array.c:585
#11 0x00007fa198d36f80 in vbo_validated_drawrangeelements (ctx=ctx@entry=0x7fa19853c038, mode=mode@entry=4, index_bounds_valid=index_bounds_valid@entry=0 '\000', start=start@entry=4294967295, end=end@entry=4294967295, count=count@entry=24, type=type@entry=5123, indices=indices@entry=0x0, basevertex=basevertex@entry=0, numInstances=numInstances@entry=1, baseInstance=baseInstance@entry=0) at vbo/vbo_exec_array.c:1006
#12 0x00007fa198d3745f in vbo_exec_DrawElementsBaseVertex (mode=4, count=24, type=5123, indices=0x0, basevertex=0) at vbo/vbo_exec_array.c:1179
#13 0x00007fa1b3d421db in KWin::GLVertexBuffer::draw (this=this@entry=0x14a2bb0, region=..., primitiveMode=primitiveMode@entry=7, first=0, count=24, hardwareClipping=<optimized out>) at /usr/src/debug/kde-workspace-4.11.4/kwin/libkwineffects/kwinglutils.cpp:1936
#14 0x00007fa1b90306a9 in KWin::SceneOpenGL2Window::performPaint (this=this@entry=0x1c51580, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene_opengl.cpp:1537
#15 0x00007fa1b90340b2 in KWin::SceneOpenGL2::performPaintWindow (this=<optimized out>, w=<optimized out>, mask=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene_opengl.cpp:747
#16 0x00007fa1b9034269 in KWin::SceneOpenGL2::finalDrawWindow (this=0x15d9590, w=w@entry=0x1c55160, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene_opengl.cpp:733
#17 0x00007fa1b903e8a9 in KWin::EffectsHandlerImpl::drawWindow (this=0x1c564e0, w=w@entry=0x1c55160, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/effects.cpp:454
#18 0x00007fa1b901cc71 in KWin::Scene::finalPaintWindow (this=<optimized out>, w=w@entry=0x1c55160, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene.cpp:546
#19 0x00007fa1b903e7ba in KWin::EffectsHandlerImpl::paintWindow (this=0x1c564e0, w=0x1c55160, mask=mask@entry=9, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/effects.cpp:417
#20 0x00007fa1b90205ce in KWin::Scene::paintWindow (this=0x15d9590, w=0x1c51580, mask=9, region=..., quads=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene.cpp:378
#21 0x00007fa1b901eb66 in KWin::Scene::paintSimpleScreen (this=this@entry=0x15d9590, orig_mask=orig_mask@entry=8, region=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene.cpp:355
#22 0x00007fa1b901cb55 in KWin::Scene::finalPaintScreen (this=0x15d9590, mask=mask@entry=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene.cpp:184
#23 0x00007fa1b903e6dd in KWin::EffectsHandlerImpl::paintScreen (this=0x1c564e0, mask=8, region=..., data=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/effects.cpp:374
#24 0x00007fa1b901ef48 in KWin::Scene::paintScreen (this=this@entry=0x15d9590, mask=mask@entry=0x7fffd9c9606c, region=region@entry=0x7fffd9c96120) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene.cpp:141
#25 0x00007fa1b9031737 in KWin::SceneOpenGL::paint (this=0x15d9590, damage=..., toplevels=...) at /usr/src/debug/kde-workspace-4.11.4/kwin/scene_opengl.cpp:360
#26 0x00007fa1b9016ed3 in KWin::Compositor::performCompositing (this=this@entry=0x13813a0) at /usr/src/debug/kde-workspace-4.11.4/kwin/composite.cpp:618
#27 0x00007fa1b90181d9 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x13813a0) at /usr/src/debug/kde-workspace-4.11.4/kwin/composite.cpp:273
#28 0x00007fa1b8fa09a5 in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/kde-workspace-4.11.4/build/kwin/moc_composite.cpp:193
#29 0x00007fa1b302cd68 in QMetaObject::activate (sender=0x1499060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3556
#30 0x00007fa1b2f0a458 in QFutureWatcherBase::event (this=<optimized out>, event=0x7fa18c0008c0) at concurrent/qfuturewatcher.cpp:344
#31 0x00007fa1b21988ac in QApplicationPrivate::notify_helper (this=this@entry=0x12311f0, receiver=receiver@entry=0x1499060, e=e@entry=0x7fa18c0008c0) at kernel/qapplication.cpp:4562
#32 0x00007fa1b219ee70 in QApplication::notify (this=this@entry=0x7fffd9c96b90, receiver=receiver@entry=0x1499060, e=e@entry=0x7fa18c0008c0) at kernel/qapplication.cpp:4348
#33 0x00007fa1b78d818a in KApplication::notify (this=0x7fffd9c96b90, receiver=0x1499060, event=0x7fa18c0008c0) at /usr/src/debug/kdelibs-4.11.4/kdeui/kernel/kapplication.cpp:311
#34 0x00007fa1b30190ad in QCoreApplication::notifyInternal (this=0x7fffd9c96b90, receiver=receiver@entry=0x1499060, event=event@entry=0x7fa18c0008c0) at kernel/qcoreapplication.cpp:949
#35 0x00007fa1b301c0ff in sendEvent (event=0x7fa18c0008c0, receiver=0x1499060) at kernel/qcoreapplication.h:231
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x11c01f0) at kernel/qcoreapplication.cpp:1573
#37 0x00007fa1b301c5a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#38 0x00007fa1b22360ac in sendPostedEvents () at ../../src/corelib/kernel/qcoreapplication.h:236
#39 QEventDispatcherX11::processEvents (this=0x11c5a70, flags=...) at kernel/qeventdispatcher_x11.cpp:75
#40 0x00007fa1b3017d0f in QEventLoop::processEvents (this=this@entry=0x7fffd9c96a00, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fa1b3018005 in QEventLoop::exec (this=this@entry=0x7fffd9c96a00, flags=...) at kernel/qeventloop.cpp:204
#42 0x00007fa1b301d13b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#43 0x00007fa1b219706c in QApplication::exec () at kernel/qapplication.cpp:3823
#44 0x00007fa1b8fd1266 in kdemain (argc=3, argv=0x7fffd9c96cd8) at /usr/src/debug/kde-workspace-4.11.4/kwin/main.cpp:597
#45 0x00007fa1b8bc4be5 in __libc_start_main () from /lib64/libc.so.6
#46 0x0000000000400761 in _start () at ../sysdeps/x86_64/start.S:122

Reported using DrKonqi
Comment 1 Thomas Lübking 2013-12-06 18:24:21 UTC
Driver bug, see eg. (amarok) bug #323635

Please try OpenGL 1.3 and attach the ouptut of

    qdbus org.kde.kwin /KWin supportInfo

(if OpenGL 1.3 works)

or

   glxinfo

(if not)

so we can see what GPU/driver this is, thanks.
Comment 2 felix.huber 2013-12-07 11:43:47 UTC
Created attachment 83971 [details]
Output of glxinfo
Comment 3 Thomas Lübking 2013-12-07 11:58:20 UTC
> OpenGL vendor string: Intel Open Source Technology Center
> OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile 
> OpenGL core profile version string: 3.3 (Core Profile) Mesa 10.1.0-devel
> OpenGL core profile shading language version string: 3.30
> OpenGL core profile context flags: (none)
> OpenGL core profile profile mask: core profile


Does it happen with GL 2 and GL 3 or only one of them?
Does it happen with "kwin_gles --replace&"?
I assume it does not happen with a stable MESA version?
Comment 4 felix.huber 2013-12-08 14:32:50 UTC
(In reply to comment #3)
> Does it happen with GL 2 and GL 3 or only one of them?
> Does it happen with "kwin_gles --replace&"?
> I assume it does not happen with a stable MESA version?
It happens with GL 1.2, 2.0 and 3.1
It did happen with MESA 9.2 also, but I didn't dig into it, because I could live with xrender.
I only upgraded to 10.1 because the xf86-video-intel V 2.99.xxx crashes when kscreen detects an external monitor and the vertical resolution is smaller than my laptop screen and by switching to V 3.00.xxx kscreen works flawless. Now, with 10.1 and xrender on, some (but not all) window titles have bitmap errors, so I tried to reenable GL.
I noticed one more thing: kwin either crashes always or works all the time when I do a reboot. Right now it works, so I can't try kwin_gles at this time.
Comment 5 Thomas Lübking 2013-12-08 16:01:55 UTC
(In reply to comment #4)

> It happens with GL 1.2, 2.0 and 3.1
Ok???
Can you then also provide a crashtrace for GL 1.2?

> Now, with 10.1 and xrender on, some (but not all) window titles have bitmap
What deco / graphicssystem? Try changing the graphicssystem ("kcmshell4 kwincompositing", 3rd tab)

> I noticed one more thing: kwin either crashes always or works all the time
> when I do a reboot.
Try entering runlevel 3, unloading intel modules, reloading them (modprobe) and back to runlevel 5 instead of a reboot (which is likely faster, though ;-)
Comment 6 Ondra Vana 2013-12-30 22:50:12 UTC
Created attachment 84357 [details]
New crash information added by DrKonqi

kwin (4.11.3) on KDE Platform 4.11.3 using Qt 4.8.5

- What I was doing when the application crashed:
Enabled compositing using OpenGL 3.1
Crashes using all OpenGL versions, yet I believe it worked a couple days ago, before updating, these could be related:
xf86-video-intel to 2.99.906
xorg-x11-server to 7.6_1.14.99.905 (from .904)
xorg-x11-driver-video to 1.0.10

- Custom settings of the application:
Enabled Effects:
Blur
Dashboard
FadeHighlight Window
Kscreen
Login
Logout
Magic Lamp
Maximize
Minimize animation
Screen edge
Screenshot
Sliding popups
Taskbar Thumbnails
Translucency
Wobbly windows
Startup feedback
Dialog parent
Desktop Cube (+Animation)
Desktop grid
Flip Switch
Present windows

-- Backtrace (Reduced):
#5  0x00007f4f28357598 in get_stencil_miptree (irb=0x26542a0) at brw_misc_state.c:257
#6  brw_workaround_depthstencil_alignment (brw=brw@entry=0x7f4ea2f5e040, clear_mask=clear_mask@entry=0) at brw_misc_state.c:273
#7  0x00007f4f283174de in brw_try_draw_prims (max_index=4294967295, min_index=4294967295, ib=0x7fffc7e043f0, nr_prims=1, prims=0x7fffc7e04410, arrays=0x23d4ae8, ctx=0x7f4ea2f5e040) at brw_draw.c:361
#8  brw_draw_prims (ctx=0x7f4ea2f5e040, prims=0x7fffc7e04410, nr_prims=1, ib=0x7fffc7e043f0, index_bounds_valid=<optimized out>, min_index=4294967295, max_index=4294967295, unused_tfb_object=0x0) at brw_draw.c:508
#9  0x00007f4f281835ea in vbo_handle_primitive_restart (ctx=<optimized out>, prim=<optimized out>, nr_prims=<optimized out>, ib=<optimized out>, index_bounds_valid=<optimized out>, min_index=<optimized out>, max_index=4294967295) at vbo/vbo_exec_array.c:585
Comment 7 Thomas Lübking 2013-12-31 00:56:36 UTC
Since it's also with the beta drivers, the crash will likely be related to the updates, yes.

For the moment, do not try to use GL 3.1 - the chip/driver combo (check glxinfo) does (likely) not support it (but OGL3.0 - at best) and trying to create a core profile for 3.1 gets the driver into some invalid state[1] - this might persist across processes.

-> Set compositing to eg. xrender or disable it, reboot, try to re-enable compositing, but select OpenGL 2, *not* 3.1 at any time.

[1] see bug #327310 - might be a "dupe"
Comment 8 Alexander Patrakov 2014-04-13 13:54:20 UTC
I understand that the bug is RESOLVED UPSTREAM, however there is no upstream report yet, and there is some additional information for those who still hit it on Haswell hardware.

Additional information: The bug exists if kwin uses the system Qt engine, and selecting the Raster engine together with OpenGL 3.1 is a viable workaround.

So - is it really a bug in the i965 Mesa driver? Or maybe just a clash of rendering contexts due to Qt? In other words - which upstream should the bug be reported to?
Comment 9 Thomas Lübking 2014-04-13 14:04:35 UTC
Though QGLPaintEngine2 can hit the same crash, the "native" graphicssystem does not use a GL context - you do mean it does only happen with this, but not with the raster graphicssystem?

And since changing the graphicssystem implies a restart, are you sure the Qt graphicssystem is relevant and not just coincidental?

What's the ouput of "glxinfo" (please attach)?
(I don't think the chip/driver combo already supports OGL 3.1 yet? Haswell is not i965)
Comment 10 Alexander Patrakov 2014-04-13 14:26:50 UTC
I did restart kwin during the test: kwin --replace

As for the relevance of the graphicssystem, I have to retract my statement. Now it works with 3.1 and Native (tested by logout and relogin), but changes in this area do have a chance to crash kwin on the next login or on restart, or to cure the crash.
Comment 11 Alexander Patrakov 2014-04-13 14:28:14 UTC
Created attachment 86069 [details]
glxinfo on haswell

As you requested, I am adding glxinfo output to the bug.
Comment 12 Thomas Lübking 2014-04-13 14:36:43 UTC
Thanks, Haswell, not i965 (though iirc. same driver lib)
However, GL 3.1 is not yet supported by the driver so this will likely be bug #327310 (esp. if only GL 3.1 is affected) - we lack confirmation since the OP suggests differently but has not provided a crashtrace for esp. GL 1.2.
Comment 13 Alexander Patrakov 2014-04-13 14:43:44 UTC
The bug does manifest itself with GL 2.0, too. I have not tried 1.2, as it doesn't offer color correction, but will try now. Just let me rebuild kwin once again with -g3 -ggdb debug symbols :)
Comment 14 Alexander Patrakov 2014-04-13 14:55:55 UTC
Here is a backtrace for you, using OpenGL 1.2 and native graphicssystem

Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fb8fa4fb800 (LWP 32316))]

Thread 6 (Thread 0x7fb8d88ec700 (LWP 32370)):
#0  0x00007fb8f472e7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fb8f49c0624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fb8f49b3da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fb8f49c016f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fb8f472a201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fb8f9d3958d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fb8d359b700 (LWP 32404)):
#0  0x00007fb8f472e7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fb8f49c0624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fb8f49b3da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fb8f49c016f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fb8f472a201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fb8f9d3958d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fb8d2d9a700 (LWP 32405)):
#0  0x00007fb8f9d32403 in select () from /lib64/libc.so.6
#1  0x00007fb8f4a9cb21 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fb8f49c016f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fb8f472a201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb8f9d3958d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fb8d240a700 (LWP 32411)):
#0  0x00007fb8f472e40c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fb8f8f3386b in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fb8f8f338a9 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fb8f472a201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fb8f9d3958d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fb8d16f9700 (LWP 32412)):
#0  0x00007fb8f472e7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fb8f49c0624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fb8f49b3da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fb8f49c016f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fb8f472a201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fb8f9d3958d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fb8fa4fb800 (LWP 32316)):
[KCrash Handler]
#5  0x00007fb8d0a01758 in get_stencil_miptree (irb=0xc24d20) at brw_misc_state.c:257
#6  brw_workaround_depthstencil_alignment (brw=brw@entry=0x7fb8d8011038, clear_mask=clear_mask@entry=0) at brw_misc_state.c:273
#7  0x00007fb8d09be72d in brw_try_draw_prims (indirect=0x0, max_index=23, min_index=0, ib=0x0, nr_prims=1, prims=0x7fff03dea710, arrays=0xcef000, ctx=0x7fb8d8011038) at brw_draw.c:415
#8  brw_draw_prims (ctx=0x7fb8d8011038, prims=0x7fff03dea710, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=23, unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:569
#9  0x00007fb8d081d23d in vbo_draw_arrays (ctx=0x7fb8d8011038, mode=4, start=0, count=24, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:661
#10 0x00007fb8f57eb37e in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () from /usr/lib64/libkwinglutils.so.1
#11 0x00007fb8f57ee359 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () from /usr/lib64/libkwinglutils.so.1
#12 0x00007fb8f57ee3bd in KWin::GLVertexBuffer::render(unsigned int) () from /usr/lib64/libkwinglutils.so.1
#13 0x00007fb8fa0cb115 in KWin::SceneOpenGL::paintBackground(QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#14 0x00007fb8fa0bb37e in KWin::Scene::paintSimpleScreen(int, QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#15 0x00007fb8fa0b90a5 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#16 0x00007fb8fa0db72d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#17 0x00007fb8fa0bb563 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*) () from /usr/lib64/libkdeinit4_kwin.so
#18 0x00007fb8fa0ce34e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/libkdeinit4_kwin.so
#19 0x00007fb8fa0ce6b7 in KWin::SceneOpenGL1::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/libkdeinit4_kwin.so
#20 0x00007fb8fa0b3223 in KWin::Compositor::performCompositing() () from /usr/lib64/libkdeinit4_kwin.so
#21 0x00007fb8fa0b44e9 in KWin::Compositor::slotCompositingOptionsInitialized() () from /usr/lib64/libkdeinit4_kwin.so
#22 0x00007fb8fa03d865 in KWin::Compositor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.122] () from /usr/lib64/libkdeinit4_kwin.so
#23 0x00007fb8f4ad32c8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fb8f49b0fc8 in QFutureWatcherBase::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fb8f3c4347c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fb8f3c49a40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fb8f897ea6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007fb8f4abf75d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007fb8f4ac27af in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fb8f3ce0109 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fb8f4abe3bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fb8f4abe6b5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fb8f4ac37cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fb8fa06d2c6 in kdemain () from /usr/lib64/libkdeinit4_kwin.so
#35 0x00007fb8f9c72a65 in __libc_start_main () from /lib64/libc.so.6
#36 0x000000000040077e in _start ()
Comment 15 Alexander Patrakov 2014-04-13 14:59:12 UTC
Switched to 1.2 and Raster, logout, login => no crash, transparency works.
Comment 16 Alexander Patrakov 2014-04-13 15:01:02 UTC
2.0 and Raster, logout, login => no crash, transparency works
Comment 17 Alexander Patrakov 2014-04-13 15:03:28 UTC
2.0 and Native => two crash handler windows.

First:

Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9470776800 (LWP 12592))]

Thread 6 (Thread 0x7f944eb67700 (LWP 12611)):
#0  0x00007f946a9a97de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f946ac3b624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f946ac2eda5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f946ac3b16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f946a9a5201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f946ffb458d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f944d8cb700 (LWP 12631)):
#0  0x00007f946a9a97de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f946ac3b624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f946ac2eda5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f946ac3b16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f946a9a5201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f946ffb458d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f944d0ca700 (LWP 12632)):
#0  0x00007f946ffad403 in select () from /lib64/libc.so.6
#1  0x00007f946ad17b21 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f946ac3b16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f946a9a5201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f946ffb458d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f943ffff700 (LWP 12635)):
#0  0x00007f946a9a940c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f946f1ae86b in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007f946f1ae8a9 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007f946a9a5201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f946ffb458d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f93bf7fe700 (LWP 12637)):
#0  0x00007f946a9a97de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f946ac3b624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f946ac2eda5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f946ac3b16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f946a9a5201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f946ffb458d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f9470776800 (LWP 12592)):
[KCrash Handler]
#5  0x00007f93bebbc758 in get_stencil_miptree (irb=0x22671e0) at brw_misc_state.c:257
#6  brw_workaround_depthstencil_alignment (brw=brw@entry=0x7f944c151038, clear_mask=clear_mask@entry=0) at brw_misc_state.c:273
#7  0x00007f93beb7972d in brw_try_draw_prims (indirect=0x0, max_index=5, min_index=0, ib=0x0, nr_prims=1, prims=0x7fff955e0350, arrays=0x22c0800, ctx=0x7f944c151038) at brw_draw.c:415
#8  brw_draw_prims (ctx=0x7f944c151038, prims=0x7fff955e0350, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=5, unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:569
#9  0x00007f93be9d823d in vbo_draw_arrays (ctx=0x7f944c151038, mode=4, start=0, count=6, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:661
#10 0x00007f946ba6637e in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () from /usr/lib64/libkwinglutils.so.1
#11 0x00007f946ba69359 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () from /usr/lib64/libkwinglutils.so.1
#12 0x00007f946ba693bd in KWin::GLVertexBuffer::render(unsigned int) () from /usr/lib64/libkwinglutils.so.1
#13 0x00007f9470342a7a in KWin::SceneOpenGL2::doPaintBackground(QVector<float> const&) () from /usr/lib64/libkdeinit4_kwin.so
#14 0x00007f9470346115 in KWin::SceneOpenGL::paintBackground(QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#15 0x00007f947033637e in KWin::Scene::paintSimpleScreen(int, QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#16 0x00007f94703340a5 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#17 0x00007f947035672d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#18 0x00007f9470336563 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*) () from /usr/lib64/libkdeinit4_kwin.so
#19 0x00007f947034934e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/libkdeinit4_kwin.so
#20 0x00007f947032e223 in KWin::Compositor::performCompositing() () from /usr/lib64/libkdeinit4_kwin.so
#21 0x00007f947032f4e9 in KWin::Compositor::slotCompositingOptionsInitialized() () from /usr/lib64/libkdeinit4_kwin.so
#22 0x00007f94702b8865 in KWin::Compositor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.122] () from /usr/lib64/libkdeinit4_kwin.so
#23 0x00007f946ad4e2c8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f946ac2bfc8 in QFutureWatcherBase::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f9469ebe47c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f9469ec4a40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f946ebf9a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007f946ad3a75d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f946ad3d7af in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007f9469f5b109 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f946ad393bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f946ad396b5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f946ad3e7cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f94702e82c6 in kdemain () from /usr/lib64/libkdeinit4_kwin.so
#35 0x00007f946feeda65 in __libc_start_main () from /lib64/libc.so.6
#36 0x000000000040077e in _start ()

Second:

Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc451549800 (LWP 13191))]

Thread 6 (Thread 0x7fc42f93a700 (LWP 13260)):
#0  0x00007fc44b77c7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fc44ba0e624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba01da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fc42e69e700 (LWP 13299)):
#0  0x00007fc44b77c7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fc44ba0e624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba01da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc42dd0e700 (LWP 13301)):
#0  0x00007fc450d80403 in select () from /lib64/libc.so.6
#1  0x00007fc44baeab21 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc42d50d700 (LWP 13303)):
#0  0x00007fc44b77c40c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fc44ff8186b in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fc44ff818a9 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc39ffff700 (LWP 13304)):
#0  0x00007fc44b77c7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fc44ba0e624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba01da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc451549800 (LWP 13191)):
[KCrash Handler]
#5  0x00007fc39f3bd758 in get_stencil_miptree (irb=0x138cc60) at brw_misc_state.c:257
#6  brw_workaround_depthstencil_alignment (brw=brw@entry=0x7fc42c026038, clear_mask=clear_mask@entry=0) at brw_misc_state.c:273
#7  0x00007fc39f37a72d in brw_try_draw_prims (indirect=0x0, max_index=23, min_index=0, ib=0x0, nr_prims=1, prims=0x7fff41badf10, arrays=0x14f6980, ctx=0x7fc42c026038) at brw_draw.c:415
#8  brw_draw_prims (ctx=0x7fc42c026038, prims=0x7fff41badf10, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=23, unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:569
#9  0x00007fc39f1d923d in vbo_draw_arrays (ctx=0x7fc42c026038, mode=4, start=0, count=24, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:661
#10 0x00007fc44c83937e in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () from /usr/lib64/libkwinglutils.so.1
#11 0x00007fc44c83c359 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () from /usr/lib64/libkwinglutils.so.1
#12 0x00007fc44c83c3bd in KWin::GLVertexBuffer::render(unsigned int) () from /usr/lib64/libkwinglutils.so.1
#13 0x00007fc451115a7a in KWin::SceneOpenGL2::doPaintBackground(QVector<float> const&) () from /usr/lib64/libkdeinit4_kwin.so
#14 0x00007fc451119115 in KWin::SceneOpenGL::paintBackground(QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#15 0x00007fc45110937e in KWin::Scene::paintSimpleScreen(int, QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#16 0x00007fc4511070a5 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#17 0x00007fc45112972d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#18 0x00007fc451109563 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*) () from /usr/lib64/libkdeinit4_kwin.so
#19 0x00007fc45111c34e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/libkdeinit4_kwin.so
#20 0x00007fc451101223 in KWin::Compositor::performCompositing() () from /usr/lib64/libkdeinit4_kwin.so
#21 0x00007fc4511024e9 in KWin::Compositor::slotCompositingOptionsInitialized() () from /usr/lib64/libkdeinit4_kwin.so
#22 0x00007fc45108b865 in KWin::Compositor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.122] () from /usr/lib64/libkdeinit4_kwin.so
#23 0x00007fc44bb212c8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fc44b9fefc8 in QFutureWatcherBase::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fc44ac9147c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fc44ac97a40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fc44f9cca6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007fc44bb0d75d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007fc44bb107af in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fc44ad2e109 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fc44bb0c3bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fc44bb0c6b5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fc44bb117cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fc4510bb2c6 in kdemain () from /usr/lib64/libkdeinit4_kwin.so
#35 0x00007fc450cc0a65 in __libc_start_main () from /lib64/libc.so.6
#36 0x000000000040077e in _start ()
Comment 18 Alexander Patrakov 2014-04-13 15:04:15 UTC
Forgot to say that these crashes appeared only after logout and relogin, not immediately after applying the setting.
Comment 19 Alexander Patrakov 2014-04-13 15:06:20 UTC
2.0 and Raster again - crashed after logout/login:

Application: KWin (kwin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc451549800 (LWP 13191))]

Thread 6 (Thread 0x7fc42f93a700 (LWP 13260)):
#0  0x00007fc44b77c7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fc44ba0e624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba01da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fc42e69e700 (LWP 13299)):
#0  0x00007fc44b77c7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fc44ba0e624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba01da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fc42dd0e700 (LWP 13301)):
#0  0x00007fc450d80403 in select () from /lib64/libc.so.6
#1  0x00007fc44baeab21 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fc42d50d700 (LWP 13303)):
#0  0x00007fc44b77c40c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007fc44ff8186b in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007fc44ff818a9 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fc39ffff700 (LWP 13304)):
#0  0x00007fc44b77c7de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007fc44ba0e624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007fc44ba01da5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007fc44ba0e16f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007fc44b778201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007fc450d8758d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fc451549800 (LWP 13191)):
[KCrash Handler]
#5  0x00007fc39f3bd758 in get_stencil_miptree (irb=0x138cc60) at brw_misc_state.c:257
#6  brw_workaround_depthstencil_alignment (brw=brw@entry=0x7fc42c026038, clear_mask=clear_mask@entry=0) at brw_misc_state.c:273
#7  0x00007fc39f37a72d in brw_try_draw_prims (indirect=0x0, max_index=23, min_index=0, ib=0x0, nr_prims=1, prims=0x7fff41badf10, arrays=0x14f6980, ctx=0x7fc42c026038) at brw_draw.c:415
#8  brw_draw_prims (ctx=0x7fc42c026038, prims=0x7fff41badf10, nr_prims=1, ib=0x0, index_bounds_valid=<optimized out>, min_index=0, max_index=23, unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:569
#9  0x00007fc39f1d923d in vbo_draw_arrays (ctx=0x7fc42c026038, mode=4, start=0, count=24, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:661
#10 0x00007fc44c83937e in KWin::GLVertexBuffer::draw(QRegion const&, unsigned int, int, int, bool) () from /usr/lib64/libkwinglutils.so.1
#11 0x00007fc44c83c359 in KWin::GLVertexBuffer::render(QRegion const&, unsigned int, bool) () from /usr/lib64/libkwinglutils.so.1
#12 0x00007fc44c83c3bd in KWin::GLVertexBuffer::render(unsigned int) () from /usr/lib64/libkwinglutils.so.1
#13 0x00007fc451115a7a in KWin::SceneOpenGL2::doPaintBackground(QVector<float> const&) () from /usr/lib64/libkdeinit4_kwin.so
#14 0x00007fc451119115 in KWin::SceneOpenGL::paintBackground(QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#15 0x00007fc45110937e in KWin::Scene::paintSimpleScreen(int, QRegion) () from /usr/lib64/libkdeinit4_kwin.so
#16 0x00007fc4511070a5 in KWin::Scene::finalPaintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#17 0x00007fc45112972d in KWin::EffectsHandlerImpl::paintScreen(int, QRegion, KWin::ScreenPaintData&) () from /usr/lib64/libkdeinit4_kwin.so
#18 0x00007fc451109563 in KWin::Scene::paintScreen(int*, QRegion const&, QRegion const&, QRegion*, QRegion*) () from /usr/lib64/libkdeinit4_kwin.so
#19 0x00007fc45111c34e in KWin::SceneOpenGL::paint(QRegion, QList<KWin::Toplevel*>) () from /usr/lib64/libkdeinit4_kwin.so
#20 0x00007fc451101223 in KWin::Compositor::performCompositing() () from /usr/lib64/libkdeinit4_kwin.so
#21 0x00007fc4511024e9 in KWin::Compositor::slotCompositingOptionsInitialized() () from /usr/lib64/libkdeinit4_kwin.so
#22 0x00007fc45108b865 in KWin::Compositor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.122] () from /usr/lib64/libkdeinit4_kwin.so
#23 0x00007fc44bb212c8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fc44b9fefc8 in QFutureWatcherBase::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007fc44ac9147c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007fc44ac97a40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007fc44f9cca6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007fc44bb0d75d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007fc44bb107af in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007fc44ad2e109 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fc44bb0c3bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007fc44bb0c6b5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007fc44bb117cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007fc4510bb2c6 in kdemain () from /usr/lib64/libkdeinit4_kwin.so
#35 0x00007fc450cc0a65 in __libc_start_main () from /lib64/libc.so.6
#36 0x000000000040077e in _start ()
Comment 20 Alexander Patrakov 2014-04-13 15:07:56 UTC
Reenabled effects, logged out, logged in => no crash, effects work.
Comment 21 Alexander Patrakov 2014-04-13 15:10:10 UTC
Changed to 3.1 and system, logged out, logged in => no crash. Will not test anymore to avoid spamming you.
Comment 22 Alexander Patrakov 2014-04-13 15:19:41 UTC
Sorry, I have just realized that I have put -g3 -ggdb to CFLAGS only, but not to CXXFLAGS. Here is a better backtrace for you, with GL 1.2 and Raster:

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  0x00007f5257ef67de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f5258188624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f525817bda5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f525818816f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f5257ef2201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f525d50158d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f523ae18700 (LWP 23018)):
#0  0x00007f5257ef67de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f5258188624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f525817bda5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f525818816f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f5257ef2201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f525d50158d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f523a617700 (LWP 23019)):
#0  0x00007f525d4fa403 in select () from /lib64/libc.so.6
#1  0x00007f5258264b21 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f525818816f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f5257ef2201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f525d50158d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f5239c87700 (LWP 23024)):
#0  0x00007f5257ef640c in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f525c6fb86b in ?? () from /usr/lib64/qt4/libQtScript.so.4
#2  0x00007f525c6fb8a9 in ?? () from /usr/lib64/qt4/libQtScript.so.4
#3  0x00007f5257ef2201 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f525d50158d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f5238eff700 (LWP 23025)):
#0  0x00007f5257ef67de in pthread_cond_timedwait () from /lib64/libpthread.so.0
#1  0x00007f5258188624 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib64/qt4/libQtCore.so.4
#2  0x00007f525817bda5 in ?? () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007f525818816f in ?? () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007f5257ef2201 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f525d50158d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f525dcc3800 (LWP 22941)):
[KCrash Handler]
#5  0x00007f51abbbe758 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  0x00007f51abb7b72d 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=<optimized out>, min_index=0, max_index=23, unused_tfb_object=0x0, indirect=0x0) at brw_draw.c:569
#9  0x00007f51ab9da23d in vbo_draw_arrays (ctx=0x7f5238126038, mode=4, start=0, count=24, numInstances=1, baseInstance=0) at vbo/vbo_exec_array.c:661
#10 0x00007f5258fb337e 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 0x00007f5258fb6359 in KWin::GLVertexBuffer::render (this=0x2e6b470, region=..., primitiveMode=4, hardwareClipping=<optimized out>) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/libkwineffects/kwinglutils.cpp:1902
#12 0x00007f5258fb63bd 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 0x00007f525d893115 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_opengl.cpp:460
#14 0x00007f525d88337e in KWin::Scene::paintSimpleScreen (this=this@entry=0x2e70060, orig_mask=orig_mask@entry=0, region=...) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/scene.cpp:367
#15 0x00007f525d8810a5 in KWin::Scene::finalPaintScreen (this=0x2e70060, mask=mask@entry=0, region=..., data=...) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/scene.cpp:198
#16 0x00007f525d8a372d in KWin::EffectsHandlerImpl::paintScreen (this=0x2e701e0, mask=0, region=..., data=...) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/effects.cpp:375
#17 0x00007f525d883563 in KWin::Scene::paintScreen (this=this@entry=0x2e70060, mask=mask@entry=0x7fff99c1b84c, damage=..., repaint=..., updateRegion=updateRegion@entry=0x7fff99c1b860, validRegion=validRegion@entry=0x7fff99c1b870) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/scene.cpp:148
#18 0x00007f525d89634e in KWin::SceneOpenGL::paint (this=this@entry=0x2e70060, damage=..., toplevels=...) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/scene_opengl.cpp:389
#19 0x00007f525d8966b7 in KWin::SceneOpenGL1::paint (this=0x2e70060, damage=..., windows=...) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/scene_opengl.cpp:875
#20 0x00007f525d87b223 in KWin::Compositor::performCompositing (this=this@entry=0x26e84c0) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/composite.cpp:618
#21 0x00007f525d87c4e9 in KWin::Compositor::slotCompositingOptionsInitialized (this=0x26e84c0) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/composite.cpp:273
#22 0x00007f525d805865 in KWin::Compositor::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8_build/kwin/moc_composite.cpp:193
#23 0x00007f525829b2c8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007f5258178fc8 in QFutureWatcherBase::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f525740b47c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f5257411a40 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f525c146a6a in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007f525828775d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f525828a7af in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#30 0x00007f52574a8109 in ?? () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f52582863bf in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x00007f52582866b5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#33 0x00007f525828b7cb in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#34 0x00007f525d8352c6 in kdemain (argc=3, argv=0x7fff99c1c518) at /usr/portage/packages/portage/kde-base/kwin-4.11.8/work/kwin-4.11.8/kwin/main.cpp:597
#35 0x00007f525d43aa65 in __libc_start_main () from /lib64/libc.so.6
#36 0x000000000040077e in _start ()
Comment 23 Alexander Patrakov 2014-04-13 15:36:30 UTC
Created attachment 86071 [details]
valgrind log

This is with OpenGL 2.0 and Raster.
Comment 24 Alexander Patrakov 2014-04-13 15:49:06 UTC
Reported upstream as https://bugs.freedesktop.org/show_bug.cgi?id=77402
Comment 26 Thomas Lübking 2014-04-13 19:42:21 UTC
Many thanks for your efforts and esp. the provided valgrind log.

Ooc, do you get 
a) an opengl 3.1 context (check "qdbus org.kde.kwin /KWin supportInformation") and
b) reasonable perfomance on that?
Comment 27 Alexander Patrakov 2014-04-14 03:55:00 UTC
Created attachment 86087 [details]
qdbus report

The performance is reasonable, and KWin manages to get an OpenGL 3.3 context.
Comment 28 Thomas Lübking 2015-02-17 17:05:59 UTC
*** Bug 344282 has been marked as a duplicate of this bug. ***