<div dir="ltr"><div>I've tracked down the issue on macOS that's causing the crash in Big Sur.  It appears to be induced by the _findAppleRemoteDevice function.</div><div><br></div><div>Any suggestions on how to go about trying to fix the issue?  A thought was to just set the default appleremote behavior to disable for darwin as it's been a long time since apple sold a remote with a mac.</div><div><br></div><div>Another thought is it could be related to the same macOS deprecations corrected with this commit (i.e. Apple inserted the same depraction into the lastest 11.7.3 / Xcode):</div><div><a href="https://github.com/MythTV/mythtv/commit/37875831a06acb651bfb545b3482281a0bb90caa">https://github.com/MythTV/mythtv/commit/37875831a06acb651bfb545b3482281a0bb90caa </a></div><div><br></div><div>Here's lldb's output of the crash:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px">* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)<br>  * frame #0: 0x0000000105310869 libmythui-33.33.dylib`_findAppleRemoteDevice(char const*) + 57<br>    frame #1: 0x00000001053106d0 libmythui-33.33.dylib`AppleRemote::startListening() + 48<br>    frame #2: 0x00000001052dfbf6 libmythui-33.33.dylib`MythInputDeviceHandler::Start() + 326<br>    frame #3: 0x00000001052dfa84 libmythui-33.33.dylib`MythInputDeviceHandler::MythInputDeviceHandler(MythMainWindow*) + 84<br>    frame #4: 0x00000001052dfccd libmythui-33.33.dylib`MythInputDeviceHandler::MythInputDeviceHandler(MythMainWindow*) + 29<br>    frame #5: 0x0000000105177f2a libmythui-33.33.dylib`MythMainWindow::MythMainWindow(bool) + 538<br>    frame #6: 0x0000000105177b85 libmythui-33.33.dylib`MythMainWindow::MythMainWindow(bool) + 37<br>    frame #7: 0x0000000105177a99 libmythui-33.33.dylib`MythMainWindow::getMainWindow(bool) + 121<br>    frame #8: 0x00000001056f5e3b libmyth-33.33.dylib`MythContextPrivate::TempMainWindow(bool) + 171<br>    frame #9: 0x00000001056fe58e libmyth-33.33.dylib`MythContextPrivate::ShowGuiStartup() + 46<br>    frame #10: 0x00000001056fb1ff libmyth-33.33.dylib`MythContextPrivate::TestDBconnection(bool) + 5583<br>    frame #11: 0x00000001056f6c4e libmyth-33.33.dylib`MythContextPrivate::FindDatabase(bool, bool) + 574<br>    frame #12: 0x00000001056f6500 libmyth-33.33.dylib`MythContextPrivate::Init(bool, bool, bool, bool) + 256<br>    frame #13: 0x0000000105700d34 libmyth-33.33.dylib`MythContext::Init(bool, bool, bool, bool) + 1652<br>    frame #14: 0x0000000100010ef6 mythfrontend`main + 3126<br>    frame #15: 0x00007fff20453f3d libdyld.dylib`start + 1</blockquote><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><br>libmythui-33.33.dylib`_findAppleRemoteDevice:<br>->  0x105310869 <+57>: movl   (%rax), %edi<br>    0x10531086b <+59>: movq   -0x10(%rbp), %rsi<br>    0x10531086f <+63>: leaq   -0x14(%rbp), %rdx<br>    0x105310873 <+67>: callq  0x105349cc2               ; symbol stub for: IOServiceGetMatchingServices</blockquote><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px">Process 42006 stopped<br>* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)<br>    frame #0: 0x0000000105310869 libmythui-33.33.dylib`_findAppleRemoteDevice(char const*) + 57<br>libmythui-33.33.dylib`_findAppleRemoteDevice:<br>->  0x105310869 <+57>: movl   (%rax), %edi<br>    0x10531086b <+59>: movq   -0x10(%rbp), %rsi<br>    0x10531086f <+63>: leaq   -0x14(%rbp), %rdx<br>    0x105310873 <+67>: callq  0x105349cc2               ; symbol stub for: IOServiceGetMatchingServices<br>Target 0: (mythfrontend) stopped.<br><br><br></blockquote>Thanks in advance for the help!!!!<div>John</div></div>