qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ui/cocoa.m compile error (Cocoa -> SDL)


From: Liviu Ionescu
Subject: Re: ui/cocoa.m compile error (Cocoa -> SDL)
Date: Mon, 17 Jan 2022 15:30:30 +0200



On 17 Jan 2022, at 14:51, Liviu Ionescu <ilg@livius.net> wrote:

 it crashes with ... I can try to investigate, perhaps it is only a small mistake somewhere.

I did some new tests, and I confirm that on a macOS 11.6 running on a MacMini 2020 M1 it throws the exception, as shown before, when testing a build performed on a macOS 11.6.

However, on an Intel macOS 11.6, a QEMU 6.2 built --with-sdl on an old macOS 10.13, managed to start, and I got a graphical window, which was a bit surprising:



However, the console displayed the following:

ilg@wks day16 % /Users/ilg/Downloads/xpack-binaries/qemu-arm/xpack-qemu-arm-6.2.0-1/bin/qemu-system-aarch64 -net none -parallel none -monitor none -M vexpress-a9 -kernel winter.zImage -dtb vexpress-v2p-ca9.dtb
2022-01-17 15:07:38.259 qemu-system-aarch64[62163:1267689] WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future. Called from (
0   AppKit                              0x00007ff806a86f50 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 352
1   AppKit                              0x00007ff806a91185 -[NSView setFrameSize:] + 2315
2   AppKit                              0x00007ff806ad3ce8 -[NSTitlebarView setFrameSize:] + 86
3   AppKit                              0x00007ff806aa1d5c -[NSView setFrame:] + 404
4   AppKit                              0x00007ff806ad3c8b -[NSTitlebarView resizeWithOldSuperviewSize:] + 95
5   AppKit                              0x00007ff806ab35ef -[NSView resizeSubviewsWithOldSize:] + 501
6   AppKit                              0x00007ff806a90ef0 -[NSView setFrameSize:] + 1654
7   AppKit                              0x00007ff806ab42a1 -[NSTitlebarContainerView setFrameSize:] + 147
8   AppKit                              0x00007ff806aa1d5c -[NSView setFrame:] + 404
9   AppKit                              0x00007ff806ab3c76 -[NSView resizeWithOldSuperviewSize:] + 697
10  AppKit                              0x00007ff806ab35ef -[NSView resizeSubviewsWithOldSize:] + 501
11  AppKit                              0x00007ff806a90ef0 -[NSView setFrameSize:] + 1654
12  AppKit                              0x00007ff806ab18e5 -[NSThemeFrame setFrameSize:] + 518
13  AppKit                              0x00007ff806ab0f0c -[NSWindow _oldPlaceWindow:fromServer:] + 697
14  AppKit                              0x00007ff806aaf8f3 -[NSWindow _setFrameCommon:display:fromServer:] + 2696
15  libSDL2-2.0.0.dylib                 0x000000010ba7125d Cocoa_SetWindowSize + 285
16  libSDL2-2.0.0.dylib                 0x000000010ba41a56 SDL_SetWindowSize_REAL + 198
17  qemu-system-aarch64                 0x000000010a761b80 qemu-system-aarch64 + 2947968
18  qemu-system-aarch64                 0x000000010a4ba318 qemu-system-aarch64 + 164632
19  qemu-system-aarch64                 0x000000010a5a23a9 qemu-system-aarch64 + 1115049
20  qemu-system-aarch64                 0x000000010aa5a053 qemu-system-aarch64 + 6062163
21  qemu-system-aarch64                 0x000000010aa59ea3 qemu-system-aarch64 + 6061731
22  qemu-system-aarch64                 0x000000010ab2224d qemu-system-aarch64 + 6881869
23  ???                                 0x0000000111a25855 0x0 + 4590819413
)

In other words: "WARNING: NSWindow drag regions should only be invalidated on the Main Thread! This will throw an exception in the future.", which is exactly what happened on builds performed on more recent macOS.

I will try to rebuild using --with-cocoa on newer systems, to validate the rest of the build.


Liviu




reply via email to

[Prev in Thread] Current Thread [Next in Thread]