lem
lem copied to clipboard
Lem on SDL2 - SBCL dropping to LDB when loading a system via ASDF.
Here is the console out:
INFO: Control stack guard page unprotected
INFO: Binding stack guard page unprotected
INFO: Alien stack guard page unprotected
INFO: Alien stack guard page reprotected
INFO: Alien stack guard page unprotected
INFO: Alien stack guard page reprotected
fatal error encountered in SBCL pid 2805 pthread 0x16b26b000:
GC invariant lost, file "gencgc.c", line 661
Welcome to LDB, a low-level debugger for the Lisp runtime environment.
Using Lem on ncurses loading the same project works fine.
Does this happen for all systems or a specific one?
Ah, I forgot to also mention the environment: macOS Sonoma 14.4.
No, not with every system. One of the ones I tried (the first one actually :). This one to be precise: https://github.com/mdbergmann/knx-conn
Are you doing this in a Slime REPL or in the internal Lem REPL? M-x start-lisp-repl
gives the internal one, M-x slime
gives what you are used to in Emacs
Ah, I didn't actually know there exist two :).
I used the start-lisp-repl
.
Maybe it did blow the stack (or heap).
I was able to successfully quickload the current master branch of knx-conn
in both REPLs in the SDL2 version of Lem built from source a couple days ago. I am not sure what the issue might be. I am on Arch if the SDL package version might have an effect on this.