[Cython] SIGSEGV in __Pyx_CyFunction_traverse

Robert Bradshaw robertwb at gmail.com
Thu Feb 14 05:49:46 CET 2013


Thanks.

On Tue, Feb 5, 2013 at 11:56 AM, J Robert Ray <jrobertray at gmail.com> wrote:
> I was getting a crash during module init of a cython module if a garbage
> collection happens between a call to __Pyx_CyFunction_InitDefaults and the
> code to populate the defaults.
>
> The attached patch fixes the crash. This bug affects at least Cython 0.18
> and 0.17.1.
>
> __Pyx_CyFunction_InitDefaults was not completely zeroing the newly allocated
> 'defaults' buffer.
>
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> http://mail.python.org/mailman/listinfo/cython-devel
>


More information about the cython-devel mailing list