Project

General

Profile

Actions

Bug #9205

closed

Assertion failed: heap_pages_deferred_final == 0

Added by phasis68 (Heesob Park) about 11 years ago. Updated almost 11 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.0dev (2013-12-02 trunk 43958) [x64-mswin64_120]
[ruby-core:58833]

Description

If I run the following code:

raise_proc = proc do |id|
  p "Finalizer one on #{id}" 
end
10000.times do
  ObjectSpace.define_finalizer(Object.new, raise_proc)
end

I can see an assertion failure.

"Finalizer one on 24535120"
Assertion failed: heap_pages_deferred_final == 0, file gc.c, line 2111

Same error with ruby 2.0.0p353 (2013-11-22) [i386-mingw32]


Files

fix_assertion_fail.patch (981 Bytes) fix_assertion_fail.patch phasis68 (Heesob Park), 12/04/2013 12:39 PM

Related issues 1 (0 open1 closed)

Related to Backport193 - Backport #9463: SEGV when calling GC.start in a finalizerClosedusa (Usaku NAKAMURA)01/30/2014Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0