From: Greg.mpls@... Date: 2019-05-16T20:03:56+00:00 Subject: [ruby-core:92687] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms Issue #15809 has been updated by MSP-Greg (Greg L). @wanabe Thank you for your work on this. Today, I had the SEGV fault again during a ruby-loco build, and have found that running the two following test files will cause a SEGV: ``` drb/test_drbobject.rb ruby/test_gc_compact.rb ``` I don't know if interaction with tests other than `drb/test_drbobject.rb` will cause a SEGV in `ruby/test_gc_compact.rb`. `ruby/test_gc_compact.rb` seems to have been isolated in the CI here. Up to now, ruby-loco has reliably passed test-all running parallel with retry. I don't know c, and even if I did, I wouldn't want to jump into GC code. Hence, I can't help with the issue. It certainly seems incorrect to 'sweep the issue under the rug' via test isolation. I can't think of any code in Ruby that should include a caveat something like "this may SEGV if you use it with an indeterminate set of classes/modules/methods... I may isolate the drb test in ruby-loco and see what happens... ---------------------------------------- Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms https://bugs.ruby-lang.org/issues/15809#change-78046 * 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: