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.9 required=3.0 tests=AWL,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=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 BAF3D1F4C1 for ; Mon, 21 Oct 2019 05:14:44 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id A80DB1209CE; Mon, 21 Oct 2019 14:14:34 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 97B191209CA for ; Mon, 21 Oct 2019 14:14:32 +0900 (JST) Received: by filter0037p3iad2.sendgrid.net with SMTP id filter0037p3iad2-25171-5DAD3EB9-3E 2019-10-21 05:14:33.474105515 +0000 UTC m=+272556.556911005 Received: from herokuapp.com (unknown [54.159.77.90]) by ismtpd0094p1iad2.sendgrid.net (SG) with ESMTP id xDUOLRyhRA65KOdcVNgIYg for ; Mon, 21 Oct 2019 05:14:33.388 +0000 (UTC) Date: Mon, 21 Oct 2019 05:14:33 +0000 (UTC) From: sam.saffron@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 71040 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 16268 X-Redmine-Issue-Author: sam.saffron X-Redmine-Sender: sam.saffron 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?GD31AXMrLYtZC3ZmvheLkg5nAqKYtjT=2Fa5aksj98ZWM34I9QK7UYTSG5GhMcqJ?= =?us-ascii?Q?d+skIdXcqqokWst+jxcSiyoVUBNAmCtR5Z=2F1ED7?= =?us-ascii?Q?U=2Flx5IEirHC41RSHaU7Ori40oVGjNpClPMeCclZ?= =?us-ascii?Q?O6VrdDo8muWEZEvdYaLnHAhbUtFomBrxWgStvnq?= =?us-ascii?Q?pFAKtFd5MN=2FUh3H5yGx1wb5lcmZW4jhjy6w=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 95449 Subject: [ruby-core:95449] [Ruby master Bug#16268] Consistent segfault with ObjectSpace.count_imemo_objects 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 #16268 has been reported by sam.saffron (Sam Saffron). ---------------------------------------- Bug #16268: Consistent segfault with ObjectSpace.count_imemo_objects https://bugs.ruby-lang.org/issues/16268 * Author: sam.saffron (Sam Saffron) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.6.5 * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- On 2.6.5: > irb > require 'objspace' > ObjectSpace.count_imemo_objects Segfaults with: ``` /usr/local/lib/ruby/2.6.0/irb/inspector.rb:109: [BUG] Segmentation fault at 0x0000000000000000 ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0023 p:---- s:0100 e:000099 CFUNC :inspect c:0022 p:---- s:0097 e:000096 CFUNC :inspect c:0021 p:0006 s:0093 e:000092 BLOCK /usr/local/lib/ruby/2.6.0/irb/inspector.rb:109 c:0020 p:0008 s:0089 e:000088 METHOD /usr/local/lib/ruby/2.6.0/irb/inspector.rb:102 c:0019 p:0009 s:0084 e:000083 METHOD /usr/local/lib/ruby/2.6.0/irb/context.rb:389 c:0018 p:0013 s:0080 e:000077 METHOD /usr/local/lib/ruby/2.6.0/irb.rb:685 c:0017 p:0033 s:0074 e:000073 BLOCK /usr/local/lib/ruby/2.6.0/irb.rb:494 c:0016 p:0025 s:0071 e:000070 METHOD /usr/local/lib/ruby/2.6.0/irb.rb:647 c:0015 p:0008 s:0065 e:000064 BLOCK /usr/local/lib/ruby/2.6.0/irb.rb:490 c:0014 p:0100 s:0060 e:000059 BLOCK /usr/local/lib/ruby/2.6.0/irb/ruby-lex.rb:246 [FINISH] c:0013 p:---- s:0056 e:000055 CFUNC :loop c:0012 p:0006 s:0052 e:000051 BLOCK /usr/local/lib/ruby/2.6.0/irb/ruby-lex.rb:232 [FINISH] c:0011 p:---- s:0049 e:000048 CFUNC :catch c:0010 p:0012 s:0044 e:000043 METHOD /usr/local/lib/ruby/2.6.0/irb/ruby-lex.rb:231 c:0009 p:0034 s:0040 E:0024a8 METHOD /usr/local/lib/ruby/2.6.0/irb.rb:489 c:0008 p:0005 s:0035 e:000034 BLOCK /usr/local/lib/ruby/2.6.0/irb.rb:428 [FINISH] c:0007 p:---- s:0032 e:000031 CFUNC :catch c:0006 p:0064 s:0027 E:002448 METHOD /usr/local/lib/ruby/2.6.0/irb.rb:427 c:0005 p:0102 s:0022 e:000021 METHOD /usr/local/lib/ruby/2.6.0/irb.rb:383 c:0004 p:0019 s:0016 e:000015 TOP /usr/local/lib/ruby/gems/2.6.0/gems/irb-1.0.0/exe/irb:11 [FINISH] c:0003 p:---- s:0013 e:000012 CFUNC :load c:0002 p:0109 s:0008 E:001200 EVAL /usr/local/bin/irb:23 [FINISH] c:0001 p:0000 s:0003 E:0013f0 (none) [FINISH] ``` Works fine in Ruby master -- https://bugs.ruby-lang.org/