Bug 124410

Summary: java hang on futex()
Product: [Retired] Red Hat Linux Reporter: laurence duquesne <lduquesn>
Component: libcAssignee: Jakub Jelinek <jakub>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-05-27 15:24:10 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description laurence duquesne 2004-05-26 12:42:49 UTC
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-2.4.20.8

How reproducible:
Sometimes

Steps to Reproduce:
1.Launch the Swing application
2.Refresh frequently java IHM by passing xterm window
3.wait and have luck
    

Additional info:

Comment 1 Jakub Jelinek 2004-05-27 15:24:10 UTC
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,
please reopen.