[Pyrex] Test case for Pyrex and Cython (segfault status)

Robert Bradshaw robertwb at math.washington.edu
Tue Nov 27 05:49:26 CET 2007


On Nov 26, 2007, at 6:10 PM, Jim Kleckner wrote:

> Jim Kleckner wrote:
>> Greg Ewing wrote:
>>> David McNab wrote:
>>>> Pyrex's segfaults and stack corruption
>>>> when loading three or more modules from a package hierarchy
>>> Can you provide an example? If there's a crash-causing
>>> bug here, I'd like to fix it.
>>
>> That's why I'm trying to see if using Cython fixes
>> the problem.  I want to be sure that the problem isn't
>> in my code.
>>
>> Can the Cython folks say whether all of their bug fix
>> patches have made it into Pyrex?
>>
>> valgrind produces some suggestive results, but I don't
>> know which are false positives and which are not just yet.
>> I created a page here for notes on using Valgrind:
>>   http://wiki.cython.org/UsingValgrindToDebug
>> Perhaps the Sage folks might comment there as
>> I understand that they use it?
>
> Ok, I switched over my test case to use Cython from
> Pyrex and the segfault went away.  Let me know if
> there is something you would like me to try.

Perhaps this

http://hg.cython.org/cython/rev/2535aa30ba68

or this

http://hg.cython.org/cython/rev/cc53acbeb2ce

was the fix?

We try and forward all bugfixes to the Pyrex list too, don't know if  
you got them.

- Robert




More information about the Pyrex mailing list