[Numpy-discussion] Numpy test failure with latest svn
Nils Wagner
nwagner at iam.uni-stuttgart.de
Thu Mar 20 14:20:14 EDT 2008
On Thu, 20 Mar 2008 18:12:22 +0100
"Matthieu Brucher" <matthieu.brucher at gmail.com> wrote:
> Hi,
>
> With latest SVN and Ubuntu 7.10 (Python 2.5.1, gcc
>4.1.3, 32bits computer),
> I don't have any error (BTW, I have 822 tests).
>
> Matthieu
>
> 2008/3/20, Nils Wagner <nwagner at iam.uni-stuttgart.de>:
>>
>> Hi all,
>>
>> I run numpy.test() with latest svn
>>
>> >>> numpy.test()
>> Numpy is installed in
>> /usr/local/lib64/python2.5/site-packages/numpy
>> Numpy version 1.0.5.dev4898
>> Python version 2.5 (r25:51908, Jan 10 2008, 18:01:52)
>>[GCC
>> 4.1.2 20061115 (prerelease) (SUSE Linux)]
>> Found 10/10 tests for numpy.core.defmatrix
>> Found 3/3 tests for numpy.core.memmap
>> Found 249/249 tests for numpy.core.multiarray
>> Found 65/65 tests for numpy.core.numeric
>> Found 31/31 tests for numpy.core.numerictypes
>> Found 12/12 tests for numpy.core.records
>> Found 7/7 tests for numpy.core.scalarmath
>> Found 16/16 tests for numpy.core.umath
>> Found 5/5 tests for numpy.ctypeslib
>> Found 5/5 tests for numpy.distutils.misc_util
>> Found 2/2 tests for numpy.fft.fftpack
>> Found 3/3 tests for numpy.fft.helper
>> Found 20/20 tests for numpy.lib._datasource
>> Found 10/10 tests for numpy.lib.arraysetops
>> Found 0/0 tests for numpy.lib.format
>> Found 48/48 tests for numpy.lib.function_base
>> Found 5/5 tests for numpy.lib.getlimits
>> Found 4/4 tests for numpy.lib.index_tricks
>> Found 4/4 tests for numpy.lib.polynomial
>> Found 49/49 tests for numpy.lib.shape_base
>> Found 15/15 tests for numpy.lib.twodim_base
>> Found 43/43 tests for numpy.lib.type_check
>> Found 1/1 tests for numpy.lib.ufunclike
>> Found 40/40 tests for numpy.linalg
>> Found 89/89 tests for numpy.ma.core
>> Found 12/12 tests for numpy.ma.extras
>> Found 3/3 tests for numpy.random
>> Found 0/0 tests for __main__
>>
>> ............................................................................................................................................................................***
>> Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> ...............................*** Reference count error
>> detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>> *** Reference count error detected:
>> an attempt was made to deallocate 17 (O) ***
>>
>> ...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F................................
>> ======================================================================
>> FAIL: Test of inplace operations and rich comparisons
>> ----------------------------------------------------------------------
>> Traceback (most recent call last):
>> File
>> "/usr/local/lib64/python2.5/site-packages/numpy/ma/tests/test_old_ma.py",
>> line 480, in check_testInplace
>> assert id1 == id(x.data)
>> AssertionError
>>
>> ----------------------------------------------------------------------
>> Ran 815 tests in 1.216s
>>
>> FAILED (failures=1)
>> <unittest._TextTestResult run=815 errors=0 failures=1>
>>
>> Nils
>> _______________________________________________
>> Numpy-discussion mailing list
>> Numpy-discussion at scipy.org
>> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>>
>
>
>
> --
>French PhD student
> Website : http://matthieu-brucher.developpez.com/
> Blogs : http://matt.eifelle.com and
>http://blog.developpez.com/?blog=92
> LinkedIn : http://www.linkedin.com/in/matthieubrucher
Strange, I have installed numpy from scratch. The problem
persists.
I have increased the verbosity level.
Ticket #378*** Reference count error detected:
an attempt was made to deallocate 17 (O) ***
*** Reference count error detected:
an attempt was made to deallocate 17 (O) ***
And the ticket was closed in 2006....
http://projects.scipy.org/scipy/numpy/ticket/378
Nils
More information about the NumPy-Discussion
mailing list