From: rubyist@... Date: 2014-07-19T20:26:00+00:00 Subject: [ruby-core:63884] [ruby-trunk - Bug #10061] Segmentation fault Issue #10061 has been updated by John Doe. Nobuyoshi Nakada wrote: > It's a machine stack overflow, and should be fixed already. > Try recent versions. ruby 2.2.0dev (2014-07-20 trunk 46879) [x86_64-linux] Segmentation fault is fixed. ~~~ bug.rb:3:in `puts': stack level too deep (SystemStackError) from bug.rb:3:in `puts' from bug.rb:3:in `
' ~~~ ---------------------------------------- Bug #10061: Segmentation fault https://bugs.ruby-lang.org/issues/10061#change-47910 * Author: John Doe * Status: Feedback * Priority: Low * Assignee: * Category: * Target version: * ruby -v: ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] * Backport: 2.0.0: DONTNEED, 2.1: DONTNEED ---------------------------------------- ~~~ array = [] 100000.times { array = [array] } puts array ~~~ ~~~ bug.rb:4: [BUG] Segmentation fault at 0x007fffaa0e0ff8 ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux] -- Control frame information ----------------------------------------------- c:0004 p:---- s:0011 e:000010 CFUNC :puts c:0003 p:---- s:0009 e:000008 CFUNC :puts c:0002 p:0022 s:0005 E:0022c0 EVAL bug.rb:4 [FINISH] c:0001 p:0000 s:0002 E:0020c8 TOP [FINISH] -- Ruby level backtrace information ---------------------------------------- bug.rb:4:in `
' bug.rb:4:in `puts' bug.rb:4:in `puts' ~~~ -- https://bugs.ruby-lang.org/