|
| From: | Liviu Ionescu |
| Subject: | Re: ui/cocoa.m compile error (Cocoa -> SDL) |
| Date: | Mon, 17 Jan 2022 14:51:57 +0200 |
On 17 Jan 2022, at 13:35, Peter Maydell <peter.maydell@linaro.org> wrote: here's a bug report from 2019 ``` Exception Note: EXC_CORPSE_NOTIFY Application Specific Information: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' abort() called terminating with uncaught exception of type NSException Application Specific Backtrace 0: 0 CoreFoundation 0x00007ff8040acf0b __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff803e0db9d objc_exception_throw + 48 2 CoreFoundation 0x00007ff8040d58ca -[NSException raise] + 9 3 AppKit 0x00007ff806a86f31 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321 4 AppKit 0x00007ff806a91185 -[NSView setFrameSize:] + 2315 5 AppKit 0x00007ff806ad3ce8 -[NSTitlebarView setFrameSize:] + 86 6 AppKit 0x00007ff806aa1d5c -[NSView setFrame:] + 404 7 AppKit 0x00007ff806ad3c8b -[NSTitlebarView resizeWithOldSuperviewSize:] + 95 8 AppKit 0x00007ff806ab35ef -[NSView resizeSubviewsWithOldSize:] + 501 9 AppKit 0x00007ff806a90ef0 -[NSView setFrameSize:] + 1654 10 AppKit 0x00007ff806ab42a1 -[NSTitlebarContainerView setFrameSize:] + 147 11 AppKit 0x00007ff806aa1d5c -[NSView setFrame:] + 404 12 AppKit 0x00007ff806ab3c76 -[NSView resizeWithOldSuperviewSize:] + 697 13 AppKit 0x00007ff806ab35ef -[NSView resizeSubviewsWithOldSize:] + 501 14 AppKit 0x00007ff806a90ef0 -[NSView setFrameSize:] + 1654 15 AppKit 0x00007ff806ab18e5 -[NSThemeFrame setFrameSize:] + 518 16 AppKit 0x00007ff806ab0f0c -[NSWindow _oldPlaceWindow:fromServer:] + 697 17 AppKit 0x00007ff806aaf8f3 -[NSWindow _setFrameCommon:display:fromServer:] + 2696 18 libSDL2-2.0.0.dylib 0x00000001042c3aea Cocoa_SetWindowSize + 282 19 libSDL2-2.0.0.dylib 0x0000000104294d76 SDL_SetWindowSize_REAL + 198 ``` If you think that --with-sdl should work on macOS too, I can try to investigate, perhaps it is only a small mistake somewhere. Liviu ![]() |
| [Prev in Thread] | Current Thread | [Next in Thread] |