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
[macOS] Window freezes and flashes magenta unpredictably on random file loads #17
Comments
After moving to However, the bug remains. Its way harder to predict now, as I can spam the I have distributed debug statements through the loading function, and observed that when I did eventually trigger the bug, all debug statements were still written, leading me to believe that its still Dawn having the issue on macOS. As much as I would love to fix this now, I just do not know where to begin to do so. I have spoken with slimsag and it seems the initial leak was not present in his testing on an older macOS version. This bug could be something that only happens on the OS version I'm on ( |
I'm fairly certain this has to do with Dawn and other users are experiencing similar issues here: zig-gamedev/zig-gamedev#411 |
I also saw the magenta flashing on macOS 13.4.1. But my current memory freeze problems are on macOS 14.0. I get no flashing there, just a complete freeze that forces me to reboot (see zig-gamedev/zig-gamedev#411). Update: If I run videostreams or some memory-intensive things in the background, the glfw apps does magenta flash on macOS 14.0, too. |
Not sure if you have a handy way of testing, but I've noticed the behavior for me mainly only happens when I'm loading files. I think that's similar to what you describe. In Pixi I can basically trigger a file load on a button press, and its decently easy to repeat the behavior using that. |
Update: After updating to Sonoma 14.1.2, it seems this issue is worse. I experience the magenta screen and hard freeze far more frequently. I spoke with pdoane and it seems this issue is not present in |
Thanks! I just updated to 14.1.2, haven't checked yet. Interesting that sysgpu is unaffected! |
I've created a |
Good news! I've completed the painful task of switching Imgui bindings, which allows us to easily swap between |
I've merged the |
This is a long-standing issue since moving to
zig-gamedev
, I'm unsure of the cause and it seems to be rather random, some file loads trigger it and some don't, and not the same files every time. It can be forced to happen by loading many files, i.e. packing a full project.I suspect that the issue is related to this, however, I'm unable to verify yet until the dawn lib is updated.
I did try to debug the application using Xcode, which did at least reveal the following error messages:
The text was updated successfully, but these errors were encountered: