Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337055 - x11-base/xorg-server-1.9.0 crashes while starting up KDE 4.6 (i965 bug?)
Summary: x11-base/xorg-server-1.9.0 crashes while starting up KDE 4.6 (i965 bug?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard: Please read comment #12 before adding...
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-13 10:40 UTC by PM
Modified: 2011-10-13 18:47 UTC (History)
34 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
X's log file (log,25.32 KB, text/plain)
2010-09-13 12:53 UTC, PM
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PM 2010-09-13 10:40:31 UTC
I have an integrated intel graphics chip. After upgrading to xorg-server-1.9 I can't start a KDE session. X crashes with signal 6 during KDE loading, possibly while enabling compositing. 

I use x11-drivers/xf86-video-intel-2.12.0

#0  0x00007f3282232445 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007f3282233860 in abort () at abort.c:92
#2  0x000000000046017e in OsAbort () at utils.c:1260
#3  0x000000000046a09d in ddxGiveUp () at xf86Init.c:940
#4  0x0000000000467b8d in AbortServer () at log.c:424
#5  0x00000000004683a0 in FatalError (f=0x57b308 "Caught signal %d (%s). Server aborting\n") at log.c:552
#6  0x00000000004679ee in OsSigHandler (signo=11, sip=0x18159, unused=<value optimized out>) at osinit.c:156
#7  <signal handler called>
#8  0x00007f3280528e18 in intelDRI2Invalidate (drawable=0x3985df0) at intel_screen.c:122
#9  0x00007f32810b1532 in ?? () from /usr/lib64/xorg/modules/extensions/libdri2.so
#10 0x00007f32810b2509 in DRI2SwapBuffers () from /usr/lib64/xorg/modules/extensions/libdri2.so
#11 0x00007f32810b3529 in ?? () from /usr/lib64/xorg/modules/extensions/libdri2.so
#12 0x000000000044e959 in Dispatch () at dispatch.c:432
#13 0x000000000042474a in main (argc=10, argv=0x7fffa0da38c8, envp=<value optimized out>) at main.c:291



Reproducible: Always




Portage 2.2_rc81 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-zen3+ x86_64)
=================================================================
System uname: Linux-2.6.35-zen3+-x86_64-Pentium-R-_Dual-Core_CPU_T4300_@_2.10GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 13 Sep 2010 08:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe -g"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-sunset /usr/local/portage/layman/kde /usr/local/portage/moje"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl acpi alsa amd64 amr amrnb amrwb async audiofile automount bash-completion berkdb bfq bineditor bluetooth branding bzip2 cairo cdaudio cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus devhelp dirac disk-partition divx djvu dri dts dvd dvdr editor emboss emovix enca encode exchange exif faac faad fam fat ffmpeg fftw firefox firefox3 flac fontconfig fortran gd gdbm geoip gif glitz gmedia gphoto2 gpm gtk hal hddtemp htmlhandbook iconv id3 id3tag imagemagick inotify ipod jack jpeg kde kde4 kdehiddenvisibility kipi kpathsea kqemu ladspa lame laptop lcms libcaca libnotify libsamplerate lm_sensors mad mikmod mjpeg mmap mmx mmxext mng modules mp3 mp3tunes mp4 mpeg mplayer mtp mudflap multilib musicbrainz ncurses nls nptl nptlonly nsplugin ntfs ogg openal opencore-amr opencore-amrnb opencore-amrwb opengl openmp pam pango pch pcre pdf perl plasma png policykit ppds pppd python qt-copy qt3 qt3support qt4 rar readline realmedia reflection roe sasl scanner schroedinger sdl secure-delete sensord session sndfile solver soundtouch sourceview spell sse sse2 ssl ssse3 startup-notification svg swat symlink sysfs syslog tcpd theora threads tiff truetype unicode upnp usb vamp vcd vorbis webkit wicd wmf wmp wxwidgets wxwindows x264 xcb xcomposite xine xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Guillaume Castagnino 2010-09-13 12:44:58 UTC
Same problem with intel driver too :

