From: ts Date: 2008-03-02T18:03:18+09:00 Subject: Re: bootstrap/test_knownbug.rb >>>>> "t" == ts writes: I've forgotten to say : [ruby-bug:17846] for qtruby is just a call to super from a C extension vgs% cat a.c #include static VALUE a_method_missing(int argc, VALUE *argv, VALUE obj) { return Qnil; } static VALUE a_a(int argc, VALUE *argv, VALUE obj) { return rb_call_super(argc, argv); } void Init_a() { VALUE a_cA, a_cB; a_cA = rb_define_class("A", rb_cObject); rb_define_method(a_cA, "method_missing", a_method_missing, -1); a_cB = rb_define_class("B", a_cA); rb_define_method(a_cB, "a", a_a, -1); } vgs% vgs% ruby -ra -e 'B.new.a' DBG> : # DBG> : A DBG> : a -e:1: [BUG] vm_call_super: not found ruby 1.9.0 (2008-03-02 revision 15670) [i686-linux] -- control frame ---------- c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC :a c:0003 p:0019 s:0006 b:0006 l:000005 d:000005 TOP -e:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP :17 --------------------------- DBG> : "-e:1:in `
'" -- backtrace of native function call (Use addr2line) -- 0x80f594a 0x811505c 0x81150cb 0x80f4cf2 0xb7fdb5b4 0x80ebfc6 0x80f41db 0x80efdd0 0x80f34b9 0x80f37dd 0x805d2e8 0x806132a 0x805ad80 0xb7e1f050 0x805acb1 ------------------------------------------------------- Aborted (core dumped) vgs% Guy Decoux