Wierd linux problem with display

Started by 1n4001, August 25, 2008, 17:31:15

Previous topic - Next topic

1n4001

When running with lots of threads and memory usage I keep running into random java crashes.  Sometimes java just crashes out because something over-wrote a pointer while in the garbage collection loop (all threads are parked, so its one of my java threads) or I'll get wierd error like this:

Xlib: client uses different protocol version (11) than server (0)!
Exception in thread "ARES" java.lang.NoClassDefFoundError: Could not initialize class org.lwjgl.opengl.Display
        at com.jme.system.lwjgl.LWJGLDisplaySystem.close(Unknown Source)
        at net.onesaf.core.services.gui.ares.core.AresComponent.quit(AresComponent.java:1295)
        at net.onesaf.core.services.gui.ares.core.AresComponent.start(AresComponent.java:513)
        at net.onesaf.core.tools.mon.aresrts.AresRTS$3.run(AresRTS.java:177)
        at java.lang.Thread.run(Thread.java:619)


The Xlib protocol mis-match is the part that bugs me -- are the LWJGL and AWT X streams getting crossed?

At other times it works just fine.

Thanks,
-J

1n4001

RedHat EL 4.2 has the problem (Xorg 6.8), but Ubuntu 7.10 does not (Xorg 7.2).   :'(