Ronald Oussoren added the comment:

The example uses unions, which libffi doesn't really support (see for example 
<https://github.com/atgreen/libffi/issues/33>).

There is an issue in the python tracker about union support in ctypes: #16575.

FWIW. I can still reproduce the issue with x86_64 on OSX with both the 2.7 and 
default branches, while i386 does not crash.

I intend to close this as a duplicate of #16575 as that better explains the 
underlying problem.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14354>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to