From: "drkaes (Stefan Kaes)" Date: 2013-04-18T21:13:50+09:00 Subject: [ruby-core:54432] [ruby-trunk - Feature #6216] SystemStackError backtraces should not be reduced to one line Issue #6216 has been updated by drkaes (Stefan Kaes). It has been pointed out to me that the patched ruby will likely crash when the patched code run on a sigaltstack. I'm working to sort this out. ---------------------------------------- Feature #6216: SystemStackError backtraces should not be reduced to one line https://bugs.ruby-lang.org/issues/6216#change-38709 Author: postmodern (Hal Brodigan) Status: Assigned Priority: Normal Assignee: ko1 (Koichi Sasada) Category: core Target version: next minor When debugging "SystemStackError: stack level too deep" exceptions, it is not helpful that the backtrace is reduced to one single line. Most of the time Ruby incorrectly identifies where cycles begin, resulting in an unrelated "file:line" as the backtrace. A more useful behaviour would be to print the last 30 lines of the backtrace, and have the developer identify which "file:line" is causing the cycle. This is similar to how JRuby handles SystemStackError backtraces. -- http://bugs.ruby-lang.org/