-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unhandled memory fault + Error calling finalizer #22
Comments
I have to chime in here, I am having this same issue on SBCL 2.0.0. If I call If I don't call I have a patch to remove the autocollects in |
In general it's not a great idea to be calling font freeing functions from a finalizer, since neither SDL2_TTF, nor SDL2 in general thread-safe, and finalizers can be invoked on any random thread. |
I am using SBCL version 2.1.5 and I still get the same issue as well. sdl2:free-surface is still the problem. It is not reliable. The same code works on my laptop running debian 10 but doesn't work on my desktop that is also running debian 10. Should bring the issue to cl-sdl2: https://github.com/lispgames/cl-sdl2/issues. As its not really an sdl2-ttf issue. |
Hi!
The following code runs fine for a few seconds (shows the text just fine)
and then crashes with:
and prints:
Checked on SBCL 2.0.3 and 2.0.5-1.
What could be the problem here? Is it CL-SDL2 bug?
The text was updated successfully, but these errors were encountered: