From: Heesob Park Date: 2009-07-30T18:13:03+09:00 Subject: [ruby-core:24611] [Bug #1838] str[0,1]||='H' results Stack consistency error Bug #1838: str[0,1]||='H' results Stack consistency error http://redmine.ruby-lang.org/issues/show/1838 Author: Heesob Park Status: Open, Priority: Normal Category: core, Target version: 1.9.1 ruby -v: ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] $ ruby -e '"hello"[0,1]||="H"' -e:1: [BUG] Stack consistency error (sp: 7, bp: 6) ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-linux] -- control frame ---------- c:0003 p:0035 s:0007 b:0006 l:00149c d:0006cc EVAL -e:1 c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH c:0001 p:0000 s:0002 b:0002 l:00149c d:00149c TOP --------------------------- -- Ruby level backtrace information----------------------------------------- -e:1:in `
' -- C level backtrace information ------------------------------------------- 0x811c1c8 ruby(rb_vm_bugreport+0x48) [0x811c1c8] 0x81483c8 ruby [0x81483c8] 0x814844b ruby(rb_bug+0x2b) [0x814844b] 0x811550d ruby [0x811550d] 0x8115fe5 ruby [0x8115fe5] 0x8116125 ruby(rb_iseq_eval_main+0x95) [0x8116125] 0x805a92f ruby(ruby_exec_node+0x9f) [0x805a92f] 0x805b982 ruby(ruby_run_node+0x42) [0x805b982] 0x80594f0 ruby(main+0x60) [0x80594f0] 0xb49dec /lib/libc.so.6(__libc_start_main+0xdc) [0xb49dec] 0x80593d1 ruby [0x80593d1] [NOTE] You may encounter a bug of Ruby interpreter. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html ---------------------------------------- http://redmine.ruby-lang.org