From: Vanja Bucic Date: 2009-07-22T12:25:59+09:00 Subject: [ruby-core:24491] [Bug #1525] Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork? Issue #1525 has been updated by Vanja Bucic. To add my test case: # ------------------------ require 'thread' $stderr.puts RUBY_VERSION $pid = 0 $t1 = Thread.new do $pid = fork { sleep(1) $stderr.puts "thread 1 exiting" exit } end $stdout.puts "ok, thread with fork spawned" $stdout.puts "la la la la" Process.waitpid($pid) $stderr.puts "never done" # ------ outputs ---------- 1.9.2 ok, thread with fork spawned la la la la ---------------------------------------- http://redmine.ruby-lang.org/issues/show/1525 ---------------------------------------- http://redmine.ruby-lang.org