New submission from ggardet <guillaume.gar...@arm.com>:
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' option allows to workaround the problem. For glibc, you need version 2.33 or later and build glibc with '--enable-memory-tagging' option. I guess that patches similar to glibc's patches are required for pymalloc. [0]: https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/enhancing-memory-safety [1]: https://en.opensuse.org/ARM_architecture_support#User-space_support ---------- components: Library (Lib) messages: 389312 nosy: ggardet priority: normal severity: normal status: open title: pymalloc is not aware of Memory Tagging Extension (MTE) and crashes versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43593> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com