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 <rep...@bugs.python.org> <http://bugs.python.org/issue25653> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com