Keyboard freezes JOGL KUbuntu

Sometimes, after running JOGL-based programs in Eclipse in KUbuntu, my keyboard freezes and the only thing for it is to log-out-and-log-in-again (no keys respond at all, not even capslock or numlock, nor ctrl-alt-backspace). Other OpenGL-based programs (e.g. Blender) don’t cause the same problem. The keyboard freeze only happens as a result of running JOGL code (e.g. the demos like gears); I’ve not had it happen as a result of anything else I do in KUbuntu. The freeze happens just after I quit a JOGL program, not during its running.

Any ideas ?

I’ve never experienced it under Linux whereas I’ve launched my game a lot of time under Eclipse. I’m under Mandriva Linux 2007 and I use KDE. Does your problem occur only when an application uses JOGLAppletLauncher? Are you sure that you configured JOGL correctly under Eclipse?

I’m not using JOGLAppletLauncher. JOGL is installed on my machine according to the instructions in the Linux distribution. My Eclipse run targets have classpath and java.library.path set correctly and JOGL itself runs fine; all the demos run correctly as does my code. It’s only when I quit a program which makes use of JOGL that the keyboard sometimes (and randomly) freezes.

Check into the source code if requestFocus() is called.

no, requestFocus() is not sent