Project

General

Profile

Bug #10290

segfault when calling a lambda recursively after rescuing SystemStackError

Added by jacknagel (Jack Nagel) over 5 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
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 jacknagel (Jack Nagel), 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 jacknagel (Jack Nagel), 09/25/2014 05:17 AM

Also available in: Atom PDF