"make -j32 check TESTS=-j32" occasionally fails on rubygems/specification
This only happens occasionally, maybe 1 out of 10 times during "make check",
so it's probably a bug somewhere with GC.
I'll try to reproduce without parallel tests (could take a while).
It seems to reproduce more easily on slower machine.
I initially thought it was a bug in cachelined, but I can also reproduce it with plain trunk.
block in _resort!': undefined method name' for nil:NilClass (NoMethodError)
sort!' /home/ew/ruby/lib/rubygems/specification.rb:747:in _resort!'
_all' /home/ew/ruby/lib/rubygems/specification.rb:882:in each'
find_all' /home/ew/ruby/lib/rubygems/dependency.rb:284:in to_specs'
to_spec' /home/ew/ruby/lib/rubygems/core_ext/kernel_gem.rb:53:in gem'
<top (required)>' /home/ew/ruby/lib/rubygems/core_ext/kernel_require.rb:55:in require'
require' /home/ew/ruby/test/rubygems/test_gem_package_task.rb:3:in <top (required)>'
require' /home/ew/ruby/lib/rubygems/core_ext/kernel_require.rb:55:in require'
run' /home/ew/ruby/lib/test/unit/parallel.rb:183:in '
Some worker was crashed. It seems ruby interpreter's bug
or, a bug of test/unit/parallel.rb. try again without -j