Permalink
Please sign in to comment.
Browse files
Fix segfault under gcc 8.
CPython had undefined behavior for a long time, and gcc 8 turned this into a segfault. This commit description explains it well: python/cpython@e348c8d There was a 'long double' to ensure a larger alignment (which apparently mattered for some platforms, at some time in the past). But Python's memory allocator only guarantees 8-byte alignment, which caused the undefined behavior. Other background: https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg570352.htmlo https://mail.python.org/pipermail/python-dev/2018-January/152000.html Fixes issue #107.
- Loading branch information...
0 comments on commit
3c2a7c2