[SciPy-dev] f2py and ATLAS crashing bug

Tiziano Zito opossumnano@gmail....
Wed Nov 11 16:04:22 CST 2009


Hi Anne,
I just checked in the fix for the eigh-related LAPACK wrappers in r6097.
You can trigger a segfault in r6096 with:

import scipy
import scipy.linalg
import pickle
N = 100
x = scipy.random.random((N, N))
s = pickle.dumps(x)
y = pickle.loads(s)
out = scipy.linalg.eigh(y.T, overwrite_a=True)

this is fixed in r6097.

Cheers,
Tiziano

On Tue, Nov 10, 2009 at 1:08 AM, Anne Archibald
<peridot.faceted@gmail.com> wrote:
> I've just checked in code (r6096) that fixes all cases where I was
> able to trigger the bug. Some more difficult cases like eigh, banded
> eigensolvers, and cholesky I wasn't able to trigger the bug and so I
> haven't modified.
>
> Anne


More information about the Scipy-dev mailing list