-
-
Notifications
You must be signed in to change notification settings - Fork 133
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
Segmentation fault on program exit #270
Comments
Thanks for the bug report! Could you make a small test case that we could use to check the drop order? Maybe the callback is being dropped too early for some reason. |
@cloudhead would you mind checking if #274 helps with this? I'm guessing the callback fires after the context is dropped which causes the problem here, so maybe the fix is to unset the callback like that PR does. |
Ah yes, sorry for dropping the ball, I couldn't easily reproduce it with a smaller codebase and then gave up. Will try that PR. |
Yes, I can confirm #274 fixes this issue! |
Awesome, thanks for confirming! |
I'm having segfaults after using a simple empty debug callback, on program exit on
glow 0.13
:This happens when my program exits due to an error (not caused by a panic). It seems like this was fixed recently, yet I'm having the issue on the latest version of glow. This is the debugger trace:
The text was updated successfully, but these errors were encountered: