Project

General

Profile

Actions

Bug #3283

closed

SystemStackError Backtrace returns String not Array

Added by pwagenet (Peter Wagenet) almost 14 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.3dev (2010-05-12 trunk 27763) [x86_64-darwin10]
Backport:
[ruby-core:30196]

Description

=begin
In this commit http://github.com/shyouhei/ruby/commit/ecd11fb371b5f4a00d0b0006b325de3c5437b8d2 changes were introduced that affected how SystemStackError's backtrace was handled. The changes resulted in SystemStackError's backtrace returning a String instead of an Array. However, previously all backtraces have been Arrays. All available documentation supports this notion and numerous Ruby project, including Rails have relied on the backtrace being an Array. Even if the backtrace is going to be truncated as a single line, it should still be returned as a single element Array.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0