-
-
Notifications
You must be signed in to change notification settings - Fork 290
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
Julia crashes when GLMakie window is made full screen on Mac #2629
Comments
FWIW, I was not able to reproduce the problem on my M1 MacBook Pro or Intel MacBook Pro. Intel MacBook Pro: 16-inch, 2019 M1 MacBook Pro: 14-inch, 2021 |
Not sure if related, but I also just got the below traceback. The Makie window appeared at a tiny geometry with barely the close button visible: This happens pretty often for me (the tiny geometry, not the traceback). The remedy I've been using is Window > Zoom which usually works but this time I got the traceback. The Julia prompt remained responsive but the Makie window was then frozen.
|
I can also reproduce this on an M2 machine, though the error message in the terminal is different:
MacBook Pro MacOS Problem Report details
|
Also, FWIW I also get the same error (on the M2, haven't tried with the other machine) with the branch from #2544. |
Hi, I'm using M2 pro, and I encounter the same scenario here. When ever I do the full screen of the Make screen, that screen would crash and shutdown my REPL in Visual Studio code. |
Just tried this with GLMakie 0.8.2 (the previous report was with 0.8.1) and I'm still seeing the same error (on M2, I haven't tried Intel). I was hopeful that something in that release might have fixed this incidentally since there looked to be a bunch of Mac-related PRs, but alas. |
Maybe it would help to |
A slightly different error on Julia 1.9 beta4 and Makie master:
MacOS Problem Report details
|
To my understanding things like The |
On my system (macOS 13.2.1, apple silicon) GLMakie is now unusable due to this issue as it occurs every time I try to interact with the GLMakie window. I've done some digging and found that there's actually two underlying issues here: The first is an apparently new macOS exception that generates a warning when using GUI code that hasn't been launched via an app bundle. This occurs in all apps, e.g. it can be triggered by running The second issue does seem to be with GLMakie, as it crashes when the above exception is thrown rather than continuing. It's not clear to me why this is the case, but from the error messages it kind of looks like macOS is trying to write the backtrace message to the GLMakie window rather than the terminal. As a test I built the HelloWorld program for glfw to see if the issue was there, but this shows the expected behaviour: the exception is thrown, the backtrace error is written to the terminal and the program continues. Here's the backtrace as captured by lldb:
Comparing this with the backtrace from GLMakie (Julia 1.8) below and you can see the same references to MenuBarInstance at frames 13 & 14 for GLMakie and frames 1 & 2 for glfw, but then for GLMakie the backtrace shows a
|
Thanks to this issue python/cpython#101067 I've now got a workaround for this: The initial exception only occurs if macOS I had it set to So the workaround is to make sure its set to |
This should be fixing MakieOrg#2629 by providing a better documentation about how to circumvent the problem.
This should be fixing #2629 by providing a better documentation about how to circumvent the problem.
I'm not sure when this stopped being an issue on my system but FYI on 0.19.12 I don't see it anymore. |
Possibly in a MacOS update? I don't think this was ever a Makie specific issue, although some specifics of how the window is created might have triggered this ... |
Could be. If nobody else is seeing this and I can no longer reproduce it, I'm content to leave it a mystery. |
I cannot reproduce this either on 12.7.4. |
I can't reproduce this either - closing for now! Please feel free to comment if this does become an issue again. |
To reproduce (minimal example, same thing happens for any GLMakie window AFAICT):
Then, full-screen the window (either with the green button in the window header or with Window > Enter Full Screen. Julia crashes with:
Julia error messages
MacOS Problem Report details
The text was updated successfully, but these errors were encountered: