[issue25653] ctypes+callbacks+fork+selinux = crash

Armin Rigo report at bugs.python.org
Sat Sep 3 03:44:42 EDT 2016


Armin Rigo added the comment:

Attached trivial example.  This gives for me a bus error when run with selinux (actually tested by changing the "return 0;" to "return 1;" in selinux_enabled_check() file Modules/_ctypes/libffi/src/closures.c).

If you comment out any of the two do_stuff() calls, everything works fine.

----------
Added file: http://bugs.python.org/file44353/x.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25653>
_______________________________________


More information about the Python-bugs-list mailing list