[issue25653] ctypes+callbacks+fork+selinux = crash
Armin Rigo
report at bugs.python.org
Sat Sep 3 12:01:45 EDT 2016
Armin Rigo added the comment:
For completeness:
* the crasher I attached gets a bus error even before calling
ffi_closure_free(). At that point, only ffi_closure_alloc() has been
called---in both parent and child.
* stricly speaking, cffi is not fixed: it has the same problem when
using callbacks like ctypes. What Christian talks about is an
alternative API that we came up with. It requires the user code to be
slightly different, and is only available if using a C compiler is
acceptable; it is not available in the ctypes-like mode.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25653>
_______________________________________
More information about the Python-bugs-list
mailing list