Project

General

Profile

Bug #15392

Crash in RubyVM::InstructionSequence#to_binary

Added by clayton-shopify (Clayton Smith) 6 days ago. Updated 3 days ago.

Status:
Open
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-darwin18]
[ruby-core:90371]

Description

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

crash.rb (66 Bytes) crash.rb clayton-shopify (Clayton Smith), 12/07/2018 03:18 PM
ruby_2018-12-07-101547_Claytons-MacBook-Pro.crash (38 KB) ruby_2018-12-07-101547_Claytons-MacBook-Pro.crash clayton-shopify (Clayton Smith), 12/07/2018 03:18 PM

History

#1 [ruby-core:90386] Updated by shyouhei (Shyouhei Urabe) 3 days ago

It seems fixed on my machine. Can be a dup of #14897 ?

Also available in: Atom PDF