[issue36856] faulthandler._stack_overflow doesn't work on x86-linux with KPTI enabled

Xi Ruoyao report at bugs.python.org
Wed May 8 14:19:13 EDT 2019


Xi Ruoyao <xry111 at mengyan1223.wang> added the comment:

> Are uintptr_t overflow/underflow semantics a defined behavior?

Yes.  Unlike signed overflow, unsigned overflow is defined to be 2's complement.  The problem is this overflow results a wrong stack pointer limit and breaks _stack_overflow.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36856>
_______________________________________


More information about the Python-bugs-list mailing list