[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#640799: kwin: crashes on login (sandybridge/mesa7.11/blur effect)



Package: kde-window-manager
Version: 4:4.6.5-2
Severity: normal

Dear Maintainer,

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-1-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

I started a new KDE session. To make sure its no configuration issue,
I deleted ~/.kde/share/config/kwinrc to start with a default 
configuration.

I can work-around the crash by using:

martin@merkaba:~/.kde/env> cat fix-kwin-intel-gl.sh
#!/bin/sh
export KWIN_DIRECT_GL=1

This didn´t happen with mesa 7.10 and some preliminary mesa 7.11 beta version.

This also doesn´t happen on a second KDE session started after this first one
- I have one user for private and one for work things.


- Software in use:

merkaba:~> apt-show-versions | egrep "(kde-window-manager|kdebase|libqt4-gui|mesa|libdrm|xserver-xorg/|xserver-xorg-core/|xserver-xorg-video-intel)"
kde-window-manager/sid uptodate 4:4.6.5-2
kdebase-apps/sid uptodate 4:4.6.5-1
kdebase-bin/sid uptodate 4:4.6.5-1
kdebase-data/sid uptodate 4:4.6.5-1
kdebase-dbg/sid uptodate 4:4.6.5-1
kdebase-runtime/sid uptodate 4:4.6.5-1
kdebase-runtime-data/sid uptodate 4:4.6.5-1
kdebase-runtime-dbg/sid uptodate 4:4.6.5-1
kdebase-workspace/sid uptodate 4:4.6.5-2
kdebase-workspace-bin/sid uptodate 4:4.6.5-2
kdebase-workspace-data/sid uptodate 4:4.6.5-2
kdebase-workspace-dbg/sid uptodate 4:4.6.5-2
kdebase-workspace-kgreet-plugins/sid uptodate 4:4.6.5-2
libdrm-intel1/sid uptodate 2.4.26-1
libdrm-radeon1/sid uptodate 2.4.26-1
libdrm2/sid uptodate 2.4.26-1
libgl1-mesa-dev/sid uptodate 7.11-5
libgl1-mesa-dri/sid uptodate 7.11-5
libgl1-mesa-dri-dbg/sid uptodate 7.11-5
libgl1-mesa-glx/sid uptodate 7.11-5
libgl1-mesa-glx-dbg/sid uptodate 7.11-5
libglapi-mesa/sid uptodate 7.11-5
libglu1-mesa/sid uptodate 7.11-5
libglu1-mesa-dev/sid uptodate 7.11-5
mesa-common-dev/sid uptodate 7.11-5
mesa-utils/sid uptodate 8.0.1-2+b1
xserver-xorg/sid uptodate 1:7.6+8
xserver-xorg-core/sid uptodate 2:1.11.0-1
xserver-xorg-video-intel/sid uptodate 2:2.16.0-1


merkaba:~> cat /proc/version
Linux version 3.0.0-1-amd64 (Debian 3.0.0-3) (ben@decadent.org.uk) (gcc version 4.5.3 (Debian 4.5.3-8) ) #1 SMP Sat Aug 27 16:21:11 UTC 2011



- Hardware in use:

ThinkPad T520 with Sandybridge graphics:

merkaba:~> lspci -nn
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0104] (rev 09)
00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09)
00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation 82579LM Gigabit Network Connection [8086:1502] (rev 04)
00:1a.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b4)
00:1c.1 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 [8086:1c12] (rev b4)
00:1c.3 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 4 [8086:1c16] (rev b4)
00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b4)
00:1d.0 USB Controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation QM67 Express Chipset Family LPC Controller [8086:1c4f] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller [8086:1c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 04)
03:00.0 Network controller [0280]: Intel Corporation Centrino Advanced-N 6205 [8086:0085] (rev 34)
05:00.0 Mass storage controller [0180]: Silicon Image, Inc. SiI 3531 [SATALink/SATARaid] Serial ATA Controller [1095:3531] (rev 01)
0d:00.0 System peripheral [0880]: Ricoh Co Ltd Device [1180:e823] (rev 05)
0d:00.3 FireWire (IEEE 1394) [0c00]: Ricoh Co Ltd FireWire Host Controller [1180:e832] (rev 04)

The crash can be reproduced some of the time.

