Project

General

Profile

Actions

Bug #10061

closed

Segmentation fault

Added by Anonymous almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
[ruby-core:63818]

Description

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 `<main>'
bug.rb:4:in `puts'
bug.rb:4:in `puts'

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0