Greetings, On Fri, 02 Feb 2024 16:37:45 +0100, Camm Maguire wrote: > > Greetings! When running under lldb, running any subprocess via > posix_spawn fails at waitpid with errno set to 'interrupted system > call'. I suppose I could try blocking things, but suggestions? >
A lot of reason that may lead to this error. The first things that I have in my mind is SIP / System Integrity Protection. If you haven't disable it, I suggest to do it, otherwise development and debuging will be quite limited and a lot of expected things won't work. If I recall right, Catalina has it and it is enabled by default. See: https://developer.apple.com/documentation/security/disabling_and_enabling_system_integrity_protection Keep in mind that you need to reboot you VM into recovery mode to do it. The second point, LLDB isn't that good with subpressces. You may start reading about current state from here: https://discourse.llvm.org/t/rfc-support-debugging-child-processes/65506 -- wbr, Kirill