Project

General

Profile

Actions

Bug #2246

closed

segfault instead of SystemStackError in 1.8.x

Added by rogerdpack (Roger Pack) over 14 years ago. Updated about 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
[ruby-core:26216]

Description

=begin
class Go
def method_missing meth, *args
[].send meth, *args { |*incoming_args| yield(*incoming_args) }
end
end

Go.new.pop

results in
rdp@rdp-vm:/free_space/rdp/ruby/all_gems_rdocs$ ruby -v attempt_recreate.rb
ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
Segmentation fault

on 1.8.7 linux. (ok in 1.9, windows 1.8.6).
Thanks.
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0