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
Crash on exit on FreeBSD #19
Comments
Probably incorrect order of OpenGL object destruction. |
Hi on OpenBSD we got segfault on exit too we had to compile with those cmake flags -DQOpenGLFunctions=OFF -DNO_GLEW=OFF hope it helps. |
Please test if my commit 75131bb improves the situation on *BSD. I don't know why the game crashes only on *BSD, but I noticed that Renderer leaves the OpenGL context alive and deleting the context led to a crash. I then tuned the deletion procedure, because QOpenGLFunctions::glDeleteProgram() was called after the context had been deleted. The same situation as in AMDmi3's stack trace, I guess. This would also explain why GLEW works. |
I'm closing this due to no activity after my fix. |
Sorry, I've forgot about this. I'll test soon |
The text was updated successfully, but these errors were encountered: