Stumbled on a bizarre issue, and have whittled it down to this MRE:
- Using a MacBook Pro with a M1 Pro running macOS 12.6.
- Use Apple’s bog standard Developer Tools to compile a “Hello World” C application (originally discovered using
ghcto compile Haskell - effect is the same). - Run the compiled executable. No surprises.
cdto a mounted network drive (happens to my home directory on another Mac).- Do the same thing there - now compiled executable hangs!
- Okay, maybe we can’t run executables on network shares, IDK, let’s return to the local machine.
- Original compiled executable still runs fine.
- Let me just use the DeveloperTools to do anything new… compiled executable now hangs on local machine.
- I’ve tried killing processes, logging in and out, checking the PATH, etc. Nothing gets me back to a working state short of a reboot.
…
Oh boy, now resolved. Disabling Apple ID authentication was enough. What in the name of computing-getting-worse-all-the-time is going on here?