On Fri, Feb 07 2020, Victor Stinner wrote: > You can find the rationale for this change in two issues: > > * https://bugs.python.org/issue27987 > * https://bugs.python.org/issue36618 > > First, it was a warning in clang ubsan (Undefined Behavior Sanitizer). > Then ctypes started to crash when Python was compiled with clang. It > means that compiling Python 3.7 with clang also had the issue. > > The quick fix was to compile Python with -fmax-type-align=8 when clang > was detected. > > But it was a signal that something was wrong in Python on x86-64: > Python didn't respect the x86-64 ABI.
Thanks for the detailed explanation! >> I've been hit by a segfault recently in a binary wheel running on Python >> 3.7.3, but that worked fine on Python 3.7.5. > > Do you know which wheel package caused the issue? Which part of Python > caused the problem? Well, open a issue and try to provide as much > information as possible ;-) This happened in a custom module I wrote. I've opened https://bugs.python.org/issue39599 with as many details as I can right now. It's a bit fuzzy even for me how to reproduce it with a minimal test case. -- Julien Danjou ;; Free Software hacker ;; https://julien.danjou.info _______________________________________________ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Message archived at https://mail.python.org/archives/list/python-dev@python.org/message/AG2JQ4RSQCHCSKY5YPRRY6H76K3ABO27/ Code of Conduct: http://python.org/psf/codeofconduct/