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

Segfault when exiting the game #3

Open
mdorier opened this issue Mar 13, 2024 · 1 comment
Open

Segfault when exiting the game #3

mdorier opened this issue Mar 13, 2024 · 1 comment

Comments

@mdorier
Copy link
Contributor

mdorier commented Mar 13, 2024

I haven't looked at the code yet, only tested on my Mac, and it Segfaults when I press escape to close the game. Here is what's printed on the console:

raylib-cpp-cmake-template(6419,0x1dc7d5ec0) malloc: *** error for object 0x6000030053e0: pointer being freed was not allocated
raylib-cpp-cmake-template(6419,0x1dc7d5ec0) malloc: *** set a breakpoint in malloc_error_break to debug
[1]    6419 abort      build/raylib-cpp-cmake-template
@tupini07
Copy link
Owner

hi! thanks for this :) I just noticed I'm also getting this message (though only on Linux, not on Windows)

I just pushed a commit, b33389d , which removes this "double-free" problem. Could you check if it solves the issue for you?

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

2 participants