[SciPy-Dev] SciPy 0.12.0/Numpy 1.7.1 sgerqf segfault

Pauli Virtanen pav@iki...
Mon Apr 15 16:53:02 CDT 2013

16.04.2013 00:32, Pauli Virtanen kirjoitti:
> The actual fix to this bug is with high probability a replacement from
> integer optional,intent(in),depend(n),check(lwork>=m||lwork==-1) ::
> lwork=3*m
> to
> integer optional,intent(in),depend(m),check(lwork>=m||lwork==-1) ::
> lwork=3*m
> on line 653 of scipy/linalg/flapack.pyf.src. This bug doesn't manifest
> always as it depends on ordering of dict entries inside f2py...

Note that this affects mainly the test only --- in the wrapper routines
in Scipy, lwork is obtained via a workspace query, so it should be large
enough in typical use.

Pauli Virtanen

More information about the SciPy-Dev mailing list