Red Hat Bugzilla – Bug 124410
java hang on futex()
Last modified: 2007-04-18 13:08:06 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Description of problem:
Java Swing Application with specific threads using JNI fonctions
hangs on os::Linux::safe_cond_wait (result of gcc)
The Swing IHM is completely frozen and the system uses 100% of CPU
The kill -3 on JVM doesn't work.
But the strace reveals that there is a stuck with NPTL futex.
This NPTL futex is in glibc library.
The strace result is :
futex(0x8053048, FUTEX_WAIT, 0, NULL)
Version of java Hotspot 1.4.2_03-b02
Version-Release number of selected component (if applicable):
glibc-2 .3.2-11.9 , kernel-18.104.22.168
Steps to Reproduce:
1.Launch the Swing application
2.Refresh frequently java IHM by passing xterm window
3.wait and have luck
Red Hat Linux 9 is no longer supported and there have been important
NPTL fixes since then. If you manage to reproduce this with Fedora Core 2 or RHEL3 U2,