Xorg server crashes randomly (Gentoo bug 320055)

Compiz, KDE, Gnome, Fluxbox, etc...

Moderator: Moderators

Xorg server crashes randomly (Gentoo bug 320055)

Postby argonaut » Thu Oct 07, 2010 17:30

Hello,

In short: http://bugs.gentoo.org/show_bug.cgi?id=320055

First appearance of this situation was today (Oct 7th) after the upgrade of several Xorg and ATI Radeon related packages.

For me, 2 actions trigger the situation:
1. minimize a window and click on taskbar to unminimize it --> crash and thrown to KDM login, or
2. typing random visited pages in Firefox address bar --> crash and thrown to KDM login again

There is a given patch in that Gentoo bug, but I am having reservations to apply it.

In case it is useful:
Code: Select all
sabayon ethan # emerge --info
Portage 2.2_rc77 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.35-sabayon x86_64)
=================================================================
System uname: Linux-2.6.35-sabayon-x86_64-AMD_Turion-tm-_64_Mobile_Technology_ML-32-with-gentoo-2.0.1
Timestamp of tree: Unknown
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3::sabayon
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.34 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/X11/xkb /usr/share/config /usr/share/config/kdm"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/portage /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://212.219.56.139/sites/www.ibiblio.org/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1,--as-needed"
LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh"
MAKEOPTS="-j6 -s"
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="   "
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi aiglx aim alsa amd64 artswrappersuid audiofile avahi bash-completion berkdb bidi bluetooth bzip2 cairo cdda cddb cdr cjk cli consolekit cpudetection cracklib crypt cups cxx dbus dga dri dts dv dvb dvd dvdr dvdread dvi emboss encode fam fame fat ffmpeg firefox flac foomatic-db fortran freetype gcj gdbm gif gimpprint gmp gnutls gphoto2 gpm gsm gstreamer gtk hal hfs iconv icq ieee1394 imap inotify ipod ipv6 irc irda jabber jack jfs joystick jpeg kde kdehiddenvisibility kerberos lame lcd ldap libnotify live lm_sensors lzo mad mail matroska mikmod mjpeg mmx mng modules mozdevelop mp3 mp3rtp mp4 mpeg msn mudflap multilib musepack musicbrainz ncurses network nls nptl nptlonly nsplugin ntfs ogg openal openexr opengl openmp pam pcmcia pcre pda pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 quicktime rar rdesktop readline reflection reiserfs rss scanner sdl session slp speex spell spl sse sse2 ssl startup-notification stream svg sysfs tcpd theora thunar tiff truetype udev unicode usb v4l v4l2 visualization vorbis wifi wmf x264 xcb xfs xine xinerama xml xorg xpm xprint xulrunner xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="emu10k1x darla20 darla24 emu10k1 gina20 gina24 hdsp hdspm ice1712 indigo indigoio layla20 layla24 mia mixart mona pcxhr rme32 rme96 sb16 sbawe sscape usbusx2y vx222 usb-usx2y" 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 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" APACHE2_MPMS="prefork" CAMERAS="agfa_cl20 casio_qv dimagev dimera3500 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica_qm150 panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ricoh_g3 sipix_blink sipix_blink2 sipix_web2 sony_dscf1 sony_dscf55 toshiba_pdrm11 adc65 aox barbie canon clicksmart310 digigr8 digita directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 konica largan lg_gsm mars mustek pccam300 pccam600 ptp2 ricoh samsung sierra smal sonix soundvision spca50x sq905 stv0674 stv0680 sx330z template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US af ar az bg bn br bs ca cs cy da de el en_GB eo es et eu fa fi fr fy ga gl he hi hr hu is it ja kk km ko lt lv mk mn ms nb nds nl nn pa pl pt pt_BR ro ru rw se sk sl sr sr@Latn ss sv ta tg tr uk uz vi zh_CN zh_TW es_AR es_ES fy_NL ga_IE gu gu_IN nb_NO nn_NO pt_PT sv_SE zh" LIRC_DEVICES="audio audio_alsa serial" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Just thought to give you a heads up!
Sabayon 5.4 AMD64 KDE 4.5.4
on Compaq Presario v5000us notebook
xorg-server-1.8.2, linux-sabayon-2.6.36-r1
1.5 GiB RAM
AMD Turion ML-32 64
ATI Radeon Xpress 200M
argonaut
Simple Hen
 
