Using many GUI java programs with the Sun JDK crashes my X server. (Using Sun's Java plugin in Mozilla also sometimes crashes my X server, so I uninstalled the plugin.) My X server is XF86_SVGA on a "Matrox|MGA G400 AGP" with 32MB of video RAM and running at 1600x1200 at 24bpp. Relevant installed packages (which were installed by the RH7 installer) are: XFree86-4.0.1-1 XFree86-75dpi-fonts-4.0.1-1 XFree86-SVGA-3.3.6-33 XFree86-devel-4.0.1-1 XFree86-libs-4.0.1-1 XFree86-tools-4.0.1-1 XFree86-twm-4.0.1-1 XFree86-xdm-4.0.1-1 XFree86-xfs-4.0.1-1 I also have a number of truetype fonts installed. Steps to reproduce (on my machine): Download, extract the RPM, and install the Sun JDK http://java.sun.com/j2se/1.3/download-linux.html and add /usr/java/jdk1.3.0_02/bin/ to PATH. Download and unzip http://sis.cmis.csiro.au/svg/svgtoolkit-20001211.zip and run the command java -cp svg.jar:lib/xerces.jar:lib/ss_css2.jar:lib/js.jar org.csiro.svg.viewer.Viewer in the directory that is created. (It's the command listed in view.sh, roughly.) Mouse over the toolbar in window that pops up. This causes the X server to crash. I see similar problems with Sun's JDK on other GUI java programs, and I've also seen X server crashes triggered by java applets on web pages while using Sun's Java plugin with Mozilla. I don't see the crashes using the IBM JDK.
Please try the latest XFree86 release 4.0.3-1 at: ftp://people.redhat.com/mharris You'll need the 4.0.3 packages as well as Mesa 3.4-13 also available there. In addition you may need to upgrade a few other RPM's from rawhide. Does it solve the problem for you?
I upgraded to the XFree86-4.0.3-5 packages (I forget whether I got them from rawhide or from the RH 7.1 distro). But anyway, instead of crashing the X server, it now crashes the font server and hangs the X server, which is even worse since I need to connect from another machine to restart the font server and kill the X server...
The recommended JVM to use is the IBM one, but only after reading the release notes for Seawolf (Red Hat Linux 7.1). Suns JVM is broken. It shouldn't kill X though, so the bug report is valid.