Project

General

Profile

Actions

Backport #9844

closed

Backport r45947, r45951

Added by h.shirosaki (Hiroshi Shirosaki) almost 10 years ago. Updated almost 10 years ago.


Description

Fix machine stack overflow handling on mingw. See #9739.
r45947, r45951

Updated by luislavena (Luis Lavena) almost 10 years ago

  • Status changed from Open to Assigned
  • Assignee set to nagachika (Tomoyuki Chikanaga)

Updated by luislavena (Luis Lavena) almost 10 years ago

Tomoyuki Chikanaga, can you apply those revisions to ruby_2_1 branch?

This is part of the last 2 issues holding 2.1.x release of RubyInstaller, so want to ensure are backported before any new release.

Thank you.

Updated by luislavena (Luis Lavena) almost 10 years ago

Tomoyuki Chikanaga, do you want us create patch/pull request with the modifications?

Will be great to have this backported before next release of 2.1

Thank you.

Updated by nagachika (Tomoyuki Chikanaga) almost 10 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Applied in changeset r46522.


merge revision(s) r45947,r45951: [Backport #9739] [Backport #9844]

* thread_win32.c (rb_w32_stack_overflow_handler): use Structured
  Exception Handling by Addvectoredexceptionhandler() for machine
  stack overflow on mingw.
  This would be equivalent to the handling using __try and __exept
  on mswin introduced by r43748.
  Exception Handling by AddVectoredExceptionHandler() for machine
  This would be equivalent to the handling using __try and __except
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0