LinuxQuestions.org
Help answer threads with 0 replies.
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, 01: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, 06:07 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,279

Rep: Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897Reputation: 7897
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 09:21 AM
termios /dev/ttyUSB0 "resource unavailable" nanoo Programming 4 07-14-2009 10:53 AM
vfork: resource temporarily unavailable verbose Linux - General 5 02-04-2007 05:17 AM
Cifs "mount error 11 = Resource temporarily unavailable" humbletech99 Linux - Networking 1 09-26-2006 01:04 PM
xcdroast - resource temporarily unavailable mwildam Linux - Newbie 4 09-24-2006 05:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration