[Numpy-discussion] Segfault for Numpy 1.4.1 on 64-bit CentOS-5
aldcroft at head.cfa.harvard.edu
Fri Nov 16 09:19:53 EST 2012
For library compatibility testing I'm trying to use numpy 1.4.1 with Python
2.7.3 on a 64-bit CentOS-5 platform. I installed a clean Python from
source (basically "./configure --prefix=$prefix ; make install") and then
installed numpy 1.4.1 with "python setup.py install".
The crash message begins with :
*** glibc detected *** /home/aldcroft/vpy/py27_np141/bin/python: free():
invalid next size (fast): 0x000000001a9fcf30 ***
======= Backtrace: =========
A problem which seems related is that fancy indexing is failing:
>>> idx = np.array()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: index 210453397505 out of bounds 0<=index<5
Does anyone have suggestions for compilation flags or workarounds when
building numpy or Python that might fix this?
 I don't know the exact code that triggered this crash, it's buried in
some units tests. If it was useful I could dig it out.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion