Infinite recursion allowed in rescue clause
The issue pertains to the following example:
The type of exception raised and rescued is not relevant; the bug occurs with any exception type.
Expected behavior: A SystemStackError should be raised.
Current behavior: The Ruby process will consume cpu and memory until killed.
This is a regression in 1.9.x; the bug does not occur in 1.8-head. The bug is reproducible on all versions of 1.9 I have tested:
ruby 1.9.2p180 (2011-02-18 revision 30909) [i686-linux]
ruby 1.9.2p274 (2011-06-06 revision 31932) [i686-linux]
ruby 1.9.3dev (2011-06-24 trunk 32222) [i686-linux]