[3.14] GH-139653: Only raise an exception (or fatal error) when the stack pointer is about to overflow the stack. (GH-141711) (GH-141944)
Only raises if the stack pointer is both below the limit *and* above the stack base. This prevents false positives for user-space threads, as the stack pointer will be outside those bounds if the stack has been swapped. Cherry-picked from commit c25a070759952b13f97ecc37ca2991c2669aee47 Co-authored-by: Mark Shannon <mark@hotpy.org>
P
Petr Viktorin committed
69021e9acf74a4a43325241d641b6d09ed55b699
Parent: 20a677d
Committed by GitHub <noreply@github.com>
on 11/26/2025, 11:54:56 AM