Project

General

Profile

Actions

Bug #1896

closed

Segfault for Method#== with :send

Added by runpaint (Run Paint Run Run) over 14 years ago. Updated about 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-08-05 trunk 24397) [i686-linux]
Backport:
[ruby-core:24789]

Description

=begin
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 <main>' /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
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 14 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r24421.
=end

Actions

Also available in: Atom PDF

Like0
Like0