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=-2.6 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_PASS,URIBL_CSS,URIBL_CSS_A shortcircuit=no autolearn=no 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 76F911F45F for ; Thu, 9 May 2019 11:47:05 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id AB8BE120A8F; Thu, 9 May 2019 20:46: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 4325C1208EF for ; Thu, 9 May 2019 20:46:57 +0900 (JST) Received: by filter0096p3iad2.sendgrid.net with SMTP id filter0096p3iad2-5470-5CD41331-27 2019-05-09 11:46:57.684301747 +0000 UTC m=+135600.480835436 Received: from herokuapp.com (unknown [54.227.1.136]) by ismtpd0015p1iad2.sendgrid.net (SG) with ESMTP id 5wLxbm06TZ-B6P9oiB3_aw for ; Thu, 09 May 2019 11:46:57.637 +0000 (UTC) Date: Thu, 09 May 2019 11:46:57 +0000 (UTC) From: s.wanabe@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 68098 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15809 X-Redmine-Issue-Author: MSP-Greg X-Redmine-Issue-Assignee: tenderlovemaking X-Redmine-Sender: wanabe 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?FsuGSN1PD4adq4aDFRSSBF8ffe=2F4plpeX9T+dOtlSNYbx22AyX255cJ6mn3qah?= =?us-ascii?Q?Q=2F7+rj700RddkC673Xy2R6MhgG03EWtV5GcoWiW?= =?us-ascii?Q?gOQ5qVY9477jWM73qj4DjfCiSho3tw+Xebsxc6K?= =?us-ascii?Q?d05JRMSmcporod8rKQJJLLwjVw7oJ9CzHAUor24?= =?us-ascii?Q?h78MdEjfSjV0M2BRpCIiMNPfVxY1DwnY8bw=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92615 Subject: [ruby-core:92615] [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 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/