Open gingerbeardman opened 4 years ago
Experiencing the same issue with macOS 10.15.5 running RetroArch Versions 1.8.7/1.8.8 (Stable). I cloned ffmpeg from its source and also installed it using Homebrew. When updating the record_driver
option in retroarch.cfg to either ffmpeg or the absolute path from which ffmpeg
, Retroarch only shows 'null' for the Record driver'.
These two posts indicated that ffmpeg had yet to be enabled in the macOS version of RetroArch:
In the meantime, I've been using OBS and wanted to comment here just in case there's been an changes.
Description
Crash when trying to record (press Del)
Expected behavior
Actual behavior
Steps to reproduce the bug
Bisect Results
1.7.9 — does not crash, but no video recorded 1.8.0 — does not crash, but no video recorded 1.8.1 — does not crash, but no video recorded 1.8.2 — does not crash, but no video recorded 1.8.3 — crashes 1.8.4 — crashes nightly - crashes
Version/Commit
You can find this information under Information/System Information
Environment information
Logs
Console Log
[INFO] [GL]: VSync => on [INFO] [recording] Custom timing given: FPS: 59.9410, Sample rate: 44100.0000 [INFO] [recording] Recording to /Volumes/Macintosh HD/Users/matt/Downloads/1234_JD/Youkai Kaasobi [SLPM-86857]-200127-145916.mkv @ 320x240. (FB size: 700x576 pix_fmt: 2) Illegal instruction: 4Crash DiagnosticReport upload
[RetroArch_2020-01-27-145814_matt.crash.zip](https://github.com/libretro/RetroArch/files/4117972/RetroArch_2020-01-27-145814_matt.crash.zip)Crash Log using Beetle PSX
Process: RetroArch [9786] Path: /Applications/RetroArch.app/Contents/MacOS/RetroArch Identifier: libretro.RetroArch Version: 1.8.4 (1.8.4) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: RetroArch [9786] User ID: 501 Date/Time: 2020-01-27 14:58:13.307 +0000 OS Version: Mac OS X 10.14.6 (18G2022) Report Version: 12 Anonymous UUID: FB46F04D-DF1F-BEEF-A122-2124D08C1C9B Sleep/Wake UUID: 65D6A13C-3A65-45AC-AA2D-A50E01D73731 Time Awake Since Boot: 280000 seconds Time Since Wake: 4900 seconds System Integrity Protection: disabled Crashed Thread: 0 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 [9786] Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libretro.RetroArch 0x00000001058c9c84 recording_init + 1511 1 libretro.RetroArch 0x0000000105870a6f command_event + 2471 2 libretro.RetroArch 0x00000001058725fb command_event + 9523 3 libretro.RetroArch 0x00000001058de31e runloop_iterate + 11240 4 libretro.RetroArch 0x00000001058631e3 -[RetroArch_OSX rarch_main] + 32 5 com.apple.Foundation 0x00007fff2e482302 __NSThreadPerformPerform + 328 6 com.apple.CoreFoundation 0x00007fff2c188b2b __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17 7 com.apple.CoreFoundation 0x00007fff2c188ad1 __CFRunLoopDoSource0 + 108 8 com.apple.CoreFoundation 0x00007fff2c16ca33 __CFRunLoopDoSources0 + 283 9 com.apple.CoreFoundation 0x00007fff2c16bfa3 __CFRunLoopRun + 1196 10 com.apple.CoreFoundation 0x00007fff2c16b8a5 CFRunLoopRunSpecific + 459 11 com.apple.HIToolbox 0x00007fff2b3bc1ab RunCurrentEventLoopInMode + 292 12 com.apple.HIToolbox 0x00007fff2b3bbded ReceiveNextEventCommon + 355 13 com.apple.HIToolbox 0x00007fff2b3bbc76 _BlockUntilNextEventMatchingListInModeWithFilter + 64 14 com.apple.AppKit 0x00007fff2975377d _DPSNextEvent + 1135 15 com.apple.AppKit 0x00007fff2975246b -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1361 16 com.apple.AppKit 0x00007fff2974c588 -[NSApplication run] + 699 17 com.apple.AppKit 0x00007fff2973bac8 NSApplicationMain + 777 18 libretro.RetroArch 0x0000000105860364 start + 52 Thread 1: 0 libsystem_pthread.dylib 0x00007fff5837f3f0 start_wqthread + 0 Thread 2: 0 libsystem_pthread.dylib 0x00007fff5837f3f0 start_wqthread + 0 Thread 3:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x00007fff582c121a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff582c1768 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff2c16cbdd __CFRunLoopServiceMachPort + 327 3 com.apple.CoreFoundation 0x00007fff2c16c14a __CFRunLoopRun + 1619 4 com.apple.CoreFoundation 0x00007fff2c16b8a5 CFRunLoopRunSpecific + 459 5 com.apple.AppKit 0x00007fff2975b4a2 _NSEventThread + 175 6 libsystem_pthread.dylib 0x00007fff583802eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff58383249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff5837f40d thread_start + 13 Thread 4: 0 libsystem_pthread.dylib 0x00007fff5837f3f0 start_wqthread + 0 Thread 5: 0 libsystem_kernel.dylib 0x00007fff582c4866 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5838356e _pthread_cond_wait + 722 2 libretro.RetroArch 0x0000000105a8c93a threaded_worker + 147 3 libretro.RetroArch 0x000000010598743f thread_wrap + 20 4 libsystem_pthread.dylib 0x00007fff583802eb _pthread_body + 126 5 libsystem_pthread.dylib 0x00007fff58383249 _pthread_start + 66 6 libsystem_pthread.dylib 0x00007fff5837f40d thread_start + 13 Thread 6: 0 libsystem_kernel.dylib 0x00007fff582c4866 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5838356e _pthread_cond_wait + 722 2 mednafen_psx_libretro.dylib 0x00000001158aa14d CDIF_Queue::Read(CDIF_Message*, bool) + 61 3 mednafen_psx_libretro.dylib 0x00000001158aa60c CDIF_MT::ReadThreadStart() + 460 4 mednafen_psx_libretro.dylib 0x00000001158aac5c ReadThreadStart_C(void*) + 12 5 mednafen_psx_libretro.dylib 0x00000001158ef5b4 thread_wrap + 20 6 libsystem_pthread.dylib 0x00007fff583802eb _pthread_body + 126 7 libsystem_pthread.dylib 0x00007fff58383249 _pthread_start + 66 8 libsystem_pthread.dylib 0x00007fff5837f40d thread_start + 13 Thread 7:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x00007fff582c121a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff582c1768 mach_msg + 60 2 com.apple.audio.CoreAudio 0x00007fff2bbcdeda HALB_MachPort::SendMessageWithReply(unsigned int, unsigned int, unsigned int, unsigned int, mach_msg_header_t*, bool, unsigned int) + 122 3 com.apple.audio.CoreAudio 0x00007fff2bbcde4f HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 45 4 com.apple.audio.CoreAudio 0x00007fff2bbca39f HALC_ProxyIOContext::IOWorkLoop() + 1017 5 com.apple.audio.CoreAudio 0x00007fff2bbc9df4 HALC_ProxyIOContext::IOThreadEntry(void*) + 122 6 com.apple.audio.CoreAudio 0x00007fff2bbc9956 HALB_IOThread::Entry(void*) + 72 7 libsystem_pthread.dylib 0x00007fff583802eb _pthread_body + 126 8 libsystem_pthread.dylib 0x00007fff58383249 _pthread_start + 66 9 libsystem_pthread.dylib 0x00007fff5837f40d thread_start + 13 Thread 8: 0 libsystem_kernel.dylib 0x00007fff582c126e semaphore_timedwait_trap + 10 1 libdispatch.dylib 0x00007fff5813fc99 _dispatch_sema4_timedwait + 76 2 libdispatch.dylib 0x00007fff58140377 _dispatch_semaphore_wait_slow + 58 3 libdispatch.dylib 0x00007fff5814d1fd _dispatch_worker_thread + 317 4 libsystem_pthread.dylib 0x00007fff583802eb _pthread_body + 126 5 libsystem_pthread.dylib 0x00007fff58383249 _pthread_start + 66 6 libsystem_pthread.dylib 0x00007fff5837f40d thread_start + 13 Thread 9: 0 libsystem_kernel.dylib 0x00007fff582c4866 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff5838356e _pthread_cond_wait + 722 2 libretro.RetroArch 0x00000001059875ba scond_wait_timeout + 180 3 libretro.RetroArch 0x0000000105a9228a autosave_thread + 216 4 libretro.RetroArch 0x000000010598743f thread_wrap + 20 5 libsystem_pthread.dylib 0x00007fff583802eb _pthread_body + 126 6 libsystem_pthread.dylib 0x00007fff58383249 _pthread_start + 66 7 libsystem_pthread.dylib 0x00007fff5837f40d thread_start + 13 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000000000240 rcx: 0x000000010fbda66c rdx: 0x0000000000000000 rdi: 0x00007fff8e681028 rsi: 0x00000000000120a8 rbp: 0x00007ffeea39ee00 rsp: 0x00007ffeea39cd50 r8: 0x00000000000130a8 r9: 0x00007fff8e681048 r10: 0x0000000000000000 r11: 0x00007fff8e681040 r12: 0x0000000108cad000 r13: 0x0000000000000000 r14: 0x00000240000002bc r15: 0x0eac88b0221a00e1 rip: 0x00000001058c9c84 rfl: 0x0000000000010202 cr2: 0x0000000105b980a0 Logical CPU: 0 Error Code: 0x00000000 Trap Number: 6 Binary Images: 0x10585f000 - 0x105cfeff7 +libretro.RetroArch (1.8.4 - 1.8.4)