-
Notifications
You must be signed in to change notification settings - Fork 45
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
Seg Fault when calling root.set_fullscreen on MacOS Mojave #268
Comments
I also ran into this on Sierra (10.12.6). I'm not sure what other information you need to help you debug the issue. |
Here is the stacktrace:
|
Probably because I am using the GLSL renderer and not SDL so the sdl deref in find_resolution is the seg fault. |
Yeah changing back to the default SDL renderer fixes it, but brings back the issue of having a blank screen until hitting a key including when going to fullscreen and back. |
Looks like it's coming from libtcod and not us. Moving to the latest version might help with it. I'll try looking into it when I have time.It could also be Mojave. As they broke quite a few OpenGL things with their latest release, that might be included in it. |
I was having a similar issue on
After entering fullscreen, I would have to manually kill the process from another TTY to regain control. |
Following the roguelike tutorial I ended up with this function to handle key presses.
Alt + Enter should toggle the screen between fullscreen and the configured window size.
However, when I call root.set_fullscreen I am getting a Segmentation Fault without much other output as to what the exact error could be.
Here is the code:
On a side note, I think I will be leaving the mac world for good pretty soon.
The text was updated successfully, but these errors were encountered: