QEMU gui crashes on macOS Mojave
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
QEMU |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
QEMU release 3.0.0 as well as a recent head build
/usr/local/
Built from source on 2018-11-06 at 13:41:32 with: --with-gtk+3 --with-sdl2 --with-libusb
/usr/local/
Poured from bottle on 2018-11-10 at 22:58:32 with: --with-gtk+3 --with-libusb --with-sdl2
Crashes when attempting to use any gui interface (tried SDL and default Cocoa):
2018-11-10 22:58:41.799 qemu-system-
*** First throw call stack:
(
0 CoreFoundation 0x00007fff3ea96ecd __exceptionPrep
1 libobjc.A.dylib 0x00007fff6ab49720 objc_exception_
2 CoreFoundation 0x00007fff3eab095d -[NSException raise] + 9
3 AppKit 0x00007fff3bfb13fa -[NSWindow(
4 AppKit 0x00007fff3bfb6850 -[NSView setFrameSize:] + 2082
5 AppKit 0x00007fff3c02747d -[NSVisualEffec
6 AppKit 0x00007fff3c0811b1 -[NSTitlebarView setFrameSize:] + 84
7 AppKit 0x00007fff3bfb5859 -[NSView setFrame:] + 478
8 AppKit 0x00007fff3c081154 -[NSTitlebarView resizeWithOldSu
9 AppKit 0x00007fff3bfbc95e -[NSView resizeSubviewsW
10 AppKit 0x00007fff3bfb66d9 -[NSView setFrameSize:] + 1707
11 AppKit 0x00007fff3c9773c0 -[NSTitlebarCon
12 AppKit 0x00007fff3bfb5859 -[NSView setFrame:] + 478
13 AppKit 0x00007fff3bfbcdb5 -[NSView resizeWithOldSu
14 AppKit 0x00007fff3bfbc95e -[NSView resizeSubviewsW
15 AppKit 0x00007fff3bfb66d9 -[NSView setFrameSize:] + 1707
16 AppKit 0x00007fff3c024570 -[NSThemeFrame setFrameSize:] + 495
17 AppKit 0x00007fff3c011223 -[NSWindow _setFrame:
18 AppKit 0x00007fff3c010b46 -[NSWindow _oldPlaceWindow:] + 547
19 AppKit 0x00007fff3c010151 -[NSWindow _setFrameCommon
20 AppKit 0x00007fff3c00f57d -[NSWindow _setFrame:
21 AppKit 0x00007fff3c019ff8 -[NSWindow setFrame:
22 qemu-system-aarch64 0x000000010b7b2abf qemu-system-aarch64 + 3668671
23 qemu-system-aarch64 0x000000010b7b6356 qemu-system-aarch64 + 3683158
24 qemu-system-aarch64 0x000000010b7ad836 qemu-system-aarch64 + 3647542
25 qemu-system-aarch64 0x000000010b4ce769 qemu-system-aarch64 + 636777
26 qemu-system-aarch64 0x000000010b487c24 qemu-system-aarch64 + 347172
27 qemu-system-aarch64 0x000000010b487a15 qemu-system-aarch64 + 346645
28 qemu-system-aarch64 0x000000010b4878f1 qemu-system-aarch64 + 346353
29 qemu-system-aarch64 0x000000010b4414aa qemu-system-aarch64 + 58538
30 qemu-system-aarch64 0x000000010b4f78c3 qemu-system-aarch64 + 805059
31 qemu-system-aarch64 0x000000010b487c24 qemu-system-aarch64 + 347172
32 qemu-system-aarch64 0x000000010b487a15 qemu-system-aarch64 + 346645
33 qemu-system-aarch64 0x000000010b4878f1 qemu-system-aarch64 + 346353
34 qemu-system-aarch64 0x000000010b4b8f57 qemu-system-aarch64 + 548695
35 qemu-system-aarch64 0x000000010b49c3af qemu-system-aarch64 + 431023
36 ??? 0x00000001117891f3 0x0 + 4588081651
)
libc++abi.dylib: terminating with uncaught exception of type NSException
fish: 'qemu-system-
macOS Mojave 10.14.2 Beta (18C38b)
Qemu in the same configuration used to work in High Sierra, started crashing only after upgrade to Mojave.
Command line:
`qemu-system-
Changed in qemu: | |
status: | Fix Committed → Fix Released |
Thanks for the bug report. It looks like Mojave is pickier about apps not calling various GUI update functions from the "wrong" thread. We probably need to figure out how to dispatch those to the main thread instead of whatever thread we were on. Unfortunately we don't really have anybody in QEMU upstream who knows much about OSX or its GUI, and I suspect we don't have anybody with Mojave (my system is still High Sierra and I don't plan to upgrade it for a while); help and patches appreciated from anybody who does...