Project

General

Profile

Actions

Bug #15392

closed

Crash in RubyVM::InstructionSequence#to_binary

Added by clayton-shopify (Clayton Smith) about 6 years ago. Updated over 5 years ago.

Status:
Closed
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


Files

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

Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #15200: RubyVM::InstructionSequence can not compile to binary from method call with hash in 'if false' expressionClosedActions

Updated by shyouhei (Shyouhei Urabe) about 6 years ago

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

Updated by clayton-shopify (Clayton Smith) about 6 years ago

shyouhei (Shyouhei Urabe) wrote:

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

The symptoms I observed are the same as #15200, so I expect it is a duplicate of that issue.

Actions #3

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Related to Bug #15200: RubyVM::InstructionSequence can not compile to binary from method call with hash in 'if false' expression added
Actions #4

Updated by jeremyevans0 (Jeremy Evans) over 5 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0