We think we have shaken all the bugs out of the patchset which overhauls
the Cocoa UI, so the crashes on OSX Mojave should be fixed in QEMU git
master; these will be in QEMU 4.0.


** Changed in: qemu
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1802684

Title:
  QEMU gui crashes on macOS Mojave

Status in QEMU:
  Fix Committed

Bug description:
  QEMU release 3.0.0 as well as a recent head build

  /usr/local/Cellar/qemu/HEAD-03c1ca1 (147 files, 257.2MB)
    Built from source on 2018-11-06 at 13:41:32 with: --with-gtk+3 --with-sdl2 
--with-libusb
  /usr/local/Cellar/qemu/3.0.0 (137 files, 261.6MB) *
    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-aarch64[42982:1102466] *** Terminating 
app due to uncaught exception 'NSInternalInconsistencyException', reason: 
'NSWindow drag regions should only be invalidated on the Main Thread!'
  *** First throw call stack:
  (
        0   CoreFoundation                      0x00007fff3ea96ecd 
__exceptionPreprocess + 256
        1   libobjc.A.dylib                     0x00007fff6ab49720 
objc_exception_throw + 48
        2   CoreFoundation                      0x00007fff3eab095d 
-[NSException raise] + 9
        3   AppKit                              0x00007fff3bfb13fa 
-[NSWindow(NSWindow_Theme) 
_postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 324
        4   AppKit                              0x00007fff3bfb6850 -[NSView 
setFrameSize:] + 2082
        5   AppKit                              0x00007fff3c02747d 
-[NSVisualEffectView setFrameSize:] + 171
        6   AppKit                              0x00007fff3c0811b1 
-[NSTitlebarView setFrameSize:] + 84
        7   AppKit                              0x00007fff3bfb5859 -[NSView 
setFrame:] + 478
        8   AppKit                              0x00007fff3c081154 
-[NSTitlebarView resizeWithOldSuperviewSize:] + 100
        9   AppKit                              0x00007fff3bfbc95e -[NSView 
resizeSubviewsWithOldSize:] + 502
        10  AppKit                              0x00007fff3bfb66d9 -[NSView 
setFrameSize:] + 1707
        11  AppKit                              0x00007fff3c9773c0 
-[NSTitlebarContainerView setFrameSize:] + 142
        12  AppKit                              0x00007fff3bfb5859 -[NSView 
setFrame:] + 478
        13  AppKit                              0x00007fff3bfbcdb5 -[NSView 
resizeWithOldSuperviewSize:] + 776
        14  AppKit                              0x00007fff3bfbc95e -[NSView 
resizeSubviewsWithOldSize:] + 502
        15  AppKit                              0x00007fff3bfb66d9 -[NSView 
setFrameSize:] + 1707
        16  AppKit                              0x00007fff3c024570 
-[NSThemeFrame setFrameSize:] + 495
        17  AppKit                              0x00007fff3c011223 -[NSWindow 
_setFrame:updateBorderViewSize:] + 966
        18  AppKit                              0x00007fff3c010b46 -[NSWindow 
_oldPlaceWindow:] + 547
        19  AppKit                              0x00007fff3c010151 -[NSWindow 
_setFrameCommon:display:stashSize:] + 3006
        20  AppKit                              0x00007fff3c00f57d -[NSWindow 
_setFrame:display:allowImplicitAnimation:stashSize:] + 192
        21  AppKit                              0x00007fff3c019ff8 -[NSWindow 
setFrame:display:animate:] + 567
        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-aarch64 -M raspi3 -…' terminated by signal SIGABRT (Abort)

  
  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-aarch64 -M raspi3 -d in_asm -serial stdio -kernel $1.bin`

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1802684/+subscriptions

Reply via email to