Java program hangs in FUTEX_WAIT operation

Maarten Boekhold boekhold at
Sun May 6 17:22:11 UTC 2007

Hi all,

I have a java program that hangs on Ubuntu 7.04 Feisty Fawn. When I do 
an strace -p pid I can see it is stuck on a futex(..., FUTEX_WAIT,...) 
operation. I have seen a similar error reported on:

I can't be sure that this is the same issue (would I be able to verify 
this somehow?), but it sure looks the same.

This is on an i386 ubuntu, P4 with HT enabled, using the 'standard' 
ubuntu generic & i386 kernels, and also with a kernel custom 
compiled. Java version is 1.5.0 from Sun.

I haven't tried this same program on 6.xx yet (having some disk space 
issues), but the same program works fine on both Windows XP sp2 and 
Solaris 2.8. Other java programs (and I've only tried a few) work 
without problems on 7.04 using the same JRE version.

Any ideas?

Regards, Maarten

More information about the ubuntu-users mailing list