Skip to content

'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!' #9

@TimmermanV

Description

@TimmermanV

I have built PCem according to the instructions, on macOS Catalina. While the application does start and I can create a configuration using the PCem Configuration Manager, it crashes when I try to start the config. Just before it crashes it's opening a new window which I guess is for the video output of the emulated machine.

Here is the output when I manually try to launch the executable:

Menu item not found: 1403
Menu item not found: 1404
Menu item not found: 1403
Menu item not found: 1404
2021-04-24 21:06:43.021 pcem[19913:153082] *** 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                      0x00007fff2e4e8727 __exceptionPreprocess + 250
	1   libobjc.A.dylib                     0x00007fff67420a9e objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff2e5110ac -[NSException raise] + 9
	3   AppKit                              0x00007fff2b6f95ec -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310
	4   AppKit                              0x00007fff2b7088be -[NSThemeFrame _tileTitlebarAndRedisplay:] + 98
	5   AppKit                              0x00007fff2b71c012 -[NSTitledFrame _titleDidChange] + 207
	6   AppKit                              0x00007fff2b71bbb4 -[NSTitledFrame setTitle:] + 703
	7   AppKit                              0x00007fff2b71b846 -[NSThemeFrame setTitle:] + 50
	8   AppKit                              0x00007fff2b71b642 -[NSWindow _dosetTitle:andDefeatWrap:] + 210
	9   libSDL2-2.0.0.dylib                 0x000000011108b9a7 Cocoa_SetWindowTitle + 105
	10  pcem                                0x000000010da5bc1c runpc + 1036
	11  pcem                                0x000000010db449b7 mainthread + 167
	12  libSDL2-2.0.0.dylib                 0x0000000111028fc3 SDL_RunThread + 53
	13  libSDL2-2.0.0.dylib                 0x00000001110910cd RunThread + 9
	14  libsystem_pthread.dylib             0x00007fff687c9109 _pthread_start + 148
	15  libsystem_pthread.dylib             0x00007fff687c4b8b thread_start + 15
)
libc++abi.dylib: terminating with uncaught exception of type NSException
zsh: abort      ./pcem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions