[ruby-core:78360] [Ruby trunk Bug#10290][Assigned] segfault when calling a lambda recursively after rescuing SystemStackError
From:
shyouhei@...
Date:
2016-11-25 13:28:16 UTC
List:
ruby-core #78360
Issue #10290 has been updated by Shyouhei Urabe.
Status changed from Feedback to Assigned
Assignee set to Nobuyoshi Nakada
ping nobu.
----------------------------------------
Bug #10290: segfault when calling a lambda recursively after rescuing SystemStackError
https://bugs.ruby-lang.org/issues/10290#change-61721
* Author: Jack Nagel
* Status: Assigned
* Priority: Normal
* Assignee: Nobuyoshi Nakada
* ruby -v: ruby 2.1.3p242 (2014-09-19 revision 47629) [x86_64-darwin13.0]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
The following code segfaults on Ruby 2.1.3:
```ruby
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-001644_haswell.log (46.8 KB)
--
https://bugs.ruby-lang.org/
Unsubscribe: <mailto:[email protected]?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>