[Numpy-discussion] Testsuite fails with Python 2.7.3rc1 and 3.2.3rc1 (Debian)

Sandro Tosi matrixhasu at gmail.com
Sun Apr 8 04:28:18 EDT 2012


On Sun, Apr 8, 2012 at 02:41, Charles R Harris
<charlesr.harris at gmail.com> wrote:
> Possibly related to ticket #1578.

yes, that's exactly it:

>>>
$ python2.7-dbg -c "import sys ; sys.path.insert(0,
'/home/morph/deb/build-area/python-numpy-1.6.1/debian/tmp/usr/lib/python$v/dist-packages/')
; import numpy; numpy.test(verbose=10)"
Running unit tests for numpy
/usr/lib/pymodules/python2.7/nose/plugins/manager.py:405: UserWarning:
Module paste was already imported from None, but
/usr/lib/python2.7/dist-packages is being added to sys.path
  import pkg_resources
/usr/lib/pymodules/python2.7/nose/plugins/manager.py:405: UserWarning:
Module dap was already imported from None, but
/usr/lib/python2.7/dist-packages is being added to sys.path
  import pkg_resources
NumPy version 1.5.1
NumPy is installed in /usr/lib/pymodules/python2.7/numpy
Python version 2.7.3rc2 (default, Apr  5 2012, 13:54:40) [GCC 4.6.3]
nose version 1.0.0
nose.config: INFO: Excluding tests matching ['f2py_ext',
'f2py_f90_ext', 'gen_ext', 'pyrex_ext', 'swig_ext']
numpy.core.tests.test_arrayprint.TestArrayRepr.test_nan_inf ... ok
Ticket 844. ... ok
numpy.core.tests.test_blasdot.test_blasdot_used ... ok
test_from_object_array (numpy.core.tests.test_defchararray.TestBasic) ... ok
test_from_object_array_unicode
(numpy.core.tests.test_defchararray.TestBasic) ... ok
test_from_string (numpy.core.tests.test_defchararray.TestBasic) ... ok
test_from_string_array (numpy.core.tests.test_defchararray.TestBasic) ... ok
test_from_unicode (numpy.core.tests.test_defchararray.TestBasic) ...
Debug memory block at address p=0x2ec3cc0: API 'm'
    8 bytes originally requested
    The 7 pad bytes at p-7 are FORBIDDENBYTE, as expected.
    The 8 pad bytes at tail=0x2ec3cc8 are FORBIDDENBYTE, as expected.
    The block was made by call #7954800 to debug malloc/realloc.
    Data at p: a3 03 00 00 00 00 00 00
Fatal Python error: bad ID: Allocated using API 'm', verified using API 'o'
Aborted
<<<

I've replied to the Trac issue attaching 2 gdb
output files for 2.7.3rc2 and 3.2.3rc2 in debug flavor. If you want me
to test anything, I'd be happy to.

Cheers,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi



More information about the NumPy-Discussion mailing list