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

Johann Cohen-Tanugi cohen at lpta.in2p3.fr
Tue Mar 9 18:33:02 EST 2010



On 03/10/2010 12:07 AM, Pauli Virtanen wrote:
> ti, 2010-03-09 kello 21:14 +0100, Johann Cohen-Tanugi kirjoitti:
>    
>> thinking about it, this morning there was a fedora update to python, so
>> I am using 2.6.2-4.fc12.
>> Looks like the problem is in python itself, hence this piece of info.
>>      
> That the problem would be in Python is not so clear to me. Can you try
> running it with the previous Python shipped by Fedora? Do you see the
> problem then? What's the previous version, btw?
>    
2.6.2-1 IIRC. I would have to check, and I am not sure how to either 
query this information or step back one update up with yum :(
> Memory errors are somewhat difficult to debug. Can you try running only
> a certain subset of the tests, first
>
> 	nosetests numpy.core
>    
crash
> Be sure to set Pythonpath so that you get the correct Numpy version. If
> it segfaults, proceed to (under numpy/core/tests)
>
> 	nosetests test_multiarray.py
> 	nosetests test_multiarray.py:TestNewBufferProtocol
>    
neither crash, so the problem is not there....
> Since the crash occurs in cyclic garbage collection, I'm doubting a bit
> the numpy/core/src/multiarray/numpymemoryview.c implementation, since
> that's the only part in Numpy that supports that.
>
> Alternatively, just replace numpymemoryview.c with the attached one
> which has cyclic GC stripped, and see if you still get the crash.
>
> Cheers,
> Pauli
>
>
>    
>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20100310/0d9bd1aa/attachment.html>


More information about the NumPy-Discussion mailing list