-- Backtrace:
Application: KWin (kwin), signal: Segmentation fault
[KCrash Handler]
#6  __memcpy_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:91
#7  0x00007fb022e60d4b in __indirect_glProgramParameters4fvNV (target=14470368, index=411952, num=244454144, params=0x64930) at indirect.c:9317
#8  0x00007fb00b5cfa8f in KWin::ARBBlurShader::init (this=0xe13b60) at ../../../kwin/effects/blur/blurshader.cpp:473
#9  0x00007fb00b5ccdfb in KWin::BlurEffect::reconfigure (this=0xe78320, flags=<optimized out>) at ../../../kwin/effects/blur/blur.cpp:76
#10 0x00007fb00b5ccf87 in KWin::BlurEffect::BlurEffect (this=0xe78320) at ../../../kwin/effects/blur/blur.cpp:48
#11 0x00007fb00b5cd036 in KWin::effect_create_kwin4_effect_blur () at ../../../kwin/effects/blur/blur.cpp:29
#12 0x00007fb02596b5c1 in KWin::EffectsHandlerImpl::loadEffect (this=0xd946c0, name=...) at ../../kwin/effects.cpp:1128
#13 0x00007fb02596c689 in KWin::EffectsHandlerImpl::reconfigure (this=0xd946c0) at ../../kwin/effects.cpp:143
#14 0x00007fb02594622a in KWin::Workspace::setupCompositing (this=0xd75c90) at ../../kwin/composite.cpp:216
#15 0x00007fb0258ca6d3 in KWin::Workspace::Workspace (this=0xd75c90, restore=false) at ../../kwin/workspace.cpp:222
#16 0x00007fb0258e176a in KWin::Application::Application (this=<optimized out>) at ../../kwin/main.cpp:331
#17 0x00007fb0258e347b in kdemain (argc=<optimized out>, argv=<optimized out>) at ../../kwin/main.cpp:506
#18 0x00007fb025521ead 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=0x7fff84c9da88) at libc-start.c:228
#19 0x00000000004006a1 in _start ()

Reported using DrKonqi

Reported upstream as:

https://bugs.kde.org/show_bug.cgi?id=281540


Also discussed on debian-kde mailinglist as:

kwin 4.6.5 crashes when enabling effects with mesa 7.11 and intel sandybridge
http://lists.debian.org/debian-kde/2011/08/msg00070.html


Possible related are:

Bug 270818 -  Segfault in KWin::ARBBlurShader::init
https://bugs.kde.org/show_bug.cgi?id=270818

Bug 270746 - desktop effects crashes kwin/plasma
https://bugs.kde.org/show_bug.cgi?id=270746

Why Blur Does Not Work in Kubuntu Natty With Intel
http://blog.martin-graesslin.com/blog/2011/04/why-blur-does-not-work-in-kubuntu-natty-with-intel/


But maybe the cause / culprit for the crash actually is:

glibc: memcpy copies down on amd64
http://bugs.debian.org/625522


Feel free to reassign to other packages like libgl1-mesa-glx or libc6
as approbiate.

Thanks.


*** End of the template - remove these lines ***


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (120, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages kde-window-manager depends on:
ii  kdebase-runtime           4:4.6.5-1 
ii  kdebase-workspace-bin     4:4.6.5-2 
ii  libc6                     2.13-18   
ii  libgl1-mesa-glx [libgl1]  7.11-5    
ii  libice6                   2:1.0.7-2 
ii  libkcmutils4              4:4.6.5-2 
ii  libkdecorations4          4:4.6.5-2 
ii  libkdecore5               4:4.6.5-2 
ii  libkdeui5                 4:4.6.5-2 
ii  libkephal4abi1            4:4.6.5-2 
ii  libkio5                   4:4.6.5-2 
ii  libknewstuff3-4           4:4.6.5-2 
ii  libkwineffects1abi1       4:4.6.5-2 
ii  libkworkspace4            4:4.6.5-2 
ii  libplasma3                4:4.6.5-2 
ii  libqt4-dbus               4:4.7.3-7 
ii  libqt4-script             4:4.7.3-7 
ii  libqt4-xml                4:4.7.3-7 
ii  libqtcore4                4:4.7.3-7 
ii  libqtgui4                 4:4.7.3-7 
ii  libsm6                    2:1.2.0-2 
ii  libstdc++6                4.6.1-9   
ii  libx11-6                  2:1.4.4-1 
ii  libxcomposite1            1:0.4.3-2 
ii  libxcursor1               1:1.1.12-1
ii  libxdamage1               1:1.1.3-2 
ii  libxext6                  2:1.3.0-3 
ii  libxfixes3                1:5.0-4   
ii  libxrandr2                2:1.3.2-2 
ii  libxrender1               1:0.9.6-2 
ii  perl                      5.12.4-4  

kde-window-manager recommends no packages.

kde-window-manager suggests no packages.

-- no debconf information



Reply to: