Project

General

Profile

Actions

Bug #10290

closed

segfault when calling a lambda recursively after rescuing SystemStackError

Added by Anonymous about 10 years ago. Updated over 5 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 2.1.3p242 (2014-09-19 revision 47629) [x86_64-darwin13.0]
[ruby-core:65254]

Description

The following code segfaults on Ruby 2.1.3:

l = -> { l.() }

begin
  l.()
rescue SystemStackError
  l.() # segfault
end

the issue does not occur on trunk.


Files

ruby_2014-09-25-000925_haswell.log (46.4 KB) ruby_2014-09-25-000925_haswell.log segfault on 2.1.3 Anonymous, 09/25/2014 05:10 AM
ruby_2014-09-25-001644_haswell.log (46.8 KB) ruby_2014-09-25-001644_haswell.log trunk segfault Anonymous, 09/25/2014 05:17 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0