Segfault when using scipy.special.hermite?

Hi, Is there something wrong with scipy.special.hermite? The following code produces glibc errors: ------------8<----------------------- import scipy.special h = [] for i in xrange(15): print i h.append(scipy.special.hermite(i+1)) ------------8<----------------------- results in ... 12 *** glibc detected *** python: free(): invalid next size (fast): 0x00000000007e2290 *** OS: OpenSUSE 11.1 (x86_64) Python 2.6.0 Scipy: 0.7.0 When using ipython 0.8.4 on the same machine, the error does not occur. What may be the problem here? Regards Ole

that code works fine for me: ubuntu 9.04 x64 python 2.6.2 scipy 0.7.1 numpy 1.3.0 ipython 0.9.1 On Wed, Oct 28, 2009 at 2:21 PM, Ole Streicher <ole-usenet-spam@gmx.net> wrote:
Hi,
Is there something wrong with scipy.special.hermite? The following code produces glibc errors:
------------8<----------------------- import scipy.special h = [] for i in xrange(15): print i h.append(scipy.special.hermite(i+1)) ------------8<-----------------------
results in ... 12 *** glibc detected *** python: free(): invalid next size (fast): 0x00000000007e2290 ***
OS: OpenSUSE 11.1 (x86_64) Python 2.6.0 Scipy: 0.7.0
When using ipython 0.8.4 on the same machine, the error does not occur.
What may be the problem here?
Regards
Ole
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

ke, 2009-10-28 kello 14:21 +0100, Ole Streicher kirjoitti:
Is there something wrong with scipy.special.hermite? The following code produces glibc errors:
It's probably this issue: http://projects.scipy.org/numpy/ticket/1211 The most likely cause is that the linear algebra libraries (ATLAS/BLAS/LAPACK) shipped with that version of 64-bit Opensuse are somehow broken. At least on Mandriva it turned out that the problem did not appear if ATLAS was not installed, and it also went away with a newer version of LAPACK. (special.hermite is pure-python code. The only part that can cause problems is scipy.linalg.eig or numpy.linalg.eig, and, much less likely, scipy.special.gamma. The former are thin wrappers around LAPACK routines.) -- Pauli Virtanen
participants (3)
-
Chris Colbert
-
Ole Streicher
-
Pauli Virtanen