Posts: 40
Joined: Tue Dec 29, 2009 16:14
Location: Helsinki

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby Fitzcarraldo » Fri Oct 08, 2010 3:34

I've been running X.Org Server 1.8.2 for a couple of months now, and it's working well with the FGLRX driver versions 10.7 to 10.9-r1 on my laptop.

Code: Select all
meshedgedx modprobe.d # eix xorg-server
[U] x11-base/xorg-server
     Available versions:  1.7.6 1.7.7-r1 1.7.7-r1[1] (~)1.8.2 (~)1.8.2[1] (~)1.9.0-r2 (~)1.9.0.901 {debug dmx doc hal ipv6 kdrive minimal nptl sdl static-libs tslib +udev xorg}
     Installed versions:  1.8.2(18:45:19 08/08/10)(hal kdrive nptl udev xorg -dmx -doc -ipv6 -minimal -static-libs -tslib)
     Homepage:            http://xorg.freedesktop.org/
     Description:         X.Org X servers

[1] "sabayon" /var/lib/layman/sabayon


There's another bug in the X.Org Server that has been causing problems to some KDE users, apparently: Bug 30032 - Xorg process stackfault - infinite recursion FlushCallback vs WriteToClient. You can try to disable the X RECORD extension library via xorg.conf to see if that helps -- see my post Re: KDE 4.5.1. won't load.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7977
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby OOPMan » Fri Oct 08, 2010 11:59

I'm getting similar behaviour since yesterday's upgrade.

My system has a Radeon HD 4570 and I've been using the open-source driver for it's wonderful xrandr support (Which is far superior to what the ati driver provides) in conjunction with KDE 4.5.1 and it's desktop compositing effects.

Since yesterdays update I have had to switch desktop compositing effects off, otherwise X/KDE seems to crash with no warnings or messages with anywhere between 1 and 10 minutes of use.

Is this the same issue, or something else?
OOPMan
Simple Hen
 
Posts: 41
Joined: Tue Jun 22, 2010 12:31

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby argonaut » Fri Oct 08, 2010 12:23

Yes, I can confirm that when I suspend compositing, the problem disappears.

Disabling X Record via xorg.conf did not (unfortunately) work.

I've also identified another way to evoke the behaviour: hover on the 'close window' button until the tooltip is shown; then hover on the next button (mine is minimize) and exactly at the moment that one tooltip fades to give way to the other, then crash --> hello KDM login :eye:
Sabayon 5.4 AMD64 KDE 4.5.4
on Compaq Presario v5000us notebook
xorg-server-1.8.2, linux-sabayon-2.6.36-r1
1.5 GiB RAM
AMD Turion ML-32 64
ATI Radeon Xpress 200M
argonaut
Simple Hen
 
Posts: 40
Joined: Tue Dec 29, 2009 16:14
Location: Helsinki

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby OOPMan » Fri Oct 08, 2010 12:38

All kinds of things seem to cause it. For me, opening a file dialog in kdiff3 does it :-)

I'm going to try the fglrx driver for now until this is sorted...
OOPMan
Simple Hen
 
Posts: 41
Joined: Tue Jun 22, 2010 12:31

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby argonaut » Fri Oct 08, 2010 18:16

Let us know what is the situation if you use fglrx.

Also, an interesting thing is that Akonadi gives crash notifications just when I re-login after the whole crashing thing. I see this is a whole different and painful story at the KDE forum; I don't think it is somehow the cause of things, but just a side effect..
Sabayon 5.4 AMD64 KDE 4.5.4
on Compaq Presario v5000us notebook
xorg-server-1.8.2, linux-sabayon-2.6.36-r1
1.5 GiB RAM
AMD Turion ML-32 64
ATI Radeon Xpress 200M
argonaut
Simple Hen
 
Posts: 40
Joined: Tue Dec 29, 2009 16:14
Location: Helsinki

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby OOPMan » Sat Oct 09, 2010 16:18

