Strange and hard to reproduce crash

Fernando Perez fperez.net at gmail.com
Thu Nov 2 14:07:42 EST 2006


On 10/23/06, Travis Oliphant <oliphant.travis at ieee.org> wrote:

> I've placed them in SVN (r3384):
>
> arraydescr_dealloc needs to do something like.
>
> if (self->fields == Py_None) {
>     print something
>     incref(self)
>     return;
> }
>
> Most likely there is a missing Py_INCREF() before some call that uses
> the data-type object (and consumes it's reference count) --- do you have
> any Pyrex code (it's harder to get it right with Pyrex).

OK, we've completed another long run (several days), and this time it
didn't crash.  But I think there are still refcount problems.  I'm
attaching the full log file and a plot of the refcount.  It's wrapping
around, and after some point the increase switches to a pefectly
linear pattern, I'm not exactly sure why (it could be a change in the
underlying code after the initialization phase; it's not my code so I
don't know its internals).

I hope this helps, it would be nice to track this down before 1.0.1 is out.

Cheers,

f
-------------- next part --------------
A non-text attachment was scrubbed...
Name: refcounts.png
Type: image/png
Size: 27895 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20061102/247f3033/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: numpy_report.gz
Type: application/x-gzip
Size: 25416 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20061102/247f3033/attachment.bin>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion


More information about the NumPy-Discussion mailing list