On Tue, 1 Jul 2014, Sven Schreiber wrote:
when testing/developing a function package, I got a reproducible
crash.
The debug message was:
gretl_invert_symmetric_matrix: dpotrf failed with info = 2 (n = 2)
This is on Windows 8 (32bit), gretl build from June 1st -- ok, I took
this event as a hint that I could update the snapshot to yesterday's
version; I still got a hard crash, but some window popped up with a
totally different syntax error relating to a sprintf command.
The error was the missing trailing ', msg' part in the following
(corrected) line:
sprintf msg "%s(Critical values as before)\n", msg
When I fixed that syntax error everyting was fine (strangely enough),
but of course the crash possibility still is a problem.
Indeed. If you could give us an idea of what the script was doing
around the point of the crash that would be very helpful. Attempts
to invert a singular matrix and malformed sprintf commands are, of
course, supposed to generate error messages but not crashes.
Allin