Project

General

Profile

Actions

Bug #9589

closed

Stack level too deep during eval causes segmentation fault

Added by carlosayam (carlos aya) about 10 years ago. Updated over 4 years ago.

Status:
Closed
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

Like0
Like0Like0Like0Like0Like0