<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
hi there, I am adding this to this thread and not to the trac, because
I am not sure whether it adds noise or a piece of info. I just
downloaded the scipy trunk and built it, and ran nosetests on it, which
bombed instantly....<br>
So I tried to get into subdirs to check test scripts separately.....
and here is one :<br>
[cohen@jarrett tests]$ ~/.local/bin/ipython test_integrate.py <br>
---------------------------------------------------------------------------<br>
AssertionError                            Traceback (most recent call
last)<br>
<br>
/home/cohen/sources/python/scipy/scipy/integrate/tests/test_integrate.py
in <module>()<br>
    208 <br>
    209 if __name__ == "__main__":<br>
--> 210     run_module_suite()<br>
    211 <br>
    212 <br>
<br>
/home/cohen/.local/lib/python2.6/site-packages/numpy/testing/nosetester.pyc
in run_module_suite(file_to_run)<br>
     75         f = sys._getframe(1)<br>
     76         file_to_run = f.f_locals.get('__file__', None)<br>
---> 77         assert file_to_run is not None<br>
     78 <br>
     79     import_nose().run(argv=['',file_to_run])<br>
<br>
AssertionError: <br>
python: Modules/gcmodule.c:277: visit_decref: Assertion
`gc->gc.gc_refs != 0' failed.<br>
Aborted (core dumped)<br>
[cohen@jarrett tests]$ pwd<br>
/home/cohen/sources/python/scipy/scipy/integrate/tests<br>
<br>
the bomb is the same, but the context seems different... I leave that
to the experts :)<br>
Johann<br>
<br>
On 03/10/2010 06:06 PM, Charles R Harris wrote:
<blockquote
 cite="mid:e06186141003100906r6f723c57xa3db460af36ad9c9@mail.gmail.com"
 type="cite"><br>
  <br>
  <div class="gmail_quote">On Wed, Mar 10, 2010 at 10:39 AM, Bruce
Southey <span dir="ltr"><<a moz-do-not-send="true"
 href="mailto:bsouthey@gmail.com">bsouthey@gmail.com</a>></span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div>
    <div class="h5">On 03/10/2010 08:59 AM, Pauli Virtanen wrote:<br>
> Wed, 10 Mar 2010 15:40:04 +0100, Johann Cohen-Tanugi wrote:<br>
><br>
>> Pauli, isn't it hopeless to follow the execution of the source
code when<br>
>> the crash actually occurs when I exit, and not when I execute.
I would<br>
>> have to understand enough of this umath_tests.c.src to spot a
refcount<br>
>> error or things like that????<br>
>><br>
> Yeah, it's not easy, and requires knowing how to track this type of<br>
> errors. I didn't actually mean that you should try do it, just
posed it<br>
> as a general challenge to all interested parties :)<br>
><br>
> On a more serious note, maybe there's a compilation flag or
something in<br>
> Python that warns when refcounts go negative (or something).<br>
><br>
> Cheers,<br>
> Pauli<br>
><br>
> _______________________________________________<br>
> NumPy-Discussion mailing list<br>
> <a moz-do-not-send="true" href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
> <a moz-do-not-send="true"
 href="http://mail.scipy.org/mailman/listinfo/numpy-discussion"
 target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
><br>
    </div>
    </div>
Hi,<br>
I think I managed to find this. I reverted back my svn versions ($svn<br>
update -r 8262) and cleaned both the build and installation directories.<br>
    <br>
It occurred with changeset 8262 (earlier changesets appear okay but<br>
later ones do not)<br>
    <a moz-do-not-send="true"
 href="http://projects.scipy.org/numpy/changeset/8262" target="_blank">http://projects.scipy.org/numpy/changeset/8262</a><br>
    <br>
Specifically in the file:<br>
numpy/core/code_generators/generate_ufunc_api.py<br>
    <br>
There is an extra call to that should have been deleted on line 54(?).<br>
Py_DECREF(numpy);<br>
    <br>
Attached a patch to ticket 1425<br>
    <div class="im"><a moz-do-not-send="true"
 href="http://projects.scipy.org/numpy/ticket/1425" target="_blank">http://projects.scipy.org/numpy/ticket/1425</a><br>
    <br>
    </div>
  </blockquote>
  <div><br>
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.<br>
  <br>
Chuck <br>
  </div>
  <br>
  </div>
  <br>
-- <br>
This message has been scanned for viruses and
  <br>
dangerous content by
  <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
and is
  <br>
believed to be clean.
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NumPy-Discussion mailing list
<a class="moz-txt-link-abbreviated" href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a>
<a class="moz-txt-link-freetext" href="http://mail.scipy.org/mailman/listinfo/numpy-discussion">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a>
  </pre>
</blockquote>
</body>
</html>