[issue43593] pymalloc is not aware of Memory Tagging Extension (MTE) and crashes

2021-03-29 Thread ggardet
ggardet added the comment: With PYTHONMALLOC=malloc, gdb is not crashing anymore. Thanks for the workaround. pymalloc is not aware of MTE, so a SegFault occurs on any access to the memory since the check fails. -- ___ Python tracker <ht

[issue43593] pymalloc is not aware of Memory Tagging Extension (MTE) and crashes

2021-03-22 Thread ggardet
ggardet added the comment: Is there any runtime option (env variable or something else) to use glibc malloc instead of pymalloc? Or the choice made at compile time is immutable? -- ___ Python tracker <https://bugs.python.org/issue43

[issue43593] pymalloc is not aware of Memory Tagging Extension (MTE) and crashes

2021-03-22 Thread ggardet
New submission from ggardet : When Memory Tagging Extension (MTE) [0] is enabled on aarch64, python malloc make programs to crash. I noticed it while trying to use GDB with MTE enabled in user-space [1], and gdb crashed on start-up. Rebuilding python (3.8) using '--without-pymalloc