-
-
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
Clicking the share button causes UTM to crash #3208
Comments
The VM's are Oracle Linux 7.9 and CentOS 7 both with x86_64 emulation. |
@ktprograms is this related to #3056 |
@osy It's a UTM/Platform/macOS/SavePanel.swift Line 58 in 16e3a3e
(Which was changed in cb7bba8 )
For some reason in |
That means the view hasn't been loaded into a window yet. My guess is the layout system was preloading the view. |
Also when reproducing the error locally, Xcode has this runtime error/notice: |
@osy so should there be an |
Can you try wrapping
I think if nsView.window is nil, we just return. It means the view was being laid out before the user clicked on the button. |
@osy when I do that, the SavePanel pops up, and then within half a second Xcode shows the unwrapping nil fatal error. Edit: If I add the |
Are you sure the nil unwrapping is at nsView.window? It seems weird that the sheet modal shows up if window is nil. |
Yes, it's at |
Btw this doesn't seem to happen on macOS Monterey for me. |
On the main view with VM's listed to the left and status to the right, clicking the Share icon causes UTM to crash instantly.
This seems to happen for all of my VM's (both are x86, "Start from Scratch" on M1).
Configuration
UTM_2021-10-26-121857.crash.log
The text was updated successfully, but these errors were encountered: