From: s.wanabe@... Date: 2019-05-09T11:46:57+00:00 Subject: [ruby-core:92615] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms Issue #15809 has been updated by wanabe (_ wanabe). `rb_gc()` calls `garbage_collect()` and `gc_finalize_deferred()`. Finalizers may create (or recycle) objects, but they can't be pinned because the mark-and-pin phase of `garbage_collect()` is done. How about delaying `gc_finalize_deferred()` phase after `gc_update_references()`? ---------------------------------------- Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms https://bugs.ruby-lang.org/issues/15809#change-77974 * Author: MSP-Greg (Greg L) * Status: Assigned * Priority: Normal * Assignee: tenderlovemaking (Aaron Patterson) * Target version: * ruby -v: ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x64-mingw32 * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- See https://travis-ci.org/ruby/ruby/jobs/525627187#L2684 https://ci.appveyor.com/project/ruby/ruby/builds/24138134/job/i7e441u7se11w7ey#L3402 Both have an error similar to: ``` /ruby/test/ruby/test_gc_compact.rb:128: [BUG] ROOT finalizers points to MOVED: 0x0000000004679c20 -> 0x00000000089367c0 [0 ] T_ARRAY [E ] len: 1 (embed) ``` ruby-loco has also failed with a similar error. Attached STDERR output. ---Files-------------------------------- test_all_err.log (42 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: