lem icon indicating copy to clipboard operation
lem copied to clipboard

Lem on SDL2 - SBCL dropping to LDB when loading a system via ASDF.

Open mdbergmann opened this issue 11 months ago • 5 comments

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.

mdbergmann avatar Mar 17 '24 12:03 mdbergmann

Does this happen for all systems or a specific one?

vindarel avatar Mar 18 '24 10:03 vindarel

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

mdbergmann avatar Mar 18 '24 13:03 mdbergmann

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

garlic0x1 avatar Mar 18 '24 15:03 garlic0x1

Ah, I didn't actually know there exist two :). I used the start-lisp-repl. Maybe it did blow the stack (or heap).

mdbergmann avatar Mar 18 '24 15:03 mdbergmann

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.

garlic0x1 avatar Mar 18 '24 20:03 garlic0x1