Project

General

Profile

« Previous | Next » 

Revision 1961c5bb

Added by alanwu (Alan Wu) about 2 years ago

YJIT: Plug native stack overflow

Previously, TestStack#test_machine_stack_size failed pretty consistently
on ARM64 macOS, with Rust code and part of the interpreter used for
per-instruction fallback (rb_vm_invokeblock() and friends) touching the
stack guard page and crashing with SEGV. I've also seen the same test
fail on x64 Linux, though with a different symptom.