On Sun, 25 Oct 2020, Allin Cottrell wrote:
So an interesting test on macOS would be to set GRETL_OLD_EV=1 and
see if the problem persists.
I just tried on macOS 10.15.6: I got the crash that Fred reported,
but when I set GRETL_OLD_EV=1 there was no crash.
It turns out this is an Apple bug: there are two arguments to DSYEVR
that are not supposed to be referenced when the function is called
in the mode gretl uses (according to the netlib LAPACK docs). So we
were just passing NULL for those arguments. But apparently Apple's
DSYEVR does reference them, hence a crash on dereferencing a null
pointer. In git (snapshots to follow) we now pass pointers to dummy
arguments in those slots as a workaround.
Allin