SEGV when calling GC.start in a finalizer

Issue #9463 has been updated by Usaku NAKAMURA.

Related to Bug #9205: Assertion failed: heap_pages_deferred_final == 0
added


Backport #9463: SEGV when calling GC.start in a finalizer

  • Author: Usaku NAKAMURA
  • Status: Assigned
  • Priority: Normal
  • Assignee: Usaku NAKAMURA
  • Category:
  • Target version:
  • ruby -v: ruby 1.9.3p505 (2014-01-30 revision 44755)

minimum reproduce code:

raise_proc = proc do |id|
  GC.start
end
3.times do
  ObjectSpace.define_finalizer(Object.new, raise_proc)
end

to fix this, need to backport r33361 and r33460.