21:57:06stylewarningI'm having an issue. I'm overwriting a struct slot from a foreign pointer to a Lisp object in *save-hooks*. All seemingly works well (no errors; I can inspect the changed struct). But when I do SLAD and run the resulting executable, I get an error: test-reify(10971,0x2ec3c0) malloc: *** error for object 0x7000d0: pointer being freed was not allocated
21:57:35stylewarningHowever, when I call the hook manually before SLAD (and disable it in *save-hooks*), things work fine
21:58:49stylewarningThis is apparently before the execution of the entry point function (:TOPLEVEL)
22:00:41stylewarning(by "struct slot" i mean the slot of a Lisp structure object)
22:06:53stylewarningI think this has to do with finalizers somewhere. I do a full GC in my hook and it works.
22:08:49stylewarningAre finalizers called / is GC done before they're deinit'd? Are finalizers called in GC-AND-SAVE?