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.1 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 757D520A1E for ; Fri, 7 Dec 2018 15:19:26 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 048A4120FEE; Sat, 8 Dec 2018 00:19:22 +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 510C1120ECE for ; Sat, 8 Dec 2018 00:19:19 +0900 (JST) Received: by filter0100p3iad2.sendgrid.net with SMTP id filter0100p3iad2-26868-5C0A8F72-77 2018-12-07 15:19:14.880172476 +0000 UTC m=+67609.934157511 Received: from herokuapp.com (ec2-54-167-68-155.compute-1.amazonaws.com [54.167.68.155]) by ismtpd0014p1iad2.sendgrid.net (SG) with ESMTP id v2gSelAHS2-KhfIitPMr_w for ; Fri, 07 Dec 2018 15:19:15.031 +0000 (UTC) Date: Fri, 07 Dec 2018 15:19:15 +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: 65763 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/Ymy4QrNMhiuLXJG8OTL2vJD1yS62dIsRy8BhhbB8cqHujWfpbdI87qC0gr+bOo ZzG0gQXeUHV6ZZv3j8fhgfWdbDfJPvbWVKCWf5n+Wyj9LM0CZHWdAd3R6t7wOQTZWTyM9mtPCuBNfX 4LVCCC2Aim7HLJ4Rorz0WKpvj/zSR+QLspDRw9otTQEeninW+KWnzsQhDg== X-ML-Name: ruby-core X-Mail-Count: 90371 Subject: [ruby-core:90371] [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 reported by clayton-shopify (Clayton Smith). ---------------------------------------- Bug #15392: Crash in RubyVM::InstructionSequence#to_binary https://bugs.ruby-lang.org/issues/15392 * 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/