Numpy 0.9.8 fails under Mac OS X
import numpy numpy.__version__ '0.9.8' numpy.test(1,1) Found 5 tests for numpy.distutils.misc_util Found 3 tests for numpy.lib.getlimits Found 30 tests for numpy.core.numerictypes Found 13 tests for numpy.core.umath Found 1 tests for numpy.core.scalarmath Found 8 tests for numpy.lib.arraysetops Found 42 tests for numpy.lib.type_check Found 95 tests for numpy.core.multiarray Found 3 tests for numpy.dft.helper Found 36 tests for numpy.core.ma Found 9 tests for numpy.lib.twodim_base Found 2 tests for numpy.core.oldnumeric Found 9 tests for numpy.core.defmatrix Found 1 tests for numpy.lib.ufunclike Found 35 tests for numpy.lib.function_base Found 1 tests for numpy.lib.polynomial Found 6 tests for numpy.core.records Found 19 tests for numpy.core.numeric Found 4 tests for numpy.lib.index_tricks Found 46 tests for numpy.lib.shape_base Found 0 tests for __main__ ...................................................python(9463) malloc: *** Deallocation of a pointer not malloced: 0xd668; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
I built and installed Numpy 0.9.8 successfully from the source using
python setup.py build
sudo python setup.py install
When I run the unit-test though, it fails with the following error:
[~] python
ActivePython 2.4.3 Build 11 (ActiveState Software Inc.) based on
Python 2.4.3 (#1, Apr 3 2006, 18:07:18)
[GCC 3.3 20030304 (Apple Computer, Inc. build 1666)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd4e8; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd650; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd560; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd4a0; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd3f8; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd470; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd320; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd728; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd440; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd410; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd590; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
python(9463) malloc: *** Deallocation of a pointer not malloced:
0xd458; This could be a double free(), or free() called with the
middle of an allocated block; Try setting environment variable
MallocHelp to see tools to help debug
F............................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: check_types (numpy.core.tests.test_scalarmath.test_types)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/numpy/core/tests/test_scalarmath.py",
line 63, in check_types
assert val.dtype.num == typeconv[k,l] and \
AssertionError: error with (13,14)
----------------------------------------------------------------------
Ran 368 tests in 1.517s
FAILED (failures=1)
participants (1)
-
Rudolph van der Merwe