[Numpy-discussion] malloc failures on 10.5.2 w/ apple python2.5.1

James Snyder jbsnyder@gmail....
Wed May 7 08:30:49 CDT 2008


Hi -

I'm not sure if this is a bug or an error on my part.  I've grabbed the
latest subversion truck and did a build and install on 10.5.2, and I'm
getting malloc errors when running the tests.  Sorry about the revision
being lopped off the Numpy version, I'm current up to r5133, but I'm using
git-svn :-)

Uname: Darwin roeder.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar  4
21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386

>>> numpy.test(10,1)
Numpy is installed in
/Library/Python/2.5/site-packages/numpy-1.1.0.dev-py2.5-macosx-10.5-i386.egg/numpy
Numpy version 1.1.0.dev
Python version 2.5.1 (r251:54863, Feb  4 2008, 21:48:13) [GCC 4.0.1 (Apple
Inc. build 5465)]
  Found 10/10 tests for numpy.core.defmatrix
  Found 3/3 tests for numpy.core.memmap
  Found 280/280 tests for numpy.core.multiarray
  Found 69/69 tests for numpy.core.numeric
  Found 36/36 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 24/24 tests for numpy.lib._datasource
  Found 10/10 tests for numpy.lib.arraysetops
  Found 1/1 tests for numpy.lib.financial
  Found 0/0 tests for numpy.lib.format
  Found 53/53 tests for numpy.lib.function_base
  Found 6/6 tests for numpy.lib.getlimits
  Found 6/6 tests for numpy.lib.index_tricks
  Found 15/15 tests for numpy.lib.io
  Found 1/1 tests for numpy.lib.machar
  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 89/89 tests for numpy.linalg
  Found 93/93 tests for numpy.ma.core
  Found 14/14 tests for numpy.ma.extras
  Found 7/7 tests for numpy.random
  Found 16/16 tests for numpy.testing.utils
  Found 0/0 tests for __main__
......................................................................................................................................................................................................................................................................................................................................................................................................................................Python(1867)
malloc: *** error for object 0x161c430: pointer being reallocated was not
allocated
*** set a breakpoint in malloc_error_break to debug
EPython(1867) malloc: *** error for object 0x161c560: pointer being
reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug
EPython(1867) malloc: *** error for object 0x161c560: pointer being
reallocated was not allocated
*** set a breakpoint in malloc_error_break to debug
E......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
ERROR: test_lengths (numpy.core.tests.test_numeric.TestFromiter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Library/Python/2.5/site-packages/numpy-1.1.0.dev-py2.5-macosx-10.5-i386.egg/numpy/core/tests/test_numeric.py",
line 217, in test_lengths
    a = fromiter(self.makegen(), int)
MemoryError: cannot allocate array memory

======================================================================
ERROR: test_types (numpy.core.tests.test_numeric.TestFromiter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Library/Python/2.5/site-packages/numpy-1.1.0.dev-py2.5-macosx-10.5-i386.egg/numpy/core/tests/test_numeric.py",
line 208, in test_types
    ai32 = fromiter(self.makegen(), int32)
MemoryError: cannot allocate array memory

======================================================================
ERROR: test_values (numpy.core.tests.test_numeric.TestFromiter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Library/Python/2.5/site-packages/numpy-1.1.0.dev-py2.5-macosx-10.5-i386.egg/numpy/core/tests/test_numeric.py",
line 230, in test_values
    a = fromiter(self.makegen(), int)
MemoryError: cannot allocate array memory

----------------------------------------------------------------------
Ran 991 tests in 1.603s

FAILED (errors=3)
<unittest._TextTestResult run=991 errors=3 failures=0>


-- 
James Snyder
Biomedical Engineering
Northwestern University
jbsnyder@gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080507/f2194e35/attachment-0001.html 


More information about the Numpy-discussion mailing list