Bug #2745: iseq_set_sequence: adjust bug (next inside begin...rescue)
http://redmine.ruby-lang.org/issues/show/2745

Author: Kornelius Kalnbach
Status: Open, Priority: Normal
Category: core, Target version: 1.9.2
ruby -v: ruby 1.8.6 (2010-02-05 patchlevel 399) [i686-darwin9.8.0]

Input:
while true
  begin
    raise
    next
  rescue
  end
  break
end

Output:
-: [BUG] iseq_set_sequence: adjust bug
ruby 1.9.2dev (2010-02-14 trunk 26664) [i386-darwin10.2.0]

-- control frame ----------
c:0001 p:0000 s:0002 b:0002 l:000be4 d:000be4 TOP   
---------------------------

-- C level backtrace information -------------------------------------------
0   libruby19.1.9.1.dylib               0x00184ae5 rb_vm_bugreport + 229
1   libruby19.1.9.1.dylib               0x00040e3b report_bug + 379
2   libruby19.1.9.1.dylib               0x00040eec rb_bug + 44
3   libruby19.1.9.1.dylib               0x001578eb iseq_setup + 5179
4   libruby19.1.9.1.dylib               0x001635d7 rb_iseq_compile_node + 1607
5   libruby19.1.9.1.dylib               0x001698ff rb_iseq_new_with_bopt_and_opt + 159
6   libruby19.1.9.1.dylib               0x00169b6b rb_iseq_new_main + 107
7   libruby19.1.9.1.dylib               0x0010997e process_options + 2830
8   libruby19.1.9.1.dylib               0x00109c4b ruby_process_options + 155
9   libruby19.1.9.1.dylib               0x0004690f ruby_options + 127
10  ruby19                              0x00001f17 main + 87
11  ruby19                              0x00001e75 start + 53

[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

Abort trap


----------------------------------------
http://redmine.ruby-lang.org