[SciPy-User] Problem with scipy.special.chebyt

Pauli Virtanen pav at iki.fi
Fri Aug 28 11:38:56 EDT 2009


Fri, 28 Aug 2009 07:15:49 -0400, Ivo Maljevic kirjoitti:
>>>> import scipy.special
>>>> scipy.special.chebyt(12)(-0.5)
> *** glibc detected *** python: malloc(): memory corruption:
> 0x0000000000afdf40 ***

This particular glibc error does not necessarily mean that the problem is 
in chebyt -- glibc just notices the problem at this point, but the 
corruption may have occurred earlier. Can you try running eig() etc. 
multiple times?

The point is that scipy.special.chebyt is mostly pure-python code, which 
calls, among others, eig() and special.gamma(). It is very likely the 
error is in these lower-level routines. It'd be helpful if you were able 
to find out which routine bugs out.

-- 
Pauli Virtanen




More information about the SciPy-User mailing list