From: Run Paint Run Run Date: 2009-08-06T15:29:18+09:00 Subject: [ruby-core:24789] [Bug #1896] Segfault for Method#== with :send Bug #1896: Segfault for Method#== with :send http://redmine.ruby-lang.org/issues/show/1896 Author: Run Paint Run Run Status: Open, Priority: Normal Category: core ruby -v: ruby 1.9.2dev (2009-08-05 trunk 24397) [i686-linux] I get a segfault with the following on 1.9. Same with :__send__. Works on 1.8. $ cat /tmp/segfault.rb String.instance_method(:send) == String.instance_method(:send) $ ruby /tmp/segfault.rb Aborted /tmp/segfault.rb:1: [BUG] rb_add_method: unsupported method type (8) ruby 1.9.2dev (2009-08-05 trunk 24397) [i686-linux] -- control frame ---------- c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :== c:0003 p:0034 s:0006 b:0006 l:002074 d:001f6c EVAL /tmp/segfault.rb:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:002074 d:002074 TOP --------------------------- /tmp/segfault.rb:1:in `
' /tmp/segfault.rb:1:in `==' -- C level backtrace information ------------------------------------------- ruby(rb_vm_bugreport+0xb5) [0x8166ac5] ruby [0x81a283b] ruby(rb_bug+0x28) [0x81a28c8] ruby(rb_method_entry_eq+0x2d) [0x8151cfd] ruby [0x8062316] ruby [0x8152c27] ruby [0x81633d5] ruby [0x8159ccf] ruby [0x815dde2] ruby(rb_iseq_eval_main+0x1a3) [0x815e043] ruby(ruby_exec_node+0x97) [0x805d6d7] ruby(ruby_run_node+0x46) [0x805efb6] ruby(main+0x60) [0x805caf0] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7d26775] ruby [0x805c9f1] [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html ---------------------------------------- http://redmine.ruby-lang.org