Project

General

Profile

Actions

Bug #1185

closed

Segfault after removal of method_missing

Added by RobertDober (Robert Dober) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.1p0 (2009-01-30 revision 21907) [i686-linux]
Backport:
[ruby-core:22298]

Description

=begin
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
=end

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 15 years ago

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

=begin
Applied in changeset r22494.
=end

Actions

Also available in: Atom PDF

Like0
Like0