Engine sometimes hangs on exit.
Reference implementation for the Doom game engine.
Brought to you by:
javapimp
The game engine will sometimes hang on exit. This happens fairly infrequently though it is reproduceable more often while running under gdb. It looks like it might be a deadlock in the multimedia library triggered by a timing issue with a sound or music sample stopping naturally while the library itself is shutting down (which tries to force stop any samples currently playing).