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.8 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 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 0E0D51F45F for ; Tue, 7 May 2019 13:42:42 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 45E5B120AC7; Tue, 7 May 2019 22:42:36 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 5F073120AC4 for ; Tue, 7 May 2019 22:42:34 +0900 (JST) Received: by filter0053p3mdw1.sendgrid.net with SMTP id filter0053p3mdw1-1042-5CD18B4A-12 2019-05-07 13:42:34.306807568 +0000 UTC m=+1010936.354578968 Received: from herokuapp.com (unknown [34.228.113.206]) by ismtpd0004p1iad1.sendgrid.net (SG) with ESMTP id DIZeD6l1QE2csEp2V9bSpA for ; Tue, 07 May 2019 13:42:34.239 +0000 (UTC) Date: Tue, 07 May 2019 13:42:34 +0000 (UTC) From: s.wanabe@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 68067 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+dOtlSNarSdW9IKOqwyQHpRCYuc?= =?us-ascii?Q?CGjhmyFZAbbcx0fCF6cuQIIN74PWTd4OStvzS9g?= =?us-ascii?Q?GZ+s=2FpzjbjTsGzekxuJAA7kl+bIcS6dT4NsNtZl?= =?us-ascii?Q?3gofVE8EQrAnR3WLDpeN1LA8rL12mmpp+oUtKIA?= =?us-ascii?Q?uZGXsLxgr=2FwIo=2FxRHXjZGhR19ilCeVQxXbQ=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 92584 Subject: [ruby-core:92584] [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). Recursive finalizer definition raises a similar error on my environment. ``` $ ./miniruby -ve 'def foo(c = 10); ObjectSpace.define_finalizer(Object.new) { foo(c - 1) } if c > 0; end; 10.times do foo; GC.verify_compaction_references end' ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x86_64-linux] -e:1: [BUG] ROOT finalizers points to MOVED: 0x000055eb4bfdfd18 -> 0x000055eb4c041040 [0 ] T_ARRAY [E ] len: 1 (embed) ruby 2.7.0dev (2019-05-06 trunk c3cf1ef9bb) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0005 p:---- s:0017 e:000016 CFUNC :verify_compaction_references c:0004 p:0016 s:0013 e:000012 BLOCK -e:1 [FINISH] c:0003 p:---- s:0010 e:000009 CFUNC :times (snip) ``` Note: this script is inspired by "lib/drb/timeridconv.rb". ---------------------------------------- Bug #15809: GC.verify_compaction_references - intermittent SEGV's on multiple platforms https://bugs.ruby-lang.org/issues/15809#change-77946 * 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/