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.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY 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 C54C91F8C7 for ; Sat, 3 Jul 2021 16:53:50 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id EAA3712096F; Sun, 4 Jul 2021 01:52:30 +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 B08D512096F for ; Sun, 4 Jul 2021 01:52:28 +0900 (JST) Received: by filterdrecv-6ff7cc5fdf-w68w2 with SMTP id filterdrecv-6ff7cc5fdf-w68w2-1-60E0960E-C 2021-07-03 16:53:34.237617205 +0000 UTC m=+245537.175353196 Received: from herokuapp.com (unknown) by ismtpd0201p1mdw1.sendgrid.net (SG) with ESMTP id fuK0o_CwSrGeY6AUU2g5BQ for ; Sat, 03 Jul 2021 16:53:34.170 +0000 (UTC) Date: Sat, 03 Jul 2021 16:53:34 +0000 (UTC) From: usa@garbagecollect.jp Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 17780 X-Redmine-Issue-Author: dewyze X-Redmine-Issue-Assignee: peterzhu2118 X-Redmine-Sender: usa 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-Redmine-MailingListIntegration-Message-Ids: 80610 X-SG-EID: =?us-ascii?Q?9Ij0W+xF+66shKwcOf8RvdqxJGkEJjaCZuueI4cieuDtJTettXcJT88JJ=2FxRYA?= =?us-ascii?Q?v=2FZK+zVnAG2=2F7IRNC5OWr3gr8m23XqAq1fL+Ipg?= =?us-ascii?Q?0dguhevoy494rLpRJifC4SkhCSNHqXbYt2PfU3a?= =?us-ascii?Q?L=2F9LIxmnn1Q5mVesZmxVyY=2F9nHdK=2FKC+95RRekh?= =?us-ascii?Q?E8Z9pj825BuSDfY1fdWLLHhO5=2F4o37uMgGw=3D=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 104487 Subject: [ruby-core:104487] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault 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 #17780 has been updated by usa (Usaku NAKAMURA). Backport changed from 2.6: REQUIRED, 2.7: DONE, 3.0: DONE to 2.6: DONE, 2.7: DONE, 3.0: DONE ruby_2_6 r67945 merged revision(s) d8a13e50. ---------------------------------------- Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault https://bugs.ruby-lang.org/issues/17780#change-92749 * Author: dewyze (John DeWyze) * Status: Closed * Priority: Normal * Assignee: peterzhu2118 (Peter Zhu) * ruby -v: 2.7.3p183 * Backport: 2.6: DONE, 2.7: DONE, 3.0: DONE ---------------------------------------- This error was discovered while trying to run `bundle exec srb init` on a new rails project. Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example: Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417 Minimum example: ``` module Test def foo puts "hello" end alias :f :foo end method = Test.instance_method(:f) super_method = method.super_method ``` ---Files-------------------------------- crash.log (20.1 KB) -- https://bugs.ruby-lang.org/