Project

General

Profile

Actions

Bug #6215

closed

print "#{RUBY_PATCHLEVEL.slice(2,3)}\n" results in crash

Added by jordandm (Jordan Dea-Mattson) about 13 years ago. Updated over 6 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-darwin11.3.0]
[ruby-core:43787]

Description

While using Ruby 1.9.3 and Textmate, I attempted to run the following code fragment:
print "#{RUBY_VERSION}\n"
print "#{RUBY_PLATFORM}\n"
print "#{RUBY_RELEASE_DATE}\n"
print "#{RUBY_PATCHLEVEL.slice(2,3)}\n"}

When executing the line print #{RUBY_PATCHLEVEL.slice(2,3), the Ruby interpreter crashed as outlined in the attached files.


Files

ruby_crash_report_slice.txt (2.89 KB) ruby_crash_report_slice.txt Output of Ruby Interpreter Crash jordandm (Jordan Dea-Mattson), 03/28/2012 12:51 PM
ruby_2012-03-27-202304_jordan-macbookpro.crash (10.9 KB) ruby_2012-03-27-202304_jordan-macbookpro.crash Crashreporter Output jordandm (Jordan Dea-Mattson), 03/28/2012 12:51 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0