Everything is fine with fglrx in both KDE and E17.
OOPMan
Simple Hen
 
Posts: 41
Joined: Tue Jun 22, 2010 12:31

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby argonaut » Tue Oct 12, 2010 9:46

Yup - that's nice that fglrx solves the problem, provided that the card is supported. Mine is the Radeon Xpress 200M, and the current version 10.9 of ati-drivers does not support it anymore (realease notes: https://a248.e.akamai.net/f/674/9206/0/www2.ati.com/drivers/linux/catalyst_109_linux.pdf). Nevertheless, I tried to install and switch to fglrx and it didn't seem to work - had worse graphics. So my not so brilliant solution was to reinstall Sabayon 5.4 and just not update the involved binaries, and to wait for revisions here and there. Of course the other solution is to disable compositing.

I would not like to mark this post as [Solved] because hopefully a real solution will come forth soon.

Ethan :alien:
Sabayon 5.4 AMD64 KDE 4.5.4
on Compaq Presario v5000us notebook
xorg-server-1.8.2, linux-sabayon-2.6.36-r1
1.5 GiB RAM
AMD Turion ML-32 64
ATI Radeon Xpress 200M
argonaut
Simple Hen
 
Posts: 40
Joined: Tue Dec 29, 2009 16:14
Location: Helsinki

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby argonaut » Wed Oct 20, 2010 11:20

Alright, some report that disabling vesafb and enabling Radeon KMS in their xorg.conf solves the problem.

BUT: my xorg.conf does not have the relevant lines, and an alternative suggestion is to edit the *kernel* config.

Questions:
1. I am not quite clear - is this referring to the open source driver?
2. Any help with how to disable vesafb and enable Radeon KMS specifically in a Sabayon entropy-managed system?
3. If it works for someone, please post the happy event. I confess that I lack the appetite to break my system again, so I will not equo upgrade in order to evoke the bug and try this solution just for the sake of it.

Comment:
This problem is not Sabayon's fault. As I see, there is a good amount of people having this bug, so I hope sooner or later some time will be devoted from upstream to address this problem - in addition to what happens now: bitching ATI for a problem with the free driver (i.e. not a driver it is responsible for)..
Sabayon 5.4 AMD64 KDE 4.5.4
on Compaq Presario v5000us notebook
xorg-server-1.8.2, linux-sabayon-2.6.36-r1
1.5 GiB RAM
AMD Turion ML-32 64
ATI Radeon Xpress 200M
argonaut
Simple Hen
 
Posts: 40
Joined: Tue Dec 29, 2009 16:14
Location: Helsinki

Re: Xorg server crashes randomly (Gentoo bug 320055)

Postby Franchute13 » Wed Oct 20, 2010 15:23

Hello Argonaut.

I have a similar problem.

In KDM.LOG.OLD, you see this lines or simimilar?

Backtrace:
0: / usr / bin / X (xorg_backtrace 0x3b) [0x80efa2b]
1: / usr / bin / X (0x8048000 0x5a265) [0x80a2265]
2: (vdso) (__kernel_rt_sigreturn 0x0) [0xffffe410]
3: / usr / bin / X (FreeResource 0x112) [0x8085d32]
4: / usr / lib / xorg / modules / extensions / libglx.so (0xb7498000 0x33440) [0xb74cb440]
5: / usr / lib / xorg / modules / extensions / libglx.so (0xb7498000 0x366de) [0xb74ce6de]
6: / usr / bin / X (0x8048000 0x23487) [0x806b487]
7: / usr / bin / X (0x8048000 0x1d935) [0x8065935]
8: / lib/libc.so.6 (__libc_start_main 0xe6) [0xb762bbb6]
9: / usr / bin / X (0x8048000 0x1d501) [0x8065501]
Segmentation fault at address 0x9ee6500c

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



MY chipset is Ati Xpress 200
Franchute13
Simple Hen
 
Posts: 68
Joined: Thu Jun 18, 2009 16:10
Location: Argentina

Next

Return to 3D Desktops and Window Managers

Who is online

Users browsing this forum: No registered users and 1 guest