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.8 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 F13391F4B4 for ; Wed, 7 Apr 2021 18:42:50 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id B098C120A2E; Thu, 8 Apr 2021 03:41:49 +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 7D0CC120998 for ; Thu, 8 Apr 2021 03:41:47 +0900 (JST) Received: by filterdrecv-59db977c98-wfzwk with SMTP id filterdrecv-59db977c98-wfzwk-14-606DFD24-3F 2021-04-07 18:42:44.911998396 +0000 UTC m=+1129121.839523310 Received: from herokuapp.com (unknown) by geopod-ismtpd-2-1 (SG) with ESMTP id MS2-xGw6QTujfjYDhxIRbA for ; Wed, 07 Apr 2021 18:42:44.734 +0000 (UTC) Date: Wed, 07 Apr 2021 18:42:44 +0000 (UTC) From: merch-redmine@jeremyevans.net Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 79323 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: jeremyevans0 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?RVE3t853K5scBhbmJHUzZTFFeVC=2FZSUmHZ0Dc+26wcEi2CTgsF1oz0wTSSxGGN?= =?us-ascii?Q?BIRdCkK5wJYpX7UYBP34Tr8Xt+hzCInlEhaOldE?= =?us-ascii?Q?=2Fg6E16MUYJ4tiFBHfEqOFjMw+SEtG5PYgA4OLTV?= =?us-ascii?Q?JZmxpWcTALDIM6gVkm6SDfM8H=2FOIb52UtArf22Z?= =?us-ascii?Q?=2FcKlWOlZLQ7A4eu2A0SPYkhm5KzBuYPJ1IFNADa?= =?us-ascii?Q?cNNaoxMZngDBAjv1Y=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 103277 Subject: [ruby-core:103277] [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 jeremyevans0 (Jeremy Evans). Pull request submitted to fix this: https://github.com/ruby/ruby/pull/4365 ---------------------------------------- Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault https://bugs.ruby-lang.org/issues/17780#change-91361 * 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/