[ruby-cvs:50891] usa:r43748 (trunk): * eval_intern.h (SAVE_ROOT_JMPBUF): workaround for the failure of

usa at ruby-lang.org usa at ruby-lang.org
Thu Nov 21 15:33:44 JST 2013


usa	2013-11-21 15:33:41 +0900 (Thu, 21 Nov 2013)

  New Revision: 43748

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

  Log:
    * eval_intern.h (SAVE_ROOT_JMPBUF): workaround for the failure of
      test/ruby/test_exception.rb on Windows.
      wrap by __try and __exception statements on mswin to raise SIGSEGV
      when EXCEPTION_STACK_OVERFLOW is occurred, because MSVCRT doesn't
      handle the exception.
      however, (1) mingw-gcc doesn't support __try and __exception
      statements, and (2) we cannot retry SystemStackError after this
      change yet (maybe crashed) because SEH and longjmp() are too
      uncongenial.
    
    * signal.c (check_stack_overflow, CHECK_STACK_OVERFLOW): now defined on
      Windows, too.
    
    * thread_win32.c (ruby_stack_overflowed_p): ditto.

  Modified files:
    trunk/ChangeLog
    trunk/eval_intern.h
    trunk/signal.c
    trunk/thread_win32.c


More information about the ruby-cvs mailing list