LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-22-2009, 12:15 AM   #1
jungbg
LQ Newbie
 
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
"FUTEX WAIT EAGAIN (Resource temporarily unavailable )"


Hi, All.

I'd met problem using Windriver Linux 2.6.21.7
When I using pthread_cond_timewait(), There were no returns. so I've tried strace -p [pid].

The result is endless loop in pthread_cond_timewait() itself with 'FUTEX WATI'.

please guide me to solve this issue or what could be reason for above
things.
Is it kernel bug or Application bug ? (example: memory crash ?)

------ result of strace -------
lock_gettime(CLOCK_REALTIME, {1261375176, 407341206}) = 0
futex(0x124696fb0, FUTEX_WAKE, 1) = 1
futex(0x124696fb4, FUTEX_WAIT, 2301283074, {0, 871980794}) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_REALTIME, {1261375176, 414540524}) = 0
futex(0x124696fb0, FUTEX_WAKE, 1) = 1
futex(0x124696fb4, FUTEX_WAIT, 2301283074, {0, 864781476}) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_REALTIME, {1261375176, 415002233}) = 0
futex(0x124696fb0, FUTEX_WAKE, 1) = 1
futex(0x124696fb4, FUTEX_WAIT, 2301283074, {0, 864319767}) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x124696fb0, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_REALTIME, {1261375176, 415685235}) = 0
futex(0x124696fb0, FUTEX_WAKE, 1) = 1
futex(0x124696fb4, FUTEX_WAIT, 2301283074, {0, 863636765}) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_REALTIME, {1261375176, 416180778}) = 0
futex(0x124696fb0, FUTEX_WAKE, 1) = 1
futex(0x124696fb4, FUTEX_WAIT, 2301283074, {0, 863141222}) = -1 EAGAIN (Resource temporarily unavailable)
clock_gettime(CLOCK_REALTIME, {1261375176, 420972302}) = 0
futex(0x124696fb0, FUTEX_WAKE, 1) = 1
futex(0x124696fb4, FUTEX_WAIT, 2301283077, {0, 858349698}) = -1 EAGAIN (Resource temporarily unavailable)
 
Old 12-22-2009, 05:07 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,419

Rep: Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532Reputation: 2532
Quote:
Originally Posted by jungbg View Post
Hi, All.

I'd met problem using Windriver Linux 2.6.21.7
When I using pthread_cond_timewait(), There were no returns. so I've tried strace -p [pid].

The result is endless loop in pthread_cond_timewait() itself with 'FUTEX WATI'.

please guide me to solve this issue or what could be reason for above
things.
Is it kernel bug or Application bug ? (example: memory crash ?)
Since you don't post any of your code, or say what you're doing when this error occurs, how can we tell??

I'll "guide you", to look at your code again, and perhaps contact Wind River for help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Resource temporarily unavailable manoj.linux Linux - Enterprise 3 11-06-2009 08:21 AM
termios /dev/ttyUSB0 "resource unavailable" nanoo Programming 4 07-14-2009 09:53 AM
vfork: resource temporarily unavailable verbose Linux - General 5 02-04-2007 04:17 AM
Cifs "mount error 11 = Resource temporarily unavailable" humbletech99 Linux - Networking 1 09-26-2006 12:04 PM
xcdroast - resource temporarily unavailable mwildam Linux - Newbie 4 09-24-2006 04:28 PM


All times are GMT -5. The time now is 10:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration