[issue40642] Cpython "pystate.h" subdirectory wrong

2021-04-21 Thread Xi Ruoyao
Xi Ruoyao added the comment: Dup of #39026. And the proposed fix is nack'ed in #39026. -- ___ Python tracker <https://bugs.python.org/issue40642> ___ ___ Pytho

[issue40642] Cpython "pystate.h" subdirectory wrong

2021-03-04 Thread Xi Ruoyao
Change by Xi Ruoyao : -- keywords: +patch nosy: +xry111 nosy_count: 3.0 -> 4.0 pull_requests: +23514 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24744 ___ Python tracker <https://bugs.python.org/i

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

2019-05-08 Thread Xi Ruoyao
Xi Ruoyao 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_overf

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

2019-05-08 Thread Xi Ruoyao
Change by Xi Ruoyao : -- keywords: +patch pull_requests: +13116 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36856> ___ ___ Python-

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

2019-05-08 Thread Xi Ruoyao
New submission from Xi Ruoyao : In faulthandler.c STACK_OVERFLOW_MAX_SIZE is defined to 100 * 1024 * 1024 (100MB). But recently KPTI has been applied to mitigate Meltdown (CVE-2017-5754) so the userspace stack pointer may be very close to 0x on Linux systems with 32-bit x86

[issue24851] infinite loop in faulthandler._stack_overflow

2019-05-08 Thread Xi Ruoyao
Change by Xi Ruoyao : -- versions: +Python 3.7 ___ Python tracker <https://bugs.python.org/issue24851> ___ ___ Python-bugs-list mailing list Unsubscribe: