From: Eric Wong Date: 2014-01-30T06:32:31+00:00 Subject: [ruby-core:60334] Re: [ruby-trunk - Bug #9198] Segfault in TestException#test_machine_stackoverflow Does it go away if you wrap the test with Thread.new? Likely the same problem I describe in [ruby-core:60248] --- a/test/ruby/test_exception.rb +++ b/test/ruby/test_exception.rb @@ -480,10 +480,12 @@ def test_stackoverflow def test_machine_stackoverflow bug9109 = '[ruby-dev:47804] [Bug #9109]' assert_separately([], <<-SRC) + Thread.new do assert_raise(SystemStackError, #{bug9109.dump}) { h = {a: ->{h[:a].call}} h[:a].call } + end SRC rescue SystemStackError end