From: Robert Dober Date: 2009-02-21T04:50:14+09:00 Subject: [ruby-core:22298] [Bug #1185] Segfault after removal of method_missing Bug #1185: Segfault after removal of method_missing http://redmine.ruby-lang.org/issues/show/1185 Author: Robert Dober Status: Open, Priority: High Category: core, Target version: 1.9.1 ruby -v: ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux] After removing method_missing from BasicObject, ruby bombs on a missing method ----------------------------------------------------------------------------------- ruby -v -e 'class BasicObject; remove_method :method_missing end; "a".lalala!' ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux] [BUG] Segmentation fault ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux] -- control frame ---------- --------------------------- -- Ruby level backtrace information----------------------------------------- -- C level backtrace information ------------------------------------------- 0xb7f3bab4 /home/robert/opt/ruby191/lib/libruby.so.1.9(rb_vm_bugreport+0x64) [0xb7f3bab4] 0xb7e4e6cf /home/robert/opt/ruby191/lib/libruby.so.1.9 [0xb7e4e6cf] 0xb7e4e76a /home/robert/opt/ruby191/lib/libruby.so.1.9(rb_bug+0x3a) [0xb7e4e76a] 0xb7edeeed /home/robert/opt/ruby191/lib/libruby.so.1.9 [0xb7edeeed] 0xb7fb6410 [0xb7fb6410] 0xb7f319bb /home/robert/opt/ruby191/lib/libruby.so.1.9(rb_iseq_eval_main+0xab) [0xb7f319bb] 0xb7e507e7 /home/robert/opt/ruby191/lib/libruby.so.1.9(ruby_exec_node+0xb7) [0xb7e507e7] 0xb7e51f56 /home/robert/opt/ruby191/lib/libruby.so.1.9(ruby_run_node+0x56) [0xb7e51f56] 0x80487d4 ruby(main+0x74) [0x80487d4] 0xb7c27685 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7c27685] 0x80486c1 ruby [0x80486c1] [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html Aborted ---------------------------------------- http://redmine.ruby-lang.org