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=-4.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_PASS 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 3605A20A1E for ; Fri, 14 Dec 2018 13:50:48 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 7088F1217CE; Fri, 14 Dec 2018 22:50:45 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id B6B6A120E6F for ; Fri, 14 Dec 2018 22:50:43 +0900 (JST) Received: by filter0075p3iad2.sendgrid.net with SMTP id filter0075p3iad2-9629-5C13B52F-25 2018-12-14 13:50:39.437010053 +0000 UTC m=+42723.162945391 Received: from herokuapp.com (ec2-54-159-163-113.compute-1.amazonaws.com [54.159.163.113]) by ismtpd0062p1mdw1.sendgrid.net (SG) with ESMTP id 4iihaxrpQgCTebeyBcCZdg Fri, 14 Dec 2018 13:50:39.306 +0000 (UTC) Date: Fri, 14 Dec 2018 13:50:40 +0000 (UTC) From: clayton.smith@shopify.com To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 65933 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15392 X-Redmine-Issue-Author: clayton-shopify X-Redmine-Sender: clayton-shopify 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: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS4TKxg1M48lFLfxOj5/SKnCX8KrUFEb9XsMyk 2D9gbjhYWv3qNiEakoXGy+5RjtbVAPEafY/MC9MP7x9i+LC+ivy7dBK+A5KFdTXE1pLHeCJF8pR1x4 2WL/Oe9rNusCyu68qTQaNQ9tWcXTrmWx9PN5YqBy7XTnlq4lG3FN6YpHEQ== X-ML-Name: ruby-core X-Mail-Count: 90528 Subject: [ruby-core:90528] [Ruby trunk Bug#15392] Crash in RubyVM::InstructionSequence#to_binary 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 #15392 has been updated by clayton-shopify (Clayton Smith). shyouhei (Shyouhei Urabe) wrote: > It seems fixed on my machine. Can be a dup of #14897 ? I suspect it is. The symptoms I observed are the same as #15200, which is also a duplicate of #14897. ---------------------------------------- Bug #15392: Crash in RubyVM::InstructionSequence#to_binary https://bugs.ruby-lang.org/issues/15392#change-75682 * Author: clayton-shopify (Clayton Smith) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- The following program causes a crash in Ruby 2.5.3 and 2.5.1 (but not in 2.4.4): RubyVM::InstructionSequence.compile('a(b: 0) if false').to_binary ---Files-------------------------------- crash.rb (66 Bytes) ruby_2018-12-07-101547_Claytons-MacBook-Pro.crash (38 KB) -- https://bugs.ruby-lang.org/