Bug 284656

Summary: KWIn crashes when enabling desktop effects
Product: [Plasma] kwin Reporter: Felipe Sateler <fsateler>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Felipe Sateler 2011-10-21 23:08:58 UTC
Application: kwin (4.6.5 (4.6.5))
KDE Platform Version: 4.6.5 (4.6.5)
Qt Version: 4.7.3
Operating System: Linux 3.0.0-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

If I go to System Settings, then Desktop Effects, when enabling the desktop effects kwin crashes a few seconds after clicking apply. KDE continues to work normally, but desktop effects are not enabled.

The crash can be reproduced every time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#6  __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:119
#7  0x00007f1db4ac9d4b in __indirect_glProgramParameters4fvNV (target=21903952, index=79760, num=357005568, params=0x13790) at indirect.c:9317
#8  0x00007f1d9cda5aaf in KWin::ARBBlurShader::init (this=0x1546b10) at ../../../kwin/effects/blur/blurshader.cpp:473
#9  0x00007f1d9cda2e1b in KWin::BlurEffect::reconfigure (this=0x1543980, flags=<optimized out>) at ../../../kwin/effects/blur/blur.cpp:76
#10 0x00007f1d9cda2fa7 in KWin::BlurEffect::BlurEffect (this=0x1543980) at ../../../kwin/effects/blur/blur.cpp:48
#11 0x00007f1d9cda3056 in KWin::effect_create_kwin4_effect_blur () at ../../../kwin/effects/blur/blur.cpp:29
#12 0x00007f1db75d5471 in KWin::EffectsHandlerImpl::loadEffect (this=0x1488440, name=...) at ../../kwin/effects.cpp:1128
#13 0x00007f1db75d6531 in KWin::EffectsHandlerImpl::reconfigure (this=0x1488440) at ../../kwin/effects.cpp:143
#14 0x00007f1db75b031a in KWin::Workspace::setupCompositing (this=0x144c860) at ../../kwin/composite.cpp:216
#15 0x00007f1db7534733 in KWin::Workspace::Workspace (this=0x144c860, restore=false) at ../../kwin/workspace.cpp:222
#16 0x00007f1db754b7ca in KWin::Application::Application (this=<optimized out>) at ../../kwin/main.cpp:331
#17 0x00007f1db754d4db in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:506
#18 0x00007f1db718bead in __libc_start_main (main=<optimized out>, argc=<optimized out>, ubp_av=<optimized out>, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff17812d8) at libc-start.c:228
#19 0x00000000004006b1 in _start ()

Reported using DrKonqi
Comment 1 Thomas Lübking 2011-10-22 04:51:35 UTC
driver bug
disable blurring, down- or upgrade mesa, or force direct rendering

export KWIN_DIRECT_GL=1

depending on your GPU/driver this might fail elsewhere (esp. w/ fglrx - use the radeon driver in case and if you can)

*** This bug has been marked as a duplicate of bug 270818 ***