Project

General

Profile

Backport #3342

Updated by jeremyevans0 (Jeremy Evans) almost 5 years ago

=begin 
  
  I experience a segfault when calling an aliased method (which has been created with attr_accessor or attr_writer) with multiple arguments. 
  The bug doesn't appear with manually defined methods that accept any number of arguments (i.e., with splat). 
  I'm using Archlinux's official build. 
 
 
  bug.rb:10: [BUG] Stack consistency error (sp: 7, bp: 6) 
  ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux] 
 
  -- control frame ---------- 
  c:0003 p:0108 s:0007 b:0006 l:00036c d:001bec EVAL     bug.rb:10 
  c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH 
  c:0001 p:0000 s:0002 b:0002 l:00036c d:00036c TOP    
  --------------------------- 
  -- Ruby level backtrace information----------------------------------------- 
  bug.rb:10:in `<main>' 
 
  -- C level backtrace information ------------------------------------------- 
  0xb77f2340 /usr/lib/libruby.so.1.9(rb_vm_bugreport+0x60) [0xb77f2340] 
  0xb770d401 /usr/lib/libruby.so.1.9(+0x46401) [0xb770d401] 
  0xb770d49a /usr/lib/libruby.so.1.9(rb_bug+0x3a) [0xb770d49a] 
  0xb77e79fc /usr/lib/libruby.so.1.9(+0x1209fc) [0xb77e79fc] 
  0xb77e810b /usr/lib/libruby.so.1.9(+0x12110b) [0xb77e810b] 
  0xb77e837b /usr/lib/libruby.so.1.9(rb_iseq_eval_main+0xab) [0xb77e837b] 
  0xb770f7a7 /usr/lib/libruby.so.1.9(ruby_exec_node+0xb7) [0xb770f7a7] 
  0xb7710db6 /usr/lib/libruby.so.1.9(ruby_run_node+0x56) [0xb7710db6] 
  0x80486a8 ruby(main+0x68) [0x80486a8] 
  0xb757ab96 /lib/libc.so.6(__libc_start_main+0xe6) [0xb757ab96] 
  0x80485a1 ruby() [0x80485a1] 
 
 =end 
 

Back