Closed ssarantopoulos closed 4 years ago
Are you using the test build? We do not currently support Catalina on the release builds.
This is also a duplicate of #2165, please check there for more info.
I did not build OBS manually if that's what you mean. I was running the current release build. Are there nightly builds I can try somewhere? The stack in the duplicate issue does not look similar to the crash I uploaded. Are we sure it's the same bug? Stack:
Process: obs [828] Path: /Applications/OBS.app/Contents/Resources/bin/obs Identifier: com.obsproject.obs-studio Version: 24.0.2 (24.0.2) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: obs [828] User ID: 502
Date/Time: 2019-12-03 16:55:46.828 -0800 OS Version: Mac OS X 10.15.1 (19B88) Report Version: 12 Bridge OS Version: 3.0 (14Y906) Anonymous UUID: 6AD8EACF-2C90-3861-1F57-B995DD1AAFD8
Time Awake Since Boot: 630 seconds
System Integrity Protection: enabled
Crashed Thread: 1
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000000aff6324 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [828]
VM Regions Near 0xaff6324: __LINKEDIT 000000000afeb000-000000000aff6000 [ 44K] r--/rwx SM=COW /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib --> MALLOC_LARGE 000000000b000000-000000000b010000 [ 64K] rw-/rwx SM=PRV
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff65fdc166 mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff65fdc6cc mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff2eb5336b CFRunLoopServiceMachPort + 322
3 com.apple.CoreFoundation 0x00007fff2eb52907 CFRunLoopRun + 1695
4 com.apple.CoreFoundation 0x00007fff2eb51fe3 CFRunLoopRunSpecific + 499
5 com.apple.HIToolbox 0x00007fff2d6d967d RunCurrentEventLoopInMode + 292
6 com.apple.HIToolbox 0x00007fff2d6d93bd ReceiveNextEventCommon + 600
7 com.apple.HIToolbox 0x00007fff2d6d9147 _BlockUntilNextEventMatchingListInModeWithFilter + 64
8 com.apple.AppKit 0x00007fff2bd5e864 _DPSNextEvent + 990
9 com.apple.AppKit 0x00007fff2bd5d5d4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
10 com.apple.AppKit 0x00007fff2bd57d76 -[NSApplication run] + 658
11 libqcocoa.dylib 0x00000000085db8dd 0x85b2000 + 170205
12 QtCore 0x0000000108b982be QEventLoop::exec(QFlags
Thread 1 Crashed: 0 com.apple.iokit.IOHIDLib 0x000000000afe000c 0xafd3000 + 53260 1 com.apple.iokit.IOHIDLib 0x000000000afe0b96 0xafd3000 + 56214 2 com.apple.framework.IOKit 0x00007fff3194edad IOHIDDeviceGetValue + 33 3 libobs.0.dylib 0x00000001083c0be5 obs_hotkeys_platform_is_pressed + 197 4 libobs.0.dylib 0x00000001083f842d obs_hotkey_thread + 157 5 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 6 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 2:: audio-io: audio thread 0 libsystem_kernel.dylib 0x00007fff65fe0032 __semwait_signal + 10 1 libsystem_c.dylib 0x00007fff65f630fa nanosleep + 196 2 libsystem_c.dylib 0x00007fff65f62ff4 usleep + 53 3 libobs.0.dylib 0x00000001083add2c audio_thread + 460 4 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 5 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 3:: video-io: video thread 0 libsystem_kernel.dylib 0x00007fff65fdc1a2 semaphore_wait_trap + 10 1 libobs.0.dylib 0x00000001083c1b70 os_sem_wait + 16 2 libobs.0.dylib 0x00000001083ac42f video_thread + 79 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 4:: libobs: graphics thread 0 libsystem_kernel.dylib 0x00007fff65fe0032 __semwait_signal + 10 1 libsystem_c.dylib 0x00007fff65f630fa nanosleep + 196 2 libobs.0.dylib 0x00000001083c1e2d os_sleepto_ns + 93 3 libobs.0.dylib 0x00000001084109bd obs_graphics_thread + 5261 4 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 5 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 5: 0 libsystem_kernel.dylib 0x00007fff65fdc1a2 semaphore_wait_trap + 10 1 libobs.0.dylib 0x00000001083c1b70 os_sem_wait + 16 2 libobs-scripting.dylib 0x000000000c475c39 defer_thread + 25 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 6: 0 libsystem_kernel.dylib 0x00007fff65fdc166 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff65fdc6cc mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2eb5336b CFRunLoopServiceMachPort + 322 3 com.apple.CoreFoundation 0x00007fff2eb52907 CFRunLoopRun + 1695 4 com.apple.CoreFoundation 0x00007fff2eb51fe3 CFRunLoopRunSpecific + 499 5 com.apple.CoreFoundation 0x00007fff2eb51dba CFRunLoopRun + 40 6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000000ca3db33 DeckLinkDeviceNotificationControlMac::MessageLoop() + 255 7 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000000ca3cdf3 DeviceNotificationController::MessageLoopFunc(void*) + 15 8 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 9 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 7: 0 libsystem_kernel.dylib 0x00007fff65fdc166 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff65fdc6cc mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2eb5336b CFRunLoopServiceMachPort + 322 3 com.apple.CoreFoundation 0x00007fff2eb52907 CFRunLoopRun + 1695 4 com.apple.CoreFoundation 0x00007fff2eb51fe3 CFRunLoopRunSpecific + 499 5 com.apple.CoreFoundation 0x00007fff2eb51dba CFRunLoopRun + 40 6 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000000ca3db33 DeckLinkDeviceNotificationControlMac::MessageLoop() + 255 7 com.blackmagic-design.desktopvideo.DeckLinkAPI 0x000000000ca3cdf3 DeviceNotificationController::MessageLoopFunc(void*) + 15 8 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 9 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 8:: AMCP Logging Spool 0 libsystem_kernel.dylib 0x00007fff65fdc1a2 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff62092ec6 caulk::mach::semaphore::wait() + 16 2 com.apple.audio.caulk 0x00007fff6208e442 caulk::semaphore::timed_wait(double) + 106 3 com.apple.audio.caulk 0x00007fff62091a14 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff62091b64 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread> > >(void) + 45 5 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 6 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 9: 0 libsystem_kernel.dylib 0x00007fff65fdc1a2 semaphore_wait_trap + 10 1 com.apple.audio.caulk 0x00007fff62092ec6 caulk::mach::semaphore::wait() + 16 2 com.apple.audio.caulk 0x00007fff6208e442 caulk::semaphore::timed_wait(double) + 106 3 com.apple.audio.caulk 0x00007fff62091a14 caulk::concurrent::details::worker_thread::run() + 30 4 com.apple.audio.caulk 0x00007fff62091b64 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread> > >(void) + 45 5 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 6 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 10:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x00007fff65fdc166 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff65fdc6cc mach_msg + 60 2 com.apple.audio.CoreAudio 0x00007fff2e2af0c3 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 111 3 com.apple.audio.CoreAudio 0x00007fff2e1a9462 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 2677 4 com.apple.audio.CoreAudio 0x00007fff2e2df61c HALB_IOThread::Entry(void*) + 72 5 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 6 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 11:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff65fdc166 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff65fdc6cc mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2eb5336b CFRunLoopServiceMachPort + 322 3 com.apple.CoreFoundation 0x00007fff2eb52907 CFRunLoopRun + 1695 4 com.apple.CoreFoundation 0x00007fff2eb51fe3 CFRunLoopRunSpecific + 499 5 com.apple.AppKit 0x00007fff2bd65dba _NSEventThread + 132 6 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 7 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 12: 0 libsystem_pthread.dylib 0x00007fff6609c56c start_wqthread + 0
Thread 13: 0 libsystem_pthread.dylib 0x00007fff6609c56c start_wqthread + 0
Thread 14: 0 libsystem_pthread.dylib 0x00007fff6609c56c start_wqthread + 0
Thread 15: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 16: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 17: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 18: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 19: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 20: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 21: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 22: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 23: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 24: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 25: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 26: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 27: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 28: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 29: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 30: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x000000001571882b threadpool_thread_internal + 123 3 libsystem_pthread.dylib 0x00007fff6609fd36 _pthread_start + 125 4 libsystem_pthread.dylib 0x00007fff6609c58f thread_start + 15
Thread 31: 0 libsystem_kernel.dylib 0x00007fff65fdf916 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff660a0040 _pthread_cond_wait + 701 2 libx264.155.dylib 0x00000000157181ed lookahead_thread_internal + 205
Thread 1 crashed with X86 Thread State (64-bit): rax: 0x000000000000031c rbx: 0x000000000aff6000 rcx: 0x000000000aff631c rdx: 0x021d80000afe9d5d rdi: 0x00007fac548a6c70 rsi: 0x00007fac52e9ad20 rbp: 0x0000700000efcef0 rsp: 0x0000700000efcea0 r8: 0x0000000000000421 r9: 0x00000000c52d0880 r10: 0x000000000afe9d58 r11: 0x000000000afd5ea7 r12: 0x00007fac52e4da10 r13: 0x00007fff64b24040 r14: 0x00007fac52e9ad20 r15: 0x00007fac548a6c70 rip: 0x000000000afe000c rfl: 0x0000000000010202 cr2: 0x000000000aff6324
Logical CPU: 7 Error Code: 0x00000004 (no mapping for user data write) Trap Number: 14
Binary Images:
0x5993000 - 0x59beffb +QtPrintSupport (0) <7D87076B-A68E-3956-83EA-7F0E06AAD0D6> /Applications/OBS.app/Contents/Resources/bin/QtPrintSupport
0x85b2000 - 0x8708ff7 +libqcocoa.dylib (0)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 437 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=909.5M resident=0K(0%) swapped_out_or_unallocated=909.5M(100%) Writable regions: Total=357.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=357.1M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 384K 3 Activity Tracing 256K 1 CG backing stores 13.6M 4 CG image 808K 15 CoreAnimation 296K 12 CoreGraphics 8K 1 CoreImage 36K 3 CoreUI image data 1516K 15 Dispatch continuations 16.0M 1 Foundation 4K 1 Kernel Alloc Once 8K 1 MALLOC 286.4M 213 MALLOC guard page 32K 7 Memory Tag 242 12K 1 OpenGL GLSL 256K 3 PROTECTED_MEMORY 4K 1 STACK GUARD 56.1M 32 Stack 23.8M 33 VM_ALLOCATE 3588K 40 DATA 80.9M 503 DATA_CONST 305K 10 FONT_DATA 4K 1 GLSLBUILTINS 5176K 1 LINKEDIT 368.5M 79 __OBJC_RO 32.0M 1 OBJC_RW 1776K 1 TEXT 541.0M 474 UNICODE 564K 1 mapped file 303.0M 65 shared memory 664K 20 =========== ======= ======= TOTAL 1.7G 1543
The test build can be found here: https://obsproject.com/forum/threads/macos-10-15-catalina-support-status.111343/
Expected Behavior
Do not crash and ideally do not monitor the keyboard when the user is typing in a password (not sure if possible).
Current Behavior
Crash when completing a macOS security prompt when there are hotkeys in OBS Studio.
Steps to Reproduce
Crash and video uploaded here: https://telestreamllc-my.sharepoint.com/:u:/g/personal/stephens_telestream_net/EUROfXDmC4JCtTfIW0ytFekBCFJi9Uzty3Z7u6CleiUHdQ?e=iLocxa
Additional information
The crash is not 100% reproducible on all machines, but is very consistent following these steps on my two machines. The reason I added steps about creating a new user is so that the password is a known quantity and I'm not sure what effects having different passwords would have. Perhaps this is why it is not consistent on all machines. I couldn't reproduce this on macOS 10.14.6.