From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.1 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 8D9721F461 for ; Thu, 16 May 2019 20:04:04 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 0AE5F120BCF; Fri, 17 May 2019 05:03:59 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 3D89B120BC9 for ; Fri, 17 May 2019 05:03:56 +0900 (JST) Received: by filter0121p3las1.sendgrid.net with SMTP id filter0121p3las1-14649-5CDDC22C-15 2019-05-16 20:03:56.363978576 +0000 UTC m=+77123.839209398 Received: from herokuapp.com (unknown [3.90.204.230]) by ismtpd0060p1mdw1.sendgrid.net (SG) with ESMTP id tFw6k3IsRZmTHA65iN2npQ for ; Thu, 16 May 2019 20:03:56.288 +0000 (UTC) Date: Thu, 16 May 2019 20:03:56 +0000 (UTC) From: Greg.mpls@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 68170 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15809 X-Redmine-Issue-Author: MSP-Greg X-Redmine-Issue-Assignee: tenderlovemaking X-Redmine-Sender: MSP-Greg X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?M4W5dkI32Qt1AHWPzmUKqncwpr1RYzW=2Fh5io+QGCFbrh7RghHRyrwikBDltswT?= =?us-ascii?Q?WWYtbWB8arlBvP8voBawZsrrtISj9iI8dDMi4Mg?= =?us-ascii?Q?ByNJxB43hpNPNfIPlph8TTFh7eub7fTaO30eako?= =?us-ascii?Q?JBCMeAtVFogNT=2FTDq3I41b3oxs+t+v0SCErm2TL?= =?us-ascii?Q?PrT7cONDoMuenkH+PiQogrAmWVRFtrnlBsg=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92687 Subject: [ruby-core:92687] [Ruby trunk Bug#15809] GC.verify_compaction_references - intermittent SEGV's on multiple platforms X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" 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/