[Numpy-discussion] crash at prompt exit after running test

Bruce Southey bsouthey at gmail.com
Wed Mar 10 11:39:42 EST 2010

On 03/10/2010 08:59 AM, Pauli Virtanen wrote:
> Wed, 10 Mar 2010 15:40:04 +0100, Johann Cohen-Tanugi wrote:
>> Pauli, isn't it hopeless to follow the execution of the source code when
>> the crash actually occurs when I exit, and not when I execute. I would
>> have to understand enough of this umath_tests.c.src to spot a refcount
>> error or things like that????
> Yeah, it's not easy, and requires knowing how to track this type of
> errors. I didn't actually mean that you should try do it, just posed it
> as a general challenge to all interested parties :)
> On a more serious note, maybe there's a compilation flag or something in
> Python that warns when refcounts go negative (or something).
> Cheers,
> Pauli
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
I think I managed to find this. I reverted back my svn versions ($svn 
update -r 8262) and cleaned both the build and installation directories.

It occurred with changeset 8262 (earlier changesets appear okay but 
later ones do not)

Specifically in the file:

There is an extra call to that should have been deleted on line 54(?).

Attached a patch to ticket 1425


More information about the NumPy-Discussion mailing list