Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

macOS 10.16 (Big Sur) support #6

Description

@tommoor

Module causes crash on Big Sur, possibly related to this Radar: http://www.openradar.appspot.com/7483151 – dynamically setting the styleMask is somehow the cause.

Crashed Thread:        0  CrBrowserMain  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [55604]

Application Specific Information:
Crashing on exception: Cannot remove an observer <NSTitlebarView 0x7fdbcba56190> for the key path "_titlebarBackdropGroupName" from <PROPanel 0x7fdbcba29590> because it is not registered as an observer.

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff27a1736f __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007fff66416a56 objc_exception_throw + 48
2   Foundation                          0x00007fff2a314adb -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 564
3   Foundation                          0x00007fff2a31485c -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 74
4   Foundation                          0x00007fff2a314539 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:context:] + 190
5   AppKit                              0x00007fff252a7175 -[NSTitlebarView viewWillMoveToWindow:] + 73
6   AppKit                              0x00007fff248f13b3 -[NSView _setWindow:] + 247
7   AppKit                              0x00007fff2514caf4 __21-[NSView _setWindow:]_block_invoke.426 + 300
8   AppKit                              0x00007fff248f198f -[NSView _setWindow:] + 1747
9   AppKit                              0x00007fff2514caf4 __21-[NSView _setWindow:]_block_invoke.426 + 300
10  AppKit                              0x00007fff248f198f -[NSView _setWindow:] + 1747
11  AppKit                              0x00007fff2492b2cd __25-[NSWindow setStyleMask:]_block_invoke + 513
12  AppKit                              0x00007fff2492b071 NSPerformVisuallyAtomicChange + 132
13  AppKit                              0x00007fff2492af7b -[NSWindow setStyleMask:] + 170
14  NativeExtension.node                0x00000001135a3a90 _Z9MakePanelRKN3Nan20FunctionCallbackInfoIN2v85ValueEEE + 149
15  NativeExtension.node                0x00000001135a39da _ZN3Nan3impL23FunctionCallbackWrapperERKN2v820FunctionCallbackInfoINS1_5ValueEEE + 188
16  Electron Framework                  0x0000000107c57c3c _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 16844
17  Electron Framework                  0x0000000107c5713a _ZN2v88internal9Accessors12MakeAccessorEPNS0_7IsolateENS0_6HandleINS0_4NameEEEPFvNS_5LocalINS_4NameEEERKNS_20PropertyCallbackInfoINS_5ValueEEEEPFvS9_NS7_ISB_EERKNSA_INS_7BooleanEEEE + 14026

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions