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=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,UNPARSEABLE_RELAY 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 BDDB71F5AE for ; Sun, 23 May 2021 06:01:25 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id DFFCA120B11; Sun, 23 May 2021 15:00:18 +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 F2930120AEA for ; Sun, 23 May 2021 15:00:16 +0900 (JST) Received: by filterdrecv-77df4fc8dd-pmncx with SMTP id filterdrecv-77df4fc8dd-pmncx-1-60A9EFB1-80 2021-05-23 06:01:21.569348311 +0000 UTC m=+1424011.406885457 Received: from herokuapp.com (unknown) by ismtpd0144p1iad2.sendgrid.net (SG) with ESMTP id PYWAXlwuR5uNhkM1S52_Zw for ; Sun, 23 May 2021 06:01:21.465 +0000 (UTC) Date: Sun, 23 May 2021 06:01:21 +0000 (UTC) From: nagachika00@gmail.com 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: nagachika 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: 80039 X-SG-EID: =?us-ascii?Q?O2wxg26uOO6cft6GjkEp=2FGevTnH9lR=2FEdG60AX3F8=2FDKBlf5LgaF3ogZ8zeQoO?= =?us-ascii?Q?wRd03BmXOiMwwn0gMOy=2FkNOSbYAnr833ATTq6u9?= =?us-ascii?Q?3Wk1IWU0i+gOId6D2N55XLGMbcuE1fa4y2++b08?= =?us-ascii?Q?YbMZYg2gdGbccp9U4g3iLFfpAFvC+BtkeWKS3Cp?= =?us-ascii?Q?Mhg0IEXnQ=2F1BEw80E=2FU9xoIpKF=2FmODRrMyQ=3D=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 103992 Subject: [ruby-core:103992] [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 nagachika (Tomoyuki Chikanaga). Backport changed from 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED to 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE ruby_3_0 410216c9db033a72f4dd119c366bc58dd54383ec merged revision(s) d8a13e504992a45d52063f7c925408d7aad3595a. ---------------------------------------- Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault https://bugs.ruby-lang.org/issues/17780#change-92129 * Author: dewyze (John DeWyze) * Status: Closed * Priority: Normal * Assignee: peterzhu2118 (Peter Zhu) * ruby -v: 2.7.3p183 * Backport: 2.6: REQUIRED, 2.7: REQUIRED, 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/