[SciPy-user] More on problems calling scipy.special.sph_harm

Rick Muller rmuller at sandia.gov
Tue Nov 15 12:51:05 EST 2005


Did a little detective work today. It looks like the crash is  
happening in the scipy.special.lpmn function.

BTW, I'm running on a Macintosh (OS X 10.4), python 2.3.5, scipy 0.3.2.


In [1]: from scipy.special import lpmn

In [4]: for l in range(4):
    ...:     for m in range(l+1):
    ...:         print l,m
    ...:         plm = lpmn(m,l,0.1)
    ...:
0 0
1 0
1 1
2 0
2 1
2 2
Python(4406) malloc: *** error for object 0x355020: incorrect  
checksum for freed object - object was probably modified after being  
freed, break at szone_error to debug
Python(4406) malloc: *** set a breakpoint in szone_error to debug
3 0
Segmentation fault





More information about the SciPy-User mailing list