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_MED, 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 B8F301F4B4 for ; Wed, 7 Apr 2021 18:35:32 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id F05F91210E1; Thu, 8 Apr 2021 03:34:31 +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 DF0921210E0 for ; Thu, 8 Apr 2021 03:34:29 +0900 (JST) Received: by filterdrecv-p3iad2-7d7c446bd4-gbg4f with SMTP id filterdrecv-p3iad2-7d7c446bd4-gbg4f-18-606DFB6F-1D 2021-04-07 18:35:27.584494871 +0000 UTC m=+1296144.872169797 Received: from herokuapp.com (unknown) by ismtpd0151p1iad2.sendgrid.net (SG) with ESMTP id Sw1AozzGQ4WKXzIYYPwbSg for ; Wed, 07 Apr 2021 18:35:27.512 +0000 (UTC) Date: Wed, 07 Apr 2021 18:35:27 +0000 (UTC) From: peter@peterzhu.ca Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 79322 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: peterzhu2118 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?RcuVSS+tS7sWhifKYzqjBA6GuxeyciWOTsA27PgjRkZoSf8sm7j4FmtvLf4u6P?= =?us-ascii?Q?3JVhBCw7sLhf5gmg5usc+Yd1XsjtRoTLM6tTplV?= =?us-ascii?Q?RYuFmOimqkII+sS9gpXBjxnfd6bAL0ce0bxfLTj?= =?us-ascii?Q?MfmIlZRvlpuXaBWz6+TWrepyIw5VLnSKdDn9Kj5?= =?us-ascii?Q?1WbELTP98e+s9QwsMaTY0bAgbuJIb7EpGQTDfao?= =?us-ascii?Q?9KHb=2Fmzk72qCysRz8=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 103276 Subject: [ruby-core:103276] [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 peterzhu2118 (Peter Zhu). GitHub PR: https://github.com/ruby/ruby/pull/4364 ---------------------------------------- Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault https://bugs.ruby-lang.org/issues/17780#change-91360 * Author: dewyze (John DeWyze) * Status: Open * Priority: Normal * Assignee: peterzhu2118 (Peter Zhu) * ruby -v: 2.7.3p183 * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- 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/