Bug #15050 ยป 0001-test_fiber-show-crash-on-GC-after-forking.patch
test/ruby/test_fiber.rb | ||
---|---|---|
assert_nothing_raised(bug5700) do
|
||
Fiber.new do
|
||
pid = fork do
|
||
Fiber.new {}.transfer
|
||
Fiber.new {
|
||
pid = fork do
|
||
10000.times do
|
||
Fiber.new {}.transfer
|
||
f2 = Fiber.new {
|
||
Fiber.yield
|
||
}
|
||
end
|
||
end
|
||
}.transfer
|
||
end
|
||
end.resume
|
||
end
|
||
-
|