Project

General

Profile

Actions

Bug #3690

closed

method_missing in a BasicObject's singleton class - infinite recursion segfaults

Added by rbjl (Jan Lelis) over 14 years ago. Updated over 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.3dev (2010-05-26 trunk 28028) [i686-linux]
Backport:
[ruby-core:31706]

Description

=begin

segfaults with all versions that I tested (1.9.3, 1.9.2, 1.9.1)

obj = BasicObject.new

def obj.method_missing(m, *args, &block)
send( m, *args, &block )
end

puts obj.seg
=end


Files

segfault (313 KB) segfault runpaint (Run Paint Run Run), 08/15/2010 02:25 AM
seg.txt (314 KB) seg.txt segfault output of ruby 1.9.2dev (2010-07-11 revision 28618) [i686-linux] rbjl (Jan Lelis), 08/18/2010 12:12 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0