Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lem SDL2 opens and hangs on 2020 M1 MacBook Air running Sonoma 14.6.1 #1561

Open
m-bob opened this issue Oct 4, 2024 · 1 comment
Open

Comments

@m-bob
Copy link

m-bob commented Oct 4, 2024

Hi!

Thanks for creating Lem!

Lem Ncurses runs fine on my machine. Lem SDL2 opens a window, then displays 2 lines:

0: dashboard
SDL Error (#<SDL-SURFACE {#X0000000)}>): Text has zero width

The menubar is responsive, but the application window is not. I do not see a dashboard, unlike Lem Ncurses, which properly displays one.

The problem may be in my installation of SDL2, but I installed SDL2 to use Lem and have no independent way to know if it is working properly.

Can you help?

Thanks!

Murray

@m-bob
Copy link
Author

m-bob commented Oct 8, 2024

Update:

I reinstalled sdl2 etc. using brew. I recompiled lem, this time only the sdl2 interface. I still get the same error, but now there's terminal output when I launch lem:

❯ ./lem
lem(79377,0x203270f40) malloc: Incorrect checksum for freed object 0x11d8dca00: probably modified after being freed.
Corrupt value: 0x3a91a2b4
lem(79377,0x203270f40) malloc: *** set a breakpoint in malloc_error_break to debug
fatal error encountered in SBCL pid 79377 pthread 0x203270f40:
SIGABRT received.

Welcome to LDB, a low-level debugger for the Lisp runtime environment.
ldb> [1] 79377 killed ./lem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant