Project

General

Profile

Actions

Bug #9589

closed

Stack level too deep during eval causes segmentation fault

Added by carlosayam (carlos aya) over 8 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
1.9.3
Backport:
[ruby-core:61272]

Description

The following silly code, which imho should generate a " stack level too deep (SystemStackError)", segfaults

$ echo 'eval($)' | ruby -n -e 'eval($)'

I thought it may be a bug, not sure.

My version:
carlos-mac$ ruby -v
ruby 1.9.3p327 (2012-11-10) [x86_64-darwin12.2.0]

Actions

Also available in: Atom PDF