Backport #5205
closedLong-running Ruby process hit EAGAIN in Ruby 1.9.2 as it attempted to terminate
Description
This looks like a threading issue, but I don't know if it is Mac OS X Lion specific. (If it is, it should be rolled up into bug #5076).
From Ruby 1.9.2-p290:
----- snip -----
[BUG] pthread_cond_signal: Resource temporarily unavailable (EAGAIN)
ruby 1.9.2p290 (2011-07-09 revision 32553) [x86_64-darwin11.0.0]
-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:000268 d:000268 TOP
-- C level backtrace information -------------------------------------------
0 ruby 0x00000001044fb62e rb_vm_bugreport + 110
1 ruby 0x00000001043f0283 report_bug + 259
2 ruby 0x00000001043f03f1 rb_bug + 161
3 ruby 0x00000001043f0c53 rb_bug_errno + 1219
4 ruby 0x00000001044ff929 rb_thread_stop_timer_thread + 201
5 ruby 0x0000000104502209 rb_thread_terminate_all + 201
6 ruby 0x00000001043f3cea ruby_cleanup + 362
7 ruby 0x00000001043f3ed9 ruby_run_node + 89
8 ruby 0x00000001043bfc7f main + 79
9 ruby 0x00000001043bfc24 start + 52
10 ??? 0x0000000000000005 0x0 + 5
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Abort trap: 6