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

Segment fault on Exit #5091

Open
andreluizgit opened this issue May 18, 2024 · 3 comments
Open

Segment fault on Exit #5091

andreluizgit opened this issue May 18, 2024 · 3 comments

Comments

@andreluizgit
Copy link

andreluizgit commented May 18, 2024

Get "segment fault" on Exit for release and preview versions.

(Debian in WSL)

@Alayan-stk-2
Copy link
Collaborator

Can't reproduce it with a normal Linux version.

@supercatking
Copy link

some finding:
build with OpenGL, every is fine.
build with GLESv2, see "seg fault" on exit from game.
On munu of: options -> graphics -> select_new_resolution -> apply_resolution can also reproduce issue.
Root cause: glXXX function is called after SDL_EGL_UnloadLibrary, this means stk is trying to call glXXX functions after shared libraries is unloaded.

@Alayan-stk-2
Copy link
Collaborator

@supercatking Should be fixed with #5118 I think?

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

No branches or pull requests

4 participants
@andreluizgit @Alayan-stk-2 @supercatking and others