Backtrace:
[   666.737] 0: /usr/bin/X (xorg_backtrace+0x28) [0x45ca48]
[   666.737] 1: /usr/bin/X (0x400000+0x56d49) [0x456d49]
[   666.737] 2: /lib/libpthread.so.0 (0x3f4f600000+0xf3d0) [0x3f4f60f3d0]
[   666.737] 3: /usr/lib64/dri/i965_dri.so (0x7f8bf1e62000+0x28428) [0x7f8bf1e8a428]
[   666.737] 4: /usr/lib64/xorg/modules/extensions/libdri2.so (0x7f8bf2be0000+0x2262) [0x7f8bf2be2262]
[   666.737] 5: /usr/lib64/xorg/modules/extensions/libdri2.so (DRI2SwapBuffers+0x2e9) [0x7f8bf2be3239]
[   666.737] 6: /usr/lib64/xorg/modules/extensions/libdri2.so (0x7f8bf2be0000+0x4259) [0x7f8bf2be4259]
[   666.737] 7: /usr/bin/X (0x400000+0x4cc39) [0x44cc39]
[   666.737] 8: /usr/bin/X (0x400000+0x214ea) [0x4214ea]
[   666.737] 9: /lib/libc.so.6 (__libc_start_main+0xfd) [0x3f4ea1ed2d]
[   666.737] 10: /usr/bin/X (0x400000+0x21089) [0x421089]
[   666.737] Segmentation fault at address 0x18159
[   666.737] 
Fatal server error:
[   666.737] Caught signal 11 (Segmentation fault). Server aborting

emerge --info :

Portage 2.2_rc81 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.35-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L9400_@_1.86GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 13 Sep 2010 08:30:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -mtune=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -mtune=native -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests buildsyspkg collision-protect distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://mirror.switch.ch/mirror/gentoo/     http://trumpetti.atm.tut.fi/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://gentoo.tiscali.nl/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/gcpan-portage /usr/local/portage/local-portage /var/lib/layman/xwing"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 asf async audiofile bash-completion branding bzip2 cairo cdinstall cdr cli clucene consolekit cracklib crypt cups curl cxx dbus deltimeshiftrec dga distribution dnd dri dts dv dvb dvdnav editor embedded emboss encode exif extensions extras faad fbcon ffmpeg firefox firefox3 flac fontconfig fortran fr gif gimp gpm gtk iconv idled idn imagemagick imap iproute2 ipv6 irc ithreads jabber jpeg jpeg2k kde kipi kqemu laptop lcms live livebuffer llvm lzma mad maildir matroska md5sum mmx mng modules mozdevelop mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack ncurses network nls nptl nptlonly nsplugin ofx ogg opengl openmp openssl pam pango pcre pdf perl php pic png pppd print qt3support qt4 raster rdesktop rdp readline reflection sasl scanner semantic-desktop session soap sockets spell sse sse2 ssl startup-notification svg sysfs syslog tcpd theora threads tiff truetype unicode usb v4l v4l2 vim-pager vim-syntax vlm vnc vorbis windeco wmf x264 xcb xcomposite xforms xml xorg xulrunner xv xvid xvmc yaepg zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_dbd authn_default      authn_file authz_default authz_groupfile authz_host authz_owner authz_user     autoindex dbd deflate dir env expires filter log_config mime mime_magic     negotiation rewrite setenvif status" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi     gzip limit_req limit_zone map memcached proxy realip referer rewrite     upstream_ip_hash userid stub_status" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS




But on an other box, no problem with the nouveau driver, so it could be intel bound...
Comment 2 PM 2010-09-13 12:53:25 UTC
Created attachment 247115 [details]
X's log file

Not sure if it's needed, but here's the full log file from Xorg.
Comment 3 Rahul Jain 2010-09-13 20:53:38 UTC
Same problem, I will leave this here as well (discussion related to same problem on forums):

