From: Hongli Lai Date: 2009-11-21T19:52:11+09:00 Subject: [ruby-core:26859] Re: [Bug #1525](Closed) Deadlock in Ruby 1.9's VM caused by ConditionVariable.wait and fork? Tanaka Akira wrote: > In article <87einw55ej.fsf@fsij.org>, > Tanaka Akira writes: > >> After this commit, test-all causes SEGV on FreeBSD 6.4. > > Simplified test case: > > % ./ruby -e 'fork { puts }' > -e:1: [BUG] native_mutex_unlock return non-zero: 1 > ruby 1.9.2dev (2009-11-19 trunk 25848) [x86_64-freebsd6.4] This is what I get on FreeBSD 7.1-RELEASE: $ ./ruby -e 'fork { puts }' -e:1:in `fork': fork() function is unimplemented on this machine (NotImplementedError) from -e:1:in `
' This is because FreeBSD 7.1 does not pass the 'if fork works with pthread' test. Maybe all FreeBSD versions < 7.1 should be blacklisted too?