Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64656 - xorg-x11 crashes with certain xscreensaver-4.16 choices
Summary: xorg-x11 crashes with certain xscreensaver-4.16 choices
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-19 09:37 UTC by Collins Richey
Modified: 2004-11-16 14:07 UTC (History)
0 users

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


Attachments
my xorg.conf (xorg.conf,4.29 KB, text/plain)
2004-11-13 21:20 UTC, Collins Richey
Details
the xorg log (Xorg.0.log,35.98 KB, text/plain)
2004-11-13 21:30 UTC, Collins Richey
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Collins Richey 2004-09-19 09:37:39 UTC
I believe this behavior is new with 6.8.0-r1, since I never encountered it with prior xorg releases. Certain screensavers (atunel, blinkbox, boxed, etc.) crash the server every time invoked. I've disabled xscreensaver until this is resolved. I don't have nvidia or ati; using builtin X driver 'sis' for my SiS650 onboard card. I'm using the following modules (no changes since moving to xorg-x11):

Section "Module"
  Load         "dbe"
  Load         "type1"
  Load         "speedo"
  Load         "freetype"
  Load         "extmod"
  Load         "glx"
  Load         "v4l"
EndSection

I've re-emerge xscreensaver-4.16, but this does not help. I did not notice this behavior on 6.8.0, but that was only on my system for 3 days, so maybe I didn't hit one of the suspect screensavers during that time.

Reproducible: Always
Steps to Reproduce:
Also crashes during normal xscreensaver action, but the easiest way to reproduce is:
1. xscreensaver-demo
2. select atunel or blinkbox or boxed
3.

Actual Results:  
xserver dies - return to window manager (wdm in my case).

Expected Results:  
the xscreensaver did not crash the server on prior xorg-x11 releases.

 emerge info
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r3 i686)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.7-r4
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -pipe -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -pipe -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage_overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl
dba dvdr encode esd foomaticdb gd gdbm gif gnome gpm gtk gtk2 guile imlib innodb
java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls
nptl oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime
readline samba scanner sdl session simplexml slang soap sockets spell sqlite sse
ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xprint xsl xv zlib"
Comment 1 Collins Richey 2004-09-20 14:30:14 UTC
I was wrong. This is not new behavior with xorg-6.8.0-r1. I've backed out to 6.7.0-r2, and xscreensaver still crashes. 
Comment 2 Collins Richey 2004-09-22 11:01:51 UTC
Refer to bug #64925. After upgrading to gcc-3.4.2-r2, setting the new profile with gcc-config to use the new compiler, and recompiling gtk+ (gtk+-2.4.9-r1), the problem is gone! This is using xorg-x11-6.7.0-r2. I will verify with the 6.8 versions.

Comment 3 Scott Amort 2004-09-23 09:37:40 UTC
I can confirm the behaviour in xorg-x11-6.7.0-r2 and xorg-x11-6.8.0-r1, and gcc-3.4.2-r1 or earlier, and also confirm that it is fixed with gcc-3.4.2-r2 (after recompiling both gtk+-2.5.3 in my case, and xscreensaver-4.16 with the new gcc)
Comment 4 Collins Richey 2004-11-11 19:10:19 UTC
After latest upgrades to gcc-3.4.3 and glibc-2.3.4.20041102, xscreensaver-demo causes X to crash when Atlantis (among others) screensaver is tested. I have also upgraded to  xorg-x11-6.8.0-r1. I have reemerged everything I can think of - gtk+ xscreensaver libglade. I have run gcc-config and the libtoolfix shell. I have rerun opengl-update. I'm still at xscreensaver-4.16.
Comment 5 Collins Richey 2004-11-13 12:51:50 UTC
downgraded to xorg-x11-6.7.0-r2, but xscreensaver still produces X server crash.
Comment 6 Collins Richey 2004-11-13 12:56:37 UTC
latest  emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9 i686)
=================================================================
System uname: 2.6.9 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.5
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dba dvdr encode esd f77 fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib innodb java jpeg junit kde libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba scanner sdl session simplexml slang soap sockets spell sqlite ssl svga tcltk tcpd tiff truetype usb x86 xml2 xmms xprint xsl xv zlib"

Comment 7 Adam Jackson 2004-11-13 15:52:48 UTC
this is odd.  sis650 doesn't have a DRI driver, so your rendering is going through the indirect renderer.  so i should be able to reproduce this, but i can't.  hrm...
Comment 8 Andrew Bevitt 2004-11-13 16:03:47 UTC
Can you attach your xorg.conf file (plain/text format please).

Perhaps also try recompiling xscreensaver with -march=pentium3 to disable sse2, dont see that working however because the screensavers you mentioned, worked here with sse2.

To follow on the sis 300 series chipsets are the only ones with DRI/OpenGL support, hardware accelerated wise anyway, so you are using software GL.
Comment 9 Collins Richey 2004-11-13 21:20:03 UTC
Created attachment 43907 [details]
my xorg.conf

Here is my xorg.conf.
Comment 10 Collins Richey 2004-11-13 21:30:40 UTC
Created attachment 43908 [details]
the xorg log

Here is my most recent log. I'm on xorg-x11-6.7.0-r2 for this iteration
Comment 11 Collins Richey 2004-11-13 21:34:14 UTC
Next I will try the recompile you suggested.
Comment 12 Collins Richey 2004-11-13 21:48:15 UTC
No difference with xscreensaver compiled with march=pentium3. X server still crashes trying the Atlantis screensaver.
Comment 13 Andrew Bevitt 2004-11-13 22:36:20 UTC
For the sake of double checking. Can you 
opengl-update xorg-x11

Comment out : Load "dri"; in your xorg.conf

Try commenting out Load "glx" if the above doesnt work, I know that disables GL, but just try it to see what happens...
Comment 14 Collins Richey 2004-11-14 07:29:37 UTC
The problem becomes more and more elusive. I upgraded again to xorg-x11-6.8.0-r1 and xscreensaver-4.16. Now the Atlantis screensaver works, but BouncingCows fails. Earlier Atlantis failed even with this combination.

1. I tried without loading DRI and GLX, but same results.
2. I have run opengl-update xorg-x11 several times with no difference.
3. As soon as I do some RTFMing, I will try running X with gdb.
Comment 15 Collins Richey 2004-11-14 07:43:51 UTC
Add to the list. glxgears also crashes the X server.
Comment 16 Collins Richey 2004-11-15 06:31:56 UTC
I rebuilt xorg with 'USE="debug" FEATURES="nostrip" emerge xorg-x11'
When attempting to use gdb I get a hung machine, i.e. from a root user

1. gdb
2. attach ???? (PID of X server)

Machine is hard hung; power off required to clear.

Comment 17 Adam Jackson 2004-11-15 07:00:53 UTC
you do know that you can't debug a running X server from an X client attached to that server, right?

try ssh'ing into the machine and running gdb that way.
Comment 18 Collins Richey 2004-11-16 13:58:30 UTC
I don't understand what this has to do with the problem, but I emerged pango and expat (pointed to by 'ldd /usr/bin/xscreensaver-demo') and the problem has disappeared. Both xscreensaver-demo and glxgears work as advertised.
Comment 19 Donnie Berkholz (RETIRED) gentoo-dev 2004-11-16 14:07:04 UTC
If the problem recurs, please reopen.