Project

General

Profile

Actions

Bug #11109

closed

Crash of irb.

Added by yangzhijava (Jeffrey Yang) almost 9 years ago. Updated almost 9 years ago.

Status:
Third Party's Issue
Assignee:
Target version:
-
ruby -v:
2.2.2
Backport:
[ruby-core:69033]

Description

ENV:
Mac OS X 10.10.3
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-darwin14]

HOW TO COMPILE:

  1. cd to the dir of ruby 2.2.2.
  2. ./configure
  3. make
  4. make install as root.

STEPS:

  1. Start the irb on console.

  2. Type the following code lines in irb:

    require 'stringio'
    require 'bson'
    sio = StringIO.new 1.to_bson
    BSON::Int64. from_bson sio
    
  3. The crash happens.

Please see also the attached file for all details.


Files

bug_report.txt (12 KB) bug_report.txt yangzhijava (Jeffrey Yang), 04/30/2015 01:44 PM
bug.rb (151 Bytes) bug.rb yangzhijava (Jeffrey Yang), 04/30/2015 02:58 PM
bug.rb (162 Bytes) bug.rb yangzhijava (Jeffrey Yang), 04/30/2015 04:06 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0