[Numpy-discussion] Strange crash in numpy.linalg.lstsq.

Matthew Brett matthew.brett at gmail.com
Mon Aug 17 14:11:46 EDT 2009


Hi Jonathan,

> http://www.cs.toronto.edu/~jtaylor/crash/
>
> I would be interested to know if this bug can be duplicated and/or if anyone
> has any suggestions as to why:
>
> import numpy as np
> A = np.load('A.npy')
> b = np.load('b.npy')
> rc = np.linalg.lstsq(A,b)
>
> produces:
>
> *** glibc detected *** /usr/bin/python: free(): invalid next size (normal):
> 0x091793c0 ***

I just tried it on 4 ubuntu machines, and one Fedora 11 machine,  in
various states of numpy-ness (including recent SVN) with no crash.
What versions of stuff do you have over there?

See you,

Matthew



More information about the NumPy-Discussion mailing list