http://forums.gentoo.org/viewtopic-p-6423048.html
Comment 4 Alex Barbieri 2010-09-14 00:06:46 UTC
(In reply to comment #3)
> Same problem, I will leave this here as well (discussion related to same
> problem on forums):
> 
> http://forums.gentoo.org/viewtopic-p-6423048.html
> 

I also have this problem. If I turn compositing off for kwin X does not crash, and I have no issues. It looks like it is related to these bug reports:
https://bugs.archlinux.org/task/20596
https://bugs.freedesktop.org/show_bug.cgi?id=29091

These reports mention that an update to Mesa may fix things.
Comment 5 Guillaume Castagnino 2010-09-14 08:58:10 UTC
the patch in the freedesktop fixes the crash, but as said in this bug, I confirm the screen gets completely corrupted : not correctly refreshed, heavy flickering => not usable
Comment 6 marcin-zbik 2010-09-14 15:14:00 UTC
I confirm on my i945 machine. I got same backtrace as above. Disabling composition "solve" the problem. I haven't tried fix from freedesktop yet.
Comment 7 Igor Poboiko 2010-09-15 17:27:08 UTC
Confirmed on i915 laptop. Same as in comment #6.
Comment 8 Mikael 2010-09-16 22:15:52 UTC
I don't know if this is 100% related but my xorg-server crashes with a segfault too everytime i enter this page, of all things (and load the java applet):
http://www.minecraft.net/play.jsp

i915 as well.


[  9964.972] 0: /usr/bin/X (xorg_backtrace+0x37) [0x80b19d7]
[  9964.972] Segmentation fault at address 0x16d49
[  9964.972]
Fatal server error:
[  9964.972] Caught signal 11 (Segmentation fault). Server aborting
[  9964.972]
[  9964.972]
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[  9964.972] Please also check the log file at "/var/log/Xorg.0.log" for additional information.


emerge --info

Portage 2.2_rc82 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r4 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r4-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 15 Sep 2010 14:00:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.se/ http://ftp.ing.umu.se/linux/gentoo/ http://mirror.gentoo.no/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/pro-audio /var/lib/layman/nodejs /usr/local/portage/plasma"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cairo cli cracklib crypt cxx dri flac fortran gdbm gif gpm gtk iconv java5 java6 jpeg jpeg2k mmx modules mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python readline reflection session sse sse2 sse3 ssl ssse3 svg sysfs tcpd truetype unicode vorbis x86 xcb xft xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard elantech synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 rob miller 2010-09-18 11:33:16 UTC
I am seeing same symptom as written in the Summary but on different hardware -- 2x nvidia graphics cards, 4 monitors, xinerama, no dri.  no problem when using single monitor, only solution found so far is mask 1.9.0 and go back to 1.8.2. yes I re-emerged all input drivers, disabled xorg.conf options mentioned in the archlinux link (tho the post is erroneous as refers to 1.8.1 server)

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x28) [0x45ea58]
1: /usr/bin/X (0x400000+0x67f55) [0x467f55]
2: /lib/libpthread.so.0 (0x7f48f75bd000+0xf870) [0x7f48f75cc870]
3: /usr/bin/X (0x400000+0x15f014) [0x55f014]
4: /usr/bin/X (0x400000+0x44579) [0x444579]
5: /usr/bin/X (0x400000+0x2477c) [0x42477c]
6: /lib/libc.so.6 (__libc_start_main+0xe6) [0x7f48f6542d16]
7: /usr/bin/X (0x400000+0x24339) [0x424339]
Segmentation fault at address 0x4

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Comment 10 Chuck Wegrzyn 2010-09-18 12:33:33 UTC
I have the same problem. This has happened with every version of xorg-server since 1.8.X. In fact there is an older filed bug that had this as a problem. The solution was - and is - to fall back to the 1.7.7-r1 server!

Comment 11 Saul Peebsen 2010-09-20 23:30:43 UTC
All QT apps cause segfault, GTK apps run fine. (nVidia)
Comment 12 Rémi Cardona (RETIRED) gentoo-dev 2010-09-21 22:02:02 UTC
To all !intel users, please file separate bugs, you're likely hitting *different* issues.

To all others, could you guys tell me which version of mesa you're using? If you think the server was built against an older version of mesa, please rebuild the server.

Thanks
Comment 13 Saul Peebsen 2010-09-22 00:07:27 UTC
OK, but my backtrace is fairly similar with nVidia.

Backtrace:
[  3367.218] 0: /usr/bin/X (xorg_backtrace+0x28) [0x45d858]
[  3367.218] 1: /usr/bin/X (0x400000+0x5ddd9) [0x45ddd9]
[  3367.218] 2: /lib/libpthread.so.0 (0x3599600000+0xfc20) [0x359960fc20]
[  3367.218] 3: /usr/bin/X (0x400000+0x160c9f) [0x560c9f]
[  3367.218] 4: /usr/bin/X (0x400000+0x44c09) [0x444c09]
[  3367.218] 5: /usr/bin/X (0x400000+0x23e6a) [0x423e6a]
[  3367.218] 6: /lib/libc.so.6 (__libc_start_main+0xfd) [0x3598a1ed2d]
[  3367.218] 7: /usr/bin/X (0x400000+0x23a09) [0x423a09]
[  3367.218] Segmentation fault at address 0x4
[  3367.218]
Fatal server error:
[  3367.218] Caught signal 11 (Segmentation fault). Server aborting 
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2010-09-22 06:39:58 UTC
(In reply to comment #13)
> OK, but my backtrace is fairly similar with nVidia.

This backtrace doesn't have any meaningful debug symbols, it's like comparing two different paintings in complete darkness. Please file a separate bug report, nvidia maintainers will look at it.

Thanks
Comment 15 Robin Bankhead 2010-09-22 09:21:57 UTC
(In reply to comment #12)
> To all !intel users, please file separate bugs, you're likely hitting
> *different* issues.
> 
> To all others, could you guys tell me which version of mesa you're using? If
> you think the server was built against an older version of mesa, please rebuild
> the server.
> 
> Thanks
> 

Using mesa-7.8.2 here for 945GME chipset. Xorg-server and all drivers rebuilt as a matter of course after upgrading mesa. 

Like the others, disabling desktop effects or downgrading to xorg-server-1.8.2 prevents the issue.

Happy to provide a backtrace if you need another, but not sure how to run X with the debugger - just gdb startx as root?

emerge --info:
Portage 2.1.9.7 (default/linux/x86/10.0/desktop/kde, gcc-4.4.4, glibc-2.12.1-r1, 2.6.35-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r7-i686-Intel-R-_Atom-TM-_CPU_N270_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Sat, 18 Sep 2010 19:45:02 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.67
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -mssse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/security/pam_mount.conf.xml /usr/share/X11/xkb /usr/share/apps/kdm/themes/oxygen/oxygen.xml /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -fomit-frame-pointer -pipe -mmmx -msse -msse2 -mssse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/arcon /usr/local/portage"
SYNC="rsync://brazil/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdparanoia cdr chm cli clucene consolekit cracklib crypt cups cxx dbus dga dio dri dts dvd dvdread emboss encode exif faac faad fam ffmpeg firefox flac flash fontconfig foomaticdb fortran fuse gdbm gif gimp glitz gnutls gpm hal iconv imagemagick innodb java java6 javascript jpeg kde lcms ldap libnotify libwww mad madwifi matroska mikmod mmx mmxext mng modules mp3 mp4 mpeg mplayer msn mudflap mysql ncurses nls nptl nptlonly nsplugin odbc offensive ogg opengl openmp oss pam pango pcmcia pcntl pcre pdf perl phonon plasma png posix ppds pppd python qt3support qt4 readline reflection samba scanner sdl semantic-desktop sesame2 session sharedmem soap sockets spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff tk tordns truetype unicode usb vcd vhosts vorbis webkit wifi win32codecs x264 x86 xcb xcomposite xine xinerama xml xmlrpc xorg xsl xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" RUBY_TARGETS="ruby18" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="intel vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 16 Chuck Wegrzyn 2010-09-22 10:14:57 UTC
Piotr can you reopen this bug - it has persisted since 1.8.0 and the idiot maintainer keeps marking them resolved/needing info. This isn't resolved at all.

Chuck Wegrzyn
Comment 17 Guillaume Castagnino 2010-09-22 10:26:44 UTC
Chipset : GM45

To resume :
1)
 - mesa 7.8.2
 - libdrm 2.4.21
 - intel driver 2.12.0

=> crash with the above backtrace
when applying the patch at freedesktop (https://bugs.freedesktop.org/show_bug.cgi?id=29091), no more crash, but screen corrupted

2)
 - mesa git classic (some days ago)
 - libdrm git
 - intel driver git

=> when enabling kwin opengl compositing, it fails, reverting to the previous state (xrender or no compositing) but no crash
* It fails with this notice using "classic" mesa:
kwin(1851) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "Tungsten Graphics, Inc"
kwin(1851) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT "
kwin(1851) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "2.1 Mesa 7.9-devel"
kwin(1851) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "intel" , version "20100330"
kwin(1851): ""fsrestore1" - conversion of "0,0,0,0" to QRect failed"
kwin(1851): ""restore2" - conversion of "0,0,0,0" to QRect failed"
kwin(1851): ""fsrestore2" - conversion of "0,0,0,0" to QRect failed"
kwin(1851): ""restore3" - conversion of "0,0,0,0" to QRect failed"
kwin(1851): ""fsrestore3" - conversion of "0,0,0,0" to QRect failed"                                                                                                                  
kwin(1851) KWin::Workspace::setupCompositing: KWin has detected that your OpenGL library is unsafe to use, falling back to XRender.                                                   
kwin(1851): Failed to initialize compositing, compositing disabled

I would like to test with current mesa classic and gallium, but today mesa git does not build for intel, will try later and report

Thanks !
Comment 18 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2010-09-22 10:34:27 UTC
(In reply to comment #16)
> Piotr can you reopen this bug - it has persisted since 1.8.0 and the idiot
> maintainer keeps marking them resolved/needing info. This isn't resolved at
> all.
> 
> Chuck Wegrzyn

Please refrain from making such comments in our infrastructure.

As you may not be aware of the purpose of the NEEDINFO resolution, it means the developer doesn't have enough information to be able to duplicate the issue.
Comment 19 Chuck Wegrzyn 2010-09-22 12:13:35 UTC
I am well aware of what NEEEDINFO means in Gentoo. I've been around here for over 6 years!

But to claim this bug is resolved is outright silly. It has been going on since 1.8.X and at various times a conclusion has been reached as to the problem. Still nothing has happened (and this particular bug has been going on for well over 6 months now). 

And I stand by what I said: it should be reopened or at least added as a duplicate of all the other reports of this bug. It needs to be resolved. It happens on no other distro that I run that has more recent Xorg server and KDE running.
Comment 20 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-09-22 12:28:14 UTC
Please answer the question in comment 12. If you are unsure, post here the last relevant lines of
# qlop -lu x11-base/xorg-server media-libs/mesa x11-libs/libdrm
Comment 21 Rémi Cardona (RETIRED) gentoo-dev 2010-09-22 19:54:22 UTC
(In reply to comment #19)
> I am well aware of what NEEEDINFO means in Gentoo. I've been around here for
> over 6 years!
> 
> But to claim this bug is resolved

Obviously, you do *not* know what NEEDINFO means, otherwise you wouldn't have started the name calling. Like Jorge said, don't use this tone.


> is outright silly. It has been going on since
> 1.8.X and at various times a conclusion has been reached as to the problem.
> Still nothing has happened (and this particular bug has been going on for well
> over 6 months now). 
> 
> And I stand by what I said: it should be reopened or at least added as a
> duplicate of all the other reports of this bug. It needs to be resolved. It
> happens on no other distro that I run that has more recent Xorg server and KDE
> running.

Listen, if you want to handle Xorg for us, I'd be more than happy to. Maybe if you come on *my* side, you'll see it isn't as easy as you think.

Now if you don't have anything useful to add, don't say anything.
Comment 22 Rémi Cardona (RETIRED) gentoo-dev 2010-09-22 19:56:31 UTC
To other users, I suggest you use the x11 overlay (using layman) and try building -9999 versions of libdrm, mesa, xorg-server and xf86-video-intel, preferably with the latest RC kernel from sys-kernel/git-sources.

This should tell us if this bug is already fixed upstream.

Thanks for your patience and understanding.
Comment 23 PM 2010-09-23 17:32:57 UTC
The problem is with current newest stable mesa: 7.8.2. Also it's not been going on since 1.8.x, downgrading from 1.9 to 1.8 fixes it.

I may not be a dev, but I am an English language user, and I'm sure as hell this bug is far from being "resolved". Furthermore isn't it the case that NEEDINFO applies to a situation where a dev asks for some info and *doesn't* get it? Only relevant google hit I found is here: http://www.gentoo.org/proj/en/portage/.
Comment 24 Chuck Wegrzyn 2010-09-23 17:57:43 UTC
If you look at the info on xorg-server you see the last stable release is the 1.7.7-r1 (I think it is r1) release. I've been trying every release since 1.7.7 to upgrade to a newer xorg-server without luck. 
Comment 25 PM 2010-09-23 18:04:12 UTC
(In reply to comment #24)
> If you look at the info on xorg-server you see the last stable release is the
> 1.7.7-r1 (I think it is r1) release. I've been trying every release since 1.7.7
> to upgrade to a newer xorg-server without luck. 
> 

Then you probably are experiencing a different bug. A good place to start would be to post your backtrace for comparison.
Comment 26 Guillaume Castagnino 2010-09-24 11:44:57 UTC
I tested again on my GM45 :

- xorg-server 1.9 built on top of mesa git efa111a6cbfe03318a0e0569d4c9205a16d56857
- libdrm git 81fa7a9f56b1efb04658db921e5228c102548921
- intel driver git b84925b9c0842ba4dfa3481c09d3a80f84db4838

Test with 2.6.35-gentoo-r8 or 2.6.36-rc5-git2, same result for both : no crash, but kwin refuses to enable opengl compositing :

Error is :
kwin(2222) KWin::CompositingPrefs::detectDriverAndVersion: GL vendor is "Tungsten Graphics, Inc" 
kwin(2222) KWin::CompositingPrefs::detectDriverAndVersion: GL renderer is "Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT " 
kwin(2222) KWin::CompositingPrefs::detectDriverAndVersion: GL version is "2.1 Mesa 7.10-devel" 
kwin(2222) KWin::CompositingPrefs::detectDriverAndVersion: Detected driver "intel" , version "20100330" 
kwin(2222): ""fsrestore1" - conversion of "0,0,0,0" to QRect failed" 
kwin(2222): ""restore2" - conversion of "0,0,0,0" to QRect failed" 
kwin(2222): ""fsrestore2" - conversion of "0,0,0,0" to QRect failed" 
kwin(2222): ""restore3" - conversion of "0,0,0,0" to QRect failed" 
kwin(2222): ""fsrestore3" - conversion of "0,0,0,0" to QRect failed" 
Comment 27 Rémi Cardona (RETIRED) gentoo-dev 2010-09-24 17:43:31 UTC
(In reply to comment #26)
> Test with 2.6.35-gentoo-r8 or 2.6.36-rc5-git2, same result for both : no crash,
> but kwin refuses to enable opengl compositing :

Ok, thanks for the valuable info, I guess kwin's driver/feature checks are blacklisting the current Intel stack.

As far as I'm concerned, the Intel driver is fixed (crash-wise) but still needs to support the correct GL features.

We'll keep this bug open until the new libdrm/mesa/xf86-video-intel are released.

Cheers
Comment 28 Sven Eden 2010-10-05 10:45:34 UTC
(In reply to comment #27)
> Ok, thanks for the valuable info, I guess kwin's driver/feature checks are
> blacklisting the current Intel stack.
> 
in ~/.kde4/share/config/kwinrc there is by default:

==========
[Blacklist][Blur]
Advanced Micro Devices=DRI R600:-:7.8.1,DRI R600:-:7.8.2
Ati=Radeon HD 3650:-:3.3.9901
NVIDIA=GeForce 6150/PCI/SSE2:-:195

[Blacklist][Lanczos]
Advanced Micro Devices=DRI R600:-:7.8.1,DRI R600:-:7.8.2
Intel=GM45 Express Chipset GEM 20100328:-:7.8.2,GM45 Express Chipset GEM 20091221:-:7.7.1,965GM GEM 20100328 2010Q1:-:7.8.2,965GM GEM 20091221 2009Q4:-:7.7.1,Ironlake Mobile GEM 20100328:-:7.8.2
==========

I don't know whether those blacklists might be done somewhere else, but as intel GM45 and (my) 965GM are listed, I had to add this to kwinrc with a fresh environment to be able to start kde-4.5.1:

==========
[Compositing]
CheckIsSafe=true
Enabled=false
OpenGLIsUnsafe=false
==========

Alternatively it seems to be sufficient to set "OpenGLIsUnsafe" to "true".

However, everytime an app crashes, the stack tarce produced by DrKonqi refers to "QT Raster Surface", so I am currently rebuilding some stuff against a qt-gui without raster USE-Flag.

... I hope this issue can be resolved, as it is quite inconvenient that kde does no longer remember my desktop settings, because kinit crashes on every logout/shutdown.  
Comment 29 Sven Eden 2010-10-06 10:14:52 UTC
(In reply to comment #28)
> However, everytime an app crashes, the stack tarce produced by DrKonqi refers
> to "QT Raster Surface", so I am currently rebuilding some stuff against a
> qt-gui without raster USE-Flag.
> 
> ... I hope this issue can be resolved, as it is quite inconvenient that kde
> does no longer remember my desktop settings, because kinit crashes on every
> logout/shutdown.  
> 

And now, after emergeing qt-gui with "-raster", and all qt related packages plus kdelibs, this does not happen any more. KDE shuts down without any app crashing, and my settings are remembered. And I have not witnessed a single app crash since. 
Comment 30 Robin Bankhead 2010-10-06 13:18:24 UTC
(In reply to comment #29)
> (In reply to comment #28)
> > However, everytime an app crashes, the stack tarce produced by DrKonqi refers
> > to "QT Raster Surface", so I am currently rebuilding some stuff against a
> > qt-gui without raster USE-Flag.
> > 
> > ... I hope this issue can be resolved, as it is quite inconvenient that kde
> > does no longer remember my desktop settings, because kinit crashes on every
> > logout/shutdown.  
> > 
> 
> And now, after emergeing qt-gui with "-raster", and all qt related packages
> plus kdelibs, this does not happen any more. KDE shuts down without any app
> crashing, and my settings are remembered. And I have not witnessed a single app
> crash since. 
> 

Interesting ... I've never had raster enabled.  Anyway, have gone up a couple of kernels and a libdrm version, so will try 1.9 again.  BTW, I see people are mentioning serious corruption with this patch applied - I'm getting that even with 1.8, really bad screen-tearing; maybe my whole issue is different?
Comment 31 Robin Bankhead 2010-10-06 13:47:54 UTC
Following up, 1.9 still segfaulting on fully up-to-date ~x86 system, *without* USE=raster.  Without compositing it's fine.

BTW I'm not clear whether any of those Blacklist entries in kwinrc apply to my chipset, which is:

00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)

I think not but would welcome confirmation, Intel naming seems a bit nebulous to me...
Comment 32 Chuck Wegrzyn 2010-10-07 12:11:20 UTC
This problem has been going on since just about the 1.8 days! I noticed it doesn't happen with Gnome and my XFCE interface is rock solid. It is only when I switch to KDE does the instability occur. As such as always thought it was a QT issue. I am sorry it wasn't the raster problem ... I was hoping to see this bugger finally put to bed!

Does anyone know if it manifest itself on the latest Xorg server (1.9.0.901)?
Comment 33 infobox.oleg 2010-10-07 13:16:14 UTC
(In reply to comment #32)
> Does anyone know if it manifest itself on the latest Xorg server (1.9.0.901)?

I've tried this version of Xorg and X crashed, when I've enabled compositing in KDE.

Oleg
Comment 34 chris salch 2010-10-13 02:48:37 UTC
This might be useful, adding the X11 overlay and remerging seems to have fixed things.

I added the overlay and ran:

emerge -tavDNu world  

which pulled in a new mesa and libX11 along with an eselect-mesa module.

From there I emerged xorg-server again, ( just to be safe)
and ran:

emerge -tav `qlist -I -C x11-drivers`

Hope this helps.

Comment 35 chris salch 2010-10-13 03:16:41 UTC
(In reply to comment #34)

Well, I spoke too soon.  KDE and X start bug openGL is borked now :(  So, part of the issue is fixed but not all of it
Comment 36 Till Schäfer 2010-10-15 12:52:57 UTC
The Problem is fixed for me after upgrading to mesa-7.9 from the x11 overlay. 

intel-2.13
kde-4.5.2
xorg-server-1.9.0.901

before i had the same issues. the only thing i changed was mesa.
Comment 37 Till Schäfer 2010-10-15 12:53:44 UTC
(In reply to comment #36)
> The Problem is fixed for me after upgrading to mesa-7.9 from the x11 overlay. 
> 
> intel-2.13
> kde-4.5.2
> xorg-server-1.9.0.901
> 
> before i had the same issues. the only thing i changed was mesa.
> 
as a dependecy also libX11 was updated
Comment 38 Chuck Wegrzyn 2010-10-16 15:19:22 UTC
I have all the "latest" components, as listed by the last two or three people. When I upgraded my xorg-server this morning to 1.9.0.902 I am finding the exact same problem as existing. I am finding KDE still unstable (while Gnome and others are rock solid).

While it is true it doesn't happen as often, it still happens! This problem isn't fixed at all. 
Comment 39 infobox.oleg 2010-10-16 16:54:46 UTC
I confirm, this is not fixed.
I have:
x11-drivers/xf86-video-intel-2.13.0
x11-base/xorg-server-1.9.0.902
kde 4.5.2

If I set compositing to use XRender, compositing is ok (it says "Blur" is disabled). If I set it to use OpenGL, KDE crashes on hitting Apply and consequently on every start (manual edit of kwinrc is needed).
Comment 40 Chuck Wegrzyn 2010-10-16 17:49:58 UTC
I believe it is independent of graphics driver. I have one intel based system and another using an ATI card. Both show the same condition.
Comment 41 Balint Dobai-Pataky 2010-10-27 05:37:15 UTC
x11-base/xorg-server-1.9.1 from portage fixed it for me.
thanks
Comment 42 rob miller 2010-10-27 08:05:21 UTC
(In reply to comment #41)
> x11-base/xorg-server-1.9.1 from portage fixed it for me.
> thanks
> 

I confirm my xinerama-nvidia version of problem fixed with 1.9.1 ; thanks indeed.
Comment 43 Maciej J. Woloszyk 2010-10-27 10:51:03 UTC
Nope. xf86-video-intel-2.13.0 with xorg-server-1.9.1 still crashes after turning the compostion on.
Comment 44 Robin Bankhead 2010-10-27 12:11:07 UTC
No improvement here either, xf86-video-intel-2.13.0 and xorg-server-1.9.1
Comment 45 Guillaume Castagnino 2010-10-27 12:50:21 UTC
(In reply to comment #44)
> No improvement here either, xf86-video-intel-2.13.0 and xorg-server-1.9.1
> 

As already said : the fix is in mesa-7.9, available in x11 overlay
Comment 46 Robin Bankhead 2010-10-27 23:08:53 UTC
(In reply to comment #45)
> (In reply to comment #44)
> > No improvement here either, xf86-video-intel-2.13.0 and xorg-server-1.9.1
> > 
> 
> As already said : the fix is in mesa-7.9, available in x11 overlay
> 

#44 did not mention using the overlay, so implies that the xorg-server upgrade alone resolves the problem.  We're just refuting that implication.
Comment 47 Zoltan Puskas 2010-11-12 14:43:17 UTC
I also have an integrated i965 graphics chip. Emerging the new mesa (and it's dependencies) solves the problem only partially. OpenGL compositing seems to work (KDE does not crash) however the DE does not work properly. This means menus, pop-ups sometimes do not appear (only their shadow), however if I click into them blindly they do their function whatever I click on. I cannot determine by what logic they decide to appear or not.
Comment 48 Rahul Jain 2010-11-12 14:59:47 UTC
(In reply to comment #47)
> I also have an integrated i965 graphics chip. Emerging the new mesa (and it's
> dependencies) solves the problem only partially. OpenGL compositing seems to
> work (KDE does not crash) however the DE does not work properly. This means
> menus, pop-ups sometimes do not appear (only their shadow), however if I click
> into them blindly they do their function whatever I click on. I cannot
> determine by what logic they decide to appear or not.
> 

See this:
https://bugs.kde.org/show_bug.cgi?id=247839
Comment 49 Sven Eden 2010-11-15 11:25:26 UTC
(In reply to comment #45)
> (In reply to comment #44)
> > No improvement here either, xf86-video-intel-2.13.0 and xorg-server-1.9.1
> > 
> 
> As already said : the fix is in mesa-7.9, available in x11 overlay
> 

It is _not_ enough!

The only reliable way is to turn OpenGL _OFF_ in your kwinrc. Then, after starting KDE, you can re-enable it in the dektop effects section of the system settings. But this will only work with mesa-7.9 and drivers set to classic. (At least for me gallium wreaks havoc).
And you will most probably receive a pop-up window telling you of a long list of effects that could not be started.

Unfortunately kwin has hiccoughs all over the place with enabled OpenGL effects. Everything works fine when sitched to xrender backend, btw.
Comment 50 Nick Keefen 2010-12-31 18:25:27 UTC
Hi everyone.

I had the same problem for over two months. Intel 945GM (also verified the same bug on an Intel G41 machine). My primary system is stable Gentoo i386 on a Dell Latitude D520.

Kwin crashes when you attempt to use compositing, although mesa works file (glxgears, glxinfo are ok). Tried both classic and gallium renderers.

Updated to latest stable yesterday, no changes.

I fixed mine. Not sure if it's applicable for everyone else, but my problem was screen configuration. Two months ago i've added a second screen to my xorg.conf to use the d-sub output and left it in the default layout; this has been causing my kwin issues but didn't affect other OpenGL apps. Switching back to the primary screen in xorg.conf was a solution. Not sure this is applicable to the bug in this thread, but this thread is the only one with sympthoms like mine, so people with a similar problem will end up reading it.

Regards, Nick Keefen.
Comment 51 Joël 2011-02-22 12:22:59 UTC
Is it possible to prevent xorg-server 1.7.7 from being deprecated/removed soon?  I can't use 1.9.2 nor 1.9.4 because the X server segfaults as soon as I launch mplayer in opengl mode. The older xorg-server 1.7.7 is still rock solid, so I feel deprecating it would harm many users.
Comment 52 Andreas K. Hüttel archtester gentoo-dev 2011-04-25 20:51:59 UTC
Does anyone still have this problem with KDE 4.6 ?
Comment 53 Zoltan Puskas 2011-04-26 02:52:23 UTC
(In reply to comment #52)
> Does anyone still have this problem with KDE 4.6 ?
In KDE 4.6 everything is working. (for me at least :) )
Comment 54 Robin Bankhead 2011-04-26 09:11:54 UTC
No problems logging in any more (not sure which package upgrade(s) nailed it at this point, sorry), though now there seem to be redraw issues with GTK apps instead(!) and using Cover Switch effect has caused a couple of crashes... overall GL performance seems to have dipped a bit too.
Comment 55 Mauro Rizzato 2011-05-11 16:00:31 UTC
I confirm the crash with KDE 4.6 (no problems with 4.4)
I have:
libdrm-2.4.25
mesa-7.10.2
xorg-server-1.9.5
xf86-video-ati-6.14.1

To resolve I modified the kwinrc from
OpenGLIsUnsafe=false

to
OpenGLIsUnsafe=true
Comment 56 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-06-19 08:36:12 UTC
Please check the trace that it printed to Xorg.0.log on server crash. Every trace that is different from the one in comment 0 is likely a separate problem that should be reported in a separate bug.
Comment 57 Andreas K. Hüttel archtester gentoo-dev 2011-10-13 18:47:12 UTC
> Ok, thanks for the valuable info, I guess kwin's driver/feature checks are
> blacklisting the current Intel stack.
> 
> As far as I'm concerned, the Intel driver is fixed (crash-wise) but still needs
> to support the correct GL features.
> 
> We'll keep this bug open until the new libdrm/mesa/xf86-video-intel are
> released.

No duplicate reports for a while. 

mesa-7.11 is stable, and the blacklisting in kdm should be fixed on kwin-4.6.5-r2 and kwin-4.7. 

So I guess we can really resolve this now.