[SciPy-Dev] Recently discovered bug in lots of code mixing C and Fortran

Warren Weckesser warren.weckesser at gmail.com
Fri Jun 21 00:02:23 EDT 2019


On 6/20/19, Nathaniel Smith <njs at pobox.com> wrote:
> Apparently there is a common situation where C code calling into
> Fortran violates the Fortran ABI, and has been accidentally getting
> away with it for years, but in the near future it will start causing
> mysterious crashes:
>
> https://lwn.net/SubscriberLink/791393/d04954027a732415/
> https://developer.r-project.org/Blog/public/2019/05/15/gfortran-issues-with-lapack/
>
> Both CBLAS and LAPACKE are specifically called out as including broken
> code, so I guess this is pretty widespread. I don't know if it affects
> scipy directly, but I'm guessing at least some people reading this
> list have some code that's affected, so... heads-up.
>


Thanks Nathaniel.

Pauli created an issue for this on the scipy github site earlier today:
    https://github.com/scipy/scipy/issues/10335

Warren


> -n
>
> --
> Nathaniel J. Smith -- https://vorpus.org
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at python.org
> https://mail.python.org/mailman/listinfo/scipy-dev
>


More information about the SciPy-Dev mailing list