-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
tests fail with thousands of "Assertion failure in -[NSMenu _lockForMainMenuItemArray], NSMenu.m:1106" #4572
Comments
Do these actually cause a failure, or were they outputting some warnings only? |
I wonder if this is M1/M2 specific and potentially even a bug in GLFW upstream? This is not something I’ve seen locally on Linux with amd64 |
I don't think we have seen it on our Apple test devices either. Perhaps it was lost amongst the image issues. |
For my future reference, here's the tail of the failure:
|
This provides robustness when the rendering engine behaves (ever so) slightly differently. Fixes fyne-io#4573 (I think, I can't be entirely sure because my tests still fail because of fyne-io#4572) While we're here, let gofumpt add an octal marker to 0o755.
If I run just that test, I get an immediate crash and a helpful diagnostic:
|
@andydotxyz @Jacalz does that diagnostic output suggest any fixes to you? I tried a few things but made no progress. |
This provides robustness when the rendering engine behaves (ever so) slightly differently. Fixes fyne-io#4573 (I think, I can't be entirely sure because my tests still fail because of fyne-io#4572) While we're here, let gofumpt add an octal marker to 0o755.
Thanks. This seems to be a new issue as I just started seeing it as well. |
Looks like JetBrains hit it as well! https://youtrack.jetbrains.com/issue/IDEA-337450/IDEA-crashes-on-start-on-macOS-Sonoma |
The main code was all correct already. Fixes fyne-io#4572
Fixed on develop branch :) thanks for the report |
The main code was all correct already. Fixes #4572
Checklist
Describe the bug
Run
go test ./...
. Result is thousands (or more, I didn't wait for it to stop spewing) of lines like:How to reproduce
See above.
Screenshots
No response
Example code
Again, see above.
Fyne version
caf50f6
Go compiler version
1.21.6
Operating system and version
macOS Sonoma
Additional Information
I would be happy to try my hand at a fix, but I don't see any clear hints from grepping the source code about where to even start looking.
The text was updated successfully, but these errors were encountered: