multipass
multipass copied to clipboard
Multipass GUI crashes on open with macOS
Describe the bug When I try to open Multipass.app GUI it always crashes.
To Reproduce How, and what happened?
- Double click
/Applications/Multipass.app
- Nothing happens
Expected behavior I expected the GUI to open.
Logs Please provide logs from the daemon, see accessing logs on where to find them on your platform. multipass.gui-2024-01-02-102134.json multipassd.log
Additional info
- OS: macOS Sonoma 14.1.2. N.B. Disk is formatted as case sensitive.
-
multipass version
multipass 1.12.2+mac multipassd 1.12.2+mac -
multipass info --all
Name: easygoing-owl State: Stopped IPv4: -- Release: -- Image hash: 8d667ba72ba4 (Ubuntu 20.04 LTS) CPU(s): -- Load: -- Disk usage: -- Memory usage: -- Mounts: /Users/gad/ImageInsight/Development => /home/ubuntu/development UID map: 501:default GID map: 20:default -
multipass get local.driver
qemu Additional context Add any other context about the problem here.
Hi @gad-imageinsight, can you clarify what you mean by the GUI does not open? Multipass does not have a full-blown GUI per say with a window that will appear. Instead, the GUI is a tray icon that should appear on the taskbar and will supply a few actions after single-clicking on it.
Sure. I only had the icon in /Applications, not in my dock (if that's what you mean by "tray"), so I dragged it from /Applications and put it there too. But when I single-click it, nothing visibly happens. But I get a fresh crash report, so it was trying to do something, but failed. Nothing appears in the ,menu bar.
Are you able to utilize your instance, easygoing-owl
? In the logs, it looks like the instance is failing to start. This looks like the likely cause of the GUI crashing.
Well, I'm getting a start failed: cannot start VM without an image
error on that, so, no. But I was seeing this behavior when it was working too. I've never gotten that icon to do anything. I deleted easygoing-owl
and the crash still persists. I created a new image to be able to get some work done.
Sorry, what I meant by the tray icon explanation is that after double-clicking on Multipass in /Applications is that an icon should appear in the upper right of your screen (in the place called the status menu, I believe). Then, single-clicking on this new icon should present a few Multipass commands.
However, I haven't been able to replicate the crash you're seeing. I only other idea I have on where it might be coming from is because your disk is formatted as case sensitive.
I seem to be having the same problem. Here is what I get when running multipass manually.
❯ /Applications/Multipass.app/Contents/MacOS/Multipass
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow geometry should only be modified on the main thread!'
*** First throw call stack:
(
0 CoreFoundation 0x000000018b834570 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x000000018b325eb4 objc_exception_throw + 60
2 CoreFoundation 0x000000018b8598bc _CFBundleGetValueForInfoKey + 0
3 AppKit 0x000000018efbc250 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 240
4 AppKit 0x000000018f15fbf0 -[NSNextStepFrame setFrameSize:] + 140
5 AppKit 0x000000018efdeb00 -[NSWindow _oldPlaceWindow:fromServer:] + 532
6 AppKit 0x000000018efddbcc -[NSWindow _setFrameCommon:display:fromServer:] + 1832
7 AppKit 0x000000018f67f574 -[NSPopupMenuWindow setFrame:display:animate:] + 276
8 AppKit 0x000000018f67eedc -[NSPopupMenuWindow updateWindowFrameTo:withAnimation:] + 420
9 AppKit 0x000000018f57967c -[NSContextMenuImpl _menuBackingViewDidChangeIntrinsicSizeWithAnimation:] + 204
10 AppKit 0x000000018f5792fc -[NSContextMenuImpl _commitWindowSizeChangesForWidth:height:animated:] + 336
11 AppKit 0x000000018f57fd70 -[NSContextMenuImpl menuBackingViewDidInsertItemAtIndex:] + 1204
12 AppKit 0x000000018f57bae8 -[NSContextMenuImpl _performingViewModelInsertion:] + 72
13 AppKit 0x000000018f57bbbc -[NSContextMenuImpl _menuItem:wasAddedToNewIndex:] + 148
14 AppKit 0x000000018ef90580 -[NSMenu insertItem:atIndex:] + 232
15 libqcocoa.dylib 0x00000001064c8940 qt_plugin_instance + 115372
16 libqcocoa.dylib 0x00000001064c84e8 qt_plugin_instance + 114260
17 QtWidgets 0x000000010737c284 _ZN5QMenu15setPlatformMenuEP13QPlatformMenu + 932
18 QtWidgets 0x00000001073886e8 _ZN5QMenu11actionEventEP12QActionEvent + 1208
19 QtWidgets 0x000000010723ee88 _ZN7QWidget5eventEP6QEvent + 132
20 QtWidgets 0x0000000107386620 _ZN5QMenu5eventEP6QEvent + 1232
21 QtWidgets 0x00000001071f4a58 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent + 272
22 QtWidgets 0x00000001071f5c8c _ZN12QApplication6notifyEP7QObjectP6QEvent + 532
23 QtCore 0x0000000108d62b80 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent + 208
24 QtWidgets 0x0000000107234484 _ZN7QWidget12insertActionEP7QActionS1_ + 256
25 multipass.gui 0x00000001050078b8 _ZZN9multipass3cmd7Command21adapt_failure_handlerIZNS0_6GuiCmd22retrieve_all_instancesEvE4$_13NS_9ListReplyEEEDaRT_RT0_ENKUlN4grpc6StatusEE_clESC_ + 44
26 multipass.gui 0x0000000104fffe6c _ZN9multipass3cmd6GuiCmd22retrieve_all_instancesEv + 896
27 multipass.gui 0x00000001050042c0 _ZN12QtConcurrent18StoredFunctionCallIMN9multipass3cmd6GuiCmdEFNS1_9ListReplyEvEJPS3_EE10runFunctorEv + 52
28 multipass.gui 0x0000000105004178 _ZN12QtConcurrent19RunFunctionTaskBaseIN9multipass9ListReplyEE3runEv + 80
29 QtCore 0x0000000108ec4c5c _ZN10QSemaphore10tryAcquireEii + 752
30 QtCore 0x0000000108ebfe24 _ZN14QTimerInfoList14activateTimersEv + 5276
31 libsystem_pthread.dylib 0x000000018b6e2034 _pthread_start + 136
32 libsystem_pthread.dylib 0x000000018b6dce3c thread_start + 8
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort /Applications/Multipass.app/Contents/MacOS/Multipass
Other info / things on screen:
- The tray icon appears
- If I click it the context menu opens for a split second
- The crash mentioned above happens
- Interestingly: My Dock.app, which is set to "hidden" cannot be accessed anymore (when I move the mouse to the bottom of the screen the dock does not show), I think opening a different item in the tray makes everything work again.