Hi all,

The following code causes a seg fault (Ruby 1.6.4, Debian Linux):

#...
class Test
    def foo()
        puts 'hello world'
    end

    def method_missing(methId)
        puts "Got this method call: #{methID}"
    end
end

t = Test.new()
t.foo()
t.bar()
#...

Now obviosly this code is incorrect (it should be 'methId', not
'methID'), but I would expect to get a NameError, not a core dump. In
fact, the seg fault seems to be pretty harsh -- it's a 9MB core dump,
and a backtrace from gdb shows about 14,800 function calls on the stack.

Is this a bug?

Cheers,

Neil