Fedora Linux Support Community & Resources Center

Sections ›› Home | Forums | Guidelines | Forum Help | Fedora FAQ | Fedora News 

Go Back   FedoraForum.org > Fedora Support > Software

Software Help on software problems.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 2009-03-26, 03:52 PM CDT
Amahdy Offline
Registered User
 
Join Date: Mar 2009
Posts: 14
Arrow java hangs on futex_wait

*I sent the following to OpenJDK mailing list:

Hey there!
I'm running fedora 10, with OpenJDK 1.6, and developing with NetBeans 6.5, lately I got a problem with any java application, I can't run any java-based application and always receiving a "futex_wait" hanging on any java based application, I mean, when I run a java-based application I get a hanging interface and when i take a look at running process I see the java process is hanging in "futex_wait" FOR EVER and the application won't run ... I mean here by java-based application a application developed by me maybe, or any other like "netbeans" itself I cant run it, neither "logfactor5", nor any java application or applet for example ...

what I did lately in the system before that appears was installaing "fedora eclipse", and updated the system, I removed all the eclipse stuff and the problem still there, please help me to fix it and/or fix the bug ... Thanks!

*And received this answer:
You should probably ask on a Fedora mailing list. You should also use
jps and jstack to get a stack dump from the stuck process.

** Anybody could help me on solving this please?
Reply With Quote
  #2  
Old 2009-03-26, 07:30 PM CDT
Amahdy Offline
Registered User
 
Join Date: Mar 2009
Posts: 14
I was able finally to run a java-based application after noticing some strange behavior on my PC, and I need some help on how to fix it:

First, after a clear boot on my Fedora 10, I notice that "gvfs-fuse-daemon" is in futex_wait channel, then I tried to run a java-based application so I noticed that it's gettin in futex_wait, and another process also get this which is "imsettings-applet" ...

What I did next is killing all those three process, then retry to run my netbeans and finally it works ... the problem now is after re-boot, the "gvfs-fuse-daemon" come up in futex_wait again and I need each time to kill it ... is it a bug in it? should I find a way to completley remove it from the system? or there is any specific known fix ??

Thanks!
Reply With Quote
  #3  
Old 2009-03-26, 07:47 PM CDT
Amahdy Offline
Registered User
 
Join Date: Mar 2009
Posts: 14
another thing:
If I boot up, then just kill "gvfs-fuse-daemon", this wont make netbeans run, when I run netbeans I get this "imsettings-applet" in futex_wait chanell and must kill it before being able to run netbeans ...

overall, what happens is that I must kill both of "imsettings-applet" and "gvfs-fuse-daemon" processes to be able to use the java ... how can I fix this???
Reply With Quote
  #4  
Old 2009-03-26, 08:06 PM CDT
Amahdy Offline
Registered User
 
Join Date: Mar 2009
Posts: 14
I just tried to start by killing "imsettings-applet" first, but that doesn't change anything, I'm not sure if it's the responsible of the futex_wait of "gvfs-fuse-daemon" but again what the only thing I know now is that I must kill them and any previous futex_wait process [like a java-based application that was in the memory] ...
ok so any thoughts?
Reply With Quote
  #5  
Old 2009-03-28, 05:30 AM CDT
Amahdy Offline
Registered User
 
Join Date: Mar 2009
Posts: 14
this was solved after receiving a couple of updates today including a firefox update ... hope that it wont appear again coz I never got a respose here on what was happening!!!
Reply With Quote
  #6  
Old 2009-03-30, 03:14 AM CDT
KTF Offline
Registered User
 
Join Date: Mar 2009
Posts: 2
I have ran into the exact same problem. My problem isn't related to netbeans in any way. It seems to be related to Swing. I was programming a Java Swing application in Eclipse when at somepoint I decided to run/test my application and BAM it hang instantaneously after starting it. A quick strace revealed the 'crashed' JVM was in futex_wait.

Other Java Swing applications like Adempiere are also affected by this. SWT applications like Azureus and Eclipse don't seem to be affected.

Edit: For completeness sake: This was with the Sun JDK 1.6.0_13
Reply With Quote
  #7  
Old 2009-03-30, 05:32 AM CDT
Amahdy Offline
Registered User
 
Join Date: Mar 2009
Posts: 14
I received a notification from redhat mailing list that this should be fixed after 'imsettings' and 'OpenJDK' update ... just check for system updates and download them ...
Reply With Quote
  #8  
Old 2009-03-30, 05:35 AM CDT
RupertPupkin's Avatar
RupertPupkin Offline
Registered User
 
Join Date: Nov 2006
Location: Detroit
Posts: 2,754
Try installing the libX11 update fix. That seems to have fixed a lot of problems people have been having with Java, Emacs, and a whole bunch of other GUi apps after a recent update.
Reply With Quote
  #9  
Old 2009-03-30, 07:03 AM CDT
KTF Offline
Registered User
 
Join Date: Mar 2009
Posts: 2
I fully updated my Fedora 10 installation yesterday so that shouldn't be the problem. For some reason a reboot stopped the problem from occurring. Well as long as it stays that way that's good enough for me I guess
Reply With Quote
Reply

Tags
futexwait, hangs, java

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
futex_wait conflict causes panic/hang PhillyFloyd General Support 0 2008-05-09 04:41 AM CDT
F8 very slow to boot, hangs; Hangs on reinstall, too! juanzo007 Installation Help 13 2008-01-19 01:17 AM CST
Fedore 5 ALWAYS hangs when I try to play some JAVA game oliver4fedora Software 4 2006-12-22 08:06 PM CST
boot hangs after fstab, shutdown hangs too (FC6 only) Justincase General Support 5 2006-09-25 04:35 PM CDT
Multiple apps locking with FUTEX_WAIT Liembo General Support 0 2005-05-07 01:55 AM CDT

Automatic Translations (Powered by Powered by Google):
Afrikaans Albanian Arabic Belarusian Bulgarian Catalan Chinese Croatian Czech Danish Dutch English Estonian Filipino Finnish French Galician German Greek Hebrew Hindi Hungarian Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Taiwanese Thai Turkish Ukrainian Vietnamese Yiddish

All times are GMT -7. The time now is 12:15 PM CST.

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo



All trademarks, and forum posts in this site are property of their respective owner(s).

FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact | Founding Members
Designed By Ewdison Then | Powered by vBulletin ©2000-2009, Jelsoft Enterprises Ltd.
FedoraForum is Powered by Open Source Projects and Products
Thanks to NLP-er you can enjoy automatic translations (vBET 2.3.8)