Crash on macos interface when switching application with meta + tab
Open a video from the macos interface.
Select the video window.
Switch application with meta + tab.
libc++abi: terminating with uncaught exception of type NSException
Process 40698 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00007ff8015f800e libsystem_kernel.dylib`__pthread_kill + 10
libsystem_kernel.dylib`__pthread_kill:
-> 0x7ff8015f800e <+10>: jae 0x7ff8015f8018 ; <+20>
0x7ff8015f8010 <+12>: movq %rax, %rdi
0x7ff8015f8013 <+15>: jmp 0x7ff8015f21c5 ; cerror_nocancel
0x7ff8015f8018 <+20>: retq
Target 0: (vlc) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
* frame #0: 0x00007ff8015f800e libsystem_kernel.dylib`__pthread_kill + 10
frame #1: 0x00007ff80162e1ff libsystem_pthread.dylib`pthread_kill + 263
frame #2: 0x00007ff801579d24 libsystem_c.dylib`abort + 123
frame #3: 0x00007ff8015ea082 libc++abi.dylib`abort_message + 241
frame #4: 0x00007ff8015db1bd libc++abi.dylib`demangling_terminate_handler() + 266
frame #5: 0x00007ff8014d7e11 libobjc.A.dylib`_objc_terminate() + 96
frame #6: 0x00007ff8015e94a7 libc++abi.dylib`std::__terminate(void (*)()) + 8
frame #7: 0x00007ff8015e9458 libc++abi.dylib`std::terminate() + 56
frame #8: 0x00007ff8014e1d81 libobjc.A.dylib`objc_terminate + 9
frame #9: 0x00007ff80147732b libdispatch.dylib`_dispatch_client_callout + 28
frame #10: 0x00007ff8014784fa libdispatch.dylib`_dispatch_once_callout + 20
frame #11: 0x000000010eb7e36e libmacosx_plugin.dylib`+[SPMediaKeyTap mediaKeyUserBundleIdentifiers] [inlined] _dispatch_once(predicate=0x000000010ed64040, block=0x000000010eb7e3a0) at once.h:84:3
frame #12: 0x000000010eb7e353 libmacosx_plugin.dylib`+[SPMediaKeyTap mediaKeyUserBundleIdentifiers](self=SPMediaKeyTap, _cmd="mediaKeyUserBundleIdentifiers") at SPMediaKeyTap.m:175:5
frame #13: 0x000000010eb7ea2d libmacosx_plugin.dylib`-[SPMediaKeyTap frontmostAppChanged:](self=0x0000600001719f80, _cmd="frontmostAppChanged:", notification=@"NSWorkspaceDidActivateApplicationNotification") at SPMediaKeyTap.m:336:11
frame #14: 0x00007ff8016ea76c CoreFoundation`__CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
frame #15: 0x00007ff801787b62 CoreFoundation`___CFXRegistrationPost_block_invoke + 49
frame #16: 0x00007ff801787ae0 CoreFoundation`_CFXRegistrationPost + 496
frame #17: 0x00007ff8016bc3a8 CoreFoundation`_CFXNotificationPost + 735
frame #18: 0x00007ff8024fa7ae Foundation`-[NSNotificationCenter postNotificationName:object:userInfo:] + 82
frame #19: 0x00007ff8043288f1 AppKit`applicationStatusSubsystemCallback + 723
frame #20: 0x00007ff801b9fcfd LaunchServices`___LSScheduleNotificationFunction_block_invoke_2 + 47
frame #21: 0x00007ff8016f4d41 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
frame #22: 0x00007ff8016f4bec CoreFoundation`__CFRunLoopDoBlocks + 445
frame #23: 0x00007ff8016f3f5d CoreFoundation`__CFRunLoopRun + 2609
frame #24: 0x00007ff8016f2e6c CoreFoundation`CFRunLoopRunSpecific + 562
frame #25: 0x00007ff80a3a15e6 HIToolbox`RunCurrentEventLoopInMode + 292
frame #26: 0x00007ff80a3a134a HIToolbox`ReceiveNextEventCommon + 594
frame #27: 0x00007ff80a3a10e5 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 70
frame #28: 0x00007ff80412cfad AppKit`_DPSNextEvent + 927
frame #29: 0x00007ff80412b66a AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1394
frame #30: 0x00007ff80411dd19 AppKit`-[NSApplication run] + 586
frame #31: 0x00000001000036ba vlc`main(i_argc=3, ppsz_argv=0x00007ff7bfeff4a8) at darwinvlc.m:292:13
frame #32: 0x000000010001152e dyld`start + 462