[ruby-cvs:53648] nobu:r46502 (trunk): Backtrace for SystemStackError

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Jun 23 11:35:18 JST 2014


nobu	2014-06-23 11:35:18 +0900 (Mon, 23 Jun 2014)

  New Revision: 46502

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46502

  Log:
    Backtrace for SystemStackError
    
    * eval.c (setup_exception): set backtrace in system stack error
      other than the pre-allocated sysstack_error.  [Feature #6216]
    * proc.c (Init_Proc): freeze the pre-allocated sysstack_error.
    * vm_insnhelper.c (vm_stackoverflow): raise new instance for each
      times without calling any methods to keep the backtrace with no
      further stack overflow.

  Modified files:
    trunk/ChangeLog
    trunk/eval.c
    trunk/proc.c
    trunk/test/ruby/test_exception.rb
    trunk/vm_insnhelper.c


More information about the ruby-cvs mailing list