Re: [Sbcl-commits] master: Remove REQUIRED-FOREIGN-SYMBOLS static symbol

Douglas Katzman via Sbcl-devel <[email protected]> Wed, 11 Feb 2026 09:55:27 -0500
Newsgroups gmane.lisp.steel-bank.devel
Message-ID <CAOrNasy1XcDAWCsdZ_uBZKKHGsuRkTFvEavn=-=d4FCX3zc4sA@mail.gmail.com>
Somehow a memset in save.c destroys the value in
'alien_linkage_table_n_prelinked'.
I printed &alien_linkage_table_n_prelinked, and sure enough it overlaps the
array of sighandlers.
There has got to be some monkey business with redefining NSIG that causes
sizeof to return a number greater than at the site of definition of
lisp_sig_handlers.

memset(lisp_sig_handlers, 0, sizeof lisp_sig_handlers); // this is the
culprit

_______________________________________________
Sbcl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sbcl-devel