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

Charles R Harris charlesr.harris@gmail....
Wed Mar 10 11:06:34 CST 2010


On Wed, Mar 10, 2010 at 10:39 AM, Bruce Southey <bsouthey@gmail.com> wrote:

> 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@scipy.org
> > http://mail.scipy.org/mailman/listinfo/numpy-discussion
> >
> Hi,
> 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)
> http://projects.scipy.org/numpy/changeset/8262
>
> Specifically in the file:
> numpy/core/code_generators/generate_ufunc_api.py
>
> There is an extra call to that should have been deleted on line 54(?).
> Py_DECREF(numpy);
>
> Attached a patch to ticket 1425
> http://projects.scipy.org/numpy/ticket/1425
>
>
Look like my bad. I'm out of town at the moment so someone else needs to
apply the patch. That whole bit of code could probably use a daylight audit.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20100310/adda3bac/attachment.html 


More information about the NumPy-Discussion mailing list