-
Notifications
You must be signed in to change notification settings - Fork 69
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 when DISPLAY is unset #22
Comments
|
What is the expected behavior here? No DISPLAY means no X server running and miniquad depends on X > DISPLAY= xterm
xterm: Xt error: Can't open display:
xterm: DISPLAY is not set |
Made a small fix and now it properly exits without a segfault: not-fl3/miniquad#208 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wrote https://github.com/eras/ClickMuteJack/ using this and noticed that it crashes if I start it with an empty
DISPLAY
:Doesn't seem like there's a way to handle this problem in user code.
Similar crash happens with non-empty
DISPLAY
but no permission for the server, which is how I noticed this issue in the first place. The gui code is here: https://github.com/eras/ClickMuteJack/blob/master/src/gui.rsThe text was updated successfully, but these errors were encountered: