Hello LWJGL-crew,
I'm hunting a very nasty bug, that every 20 or 30 seconds occurs. The entire mainloop freezes and tracing via Ctrl+Break on the console, it shows this stacktrace on Windows XP while all other (VM) threads are dormant in Object.wait or Thread.sleep.
"main" prio=6 tid=0x00035c68 nid=0xb18 runnable [0x0007f000..0x0007fc40]
at org.lwjgl.opengl.WindowsDisplay.nUpdate(Native Method)
at org.lwjgl.opengl.WindowsDisplay.update(WindowsDisplay.java:291)
at org.lwjgl.opengl.WindowsDisplay.pollKeyboard(WindowsDisplay.java:383)
at org.lwjgl.input.Keyboard.poll(Keyboard.java:349)
at org.lwjgl.opengl.Display.update(Display.java:598)
Could it be the right track, or is it by bad chance, that I caught the thread in this state? Are there any locks which prevent the Display to draw?
Cheers,
Sor
No idea what is causing this. Can you send us a minimal test case? This happens on Windows XP SP2, right? Which graphics card do you have, and do you have the latest drivers?
For how long does the freeze last?
- elias