Re: [Cython] SIGSEGV in __Pyx_CyFunction_traverse

2013-02-13 Thread Robert Bradshaw
Thanks. On Tue, Feb 5, 2013 at 11:56 AM, J Robert Ray 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 af

[Cython] SIGSEGV in __Pyx_CyFunction_traverse

2013-02-05 Thread J Robert Ray
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 wa