CRITICAL: Lisp interpreter has no panic recovery — a malformed brain kills the whole process #121
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found by the v0.6.0 review (issue #118). There is no recover() anywhere in the interpreter, hook dispatch, or run loop. Two ways a bad brain takes down everything:
(define-hook deposit-rate () (-))crashes the real binary at turn 1.In a bench run one bad brain destroys hundreds of games. The intended hook-error surface (callHook's error reporting) only covers error returns, not panics.