Bug 243028

Summary: Activating the compositing effects will crash kwin
Product: [Plasma] kwin Reporter: Boerny <b_stader>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: anton
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Boerny 2010-06-28 13:59:58 UTC
Application: kwin (4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)))
KDE Platform Version: 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1))
Qt Version: 4.7.0
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
activate workspace effects in control panel 
-> check "activate workspace effects" and click on Button confirm

(Hope my translation of the german descriptions are correct. in german activate workspace effects is labeled "Arbeitsflächeeffekte aktivieren" and button confirm is "Anwenden")

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Aborted
[KCrash Handler]
#6  0x00007f48ebe86a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f48ebe8a5c0 in *__GI_abort () at abort.c:92
#8  0x00007f48ebe7f941 in *__GI___assert_fail (assertion=0x7f48ea19c498 "dpy->xcb->reply_data != ((void *)0)", file=<value optimized out>, line=549, function=0x7f48ea19c640 "_XRead") at assert.c:81
#9  0x00007f48ea12fcdd in _XRead () from /usr/lib/libX11.so.6
#10 0x00007f48e9c898f6 in ?? () from /usr/lib/libGL.so.1
#11 0x00007f48e9c8a59e in ?? () from /usr/lib/libGL.so.1
#12 0x00007f48d5612cb0 in KWin::ARBBlurShader::init (this=0xbd4d10) at ../../../kwin/effects/blur/blurshader.cpp:468
#13 0x00007f48d5610b6a in KWin::BlurEffect::reconfigure (this=0xbacf80, flags=<value optimized out>) at ../../../kwin/effects/blur/blur.cpp:77
#14 0x00007f48d5610d97 in BlurEffect (this=0xbacf80) at ../../../kwin/effects/blur/blur.cpp:58
#15 0x00007f48d5610dc6 in effect_create_kwin4_effect_blur () at ../../../kwin/effects/blur/blur.cpp:34
#16 0x00007f48ec2aef45 in KWin::EffectsHandlerImpl::loadEffect (this=0xb694d0, name=...) at ../../kwin/effects.cpp:1099
#17 0x00007f48ec2afb69 in KWin::EffectsHandlerImpl::reconfigure (this=0xb694d0) at ../../kwin/effects.cpp:142
#18 0x00007f48ec28e42c in KWin::Workspace::setupCompositing (this=0xb47310) at ../../kwin/composite.cpp:231
#19 0x00007f48ec2127bd in Workspace (this=0xb47310, restore=<value optimized out>) at ../../kwin/workspace.cpp:217
#20 0x00007f48ec22a2ac in Application (this=<value optimized out>) at ../../kwin/main.cpp:326
#21 0x00007f48ec22b2ce in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../kwin/main.cpp:510
#22 0x00007f48ebe71c4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff89567a08) at libc-start.c:226
#23 0x00000000004006b9 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2010-06-28 14:11:02 UTC
Crashes in glGenProgramsARB() so I guess it is an OpenGL driver bug, which need to be reported elsewhere. Which graphics driver are you using?
Comment 2 Thomas Lübking 2010-06-28 14:22:58 UTC
aside this, disable the blur effect to prevent further crashes
Comment 3 Boerny 2010-06-30 16:33:08 UTC
(In reply to comment #2)
> aside this, disable the blur effect to prevent further crashes

I disabled the blur effect and had to restart the system (may be a restart of the x-server would have been enough didn't tried it).
When not restarting the system the blur effects blocks kwin/compositing/effects to be activated.

I use fglrx 8.723.1-ubunutu4 on kubuntu 10.04 with KDE SC 4.4.90
Comment 4 Boerny 2010-06-30 17:23:18 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > aside this, disable the blur effect to prevent further crashes
> 
> I disabled the blur effect and had to restart the system (may be a restart of
> the x-server would have been enough didn't tried it).
> When not restarting the system the blur effects blocks kwin/compositing/effects
> to be activated.
> 
> I use fglrx 8.723.1-ubunutu4 on kubuntu 10.04 with KDE SC 4.4.90

Even if fglrx driver is causing the bug, the effect should turn of compositing completle. Only affected effect.
Comment 5 Martin Flöser 2010-06-30 17:38:57 UTC
You might want to try the free driver. We will not start working around bugs in proprietary drivers if a free and better alternative is available.
Comment 6 Thomas Lübking 2011-07-11 10:50:00 UTC
*** Bug 277528 has been marked as a duplicate of this bug. ***