Red Hat Bugzilla – Bug 32158
Sun JDK crashes X server
Last modified: 2007-04-18 12:32:14 EDT
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:
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
in the directory that is created. (It's the command listed in view.sh,
Mouse over the toolbar in window that pops up. This causes the X server
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:
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.