Autospawn fails on macOS 10.13 (High Sierra)
Submitted by bra..@..il.com
Assigned to pul..@..op.org
Link to original bug (#105857)
Description
macOS 10.13 changed some rules around forking, which causes PulseAudio's autospawn to fail.
Reproduction: Assuming the daemon is not running, this will fail with "Connection refused": $ pactl stat
Workaround: Set the environment variable OBJC_DISABLE_INITIALIZE_FORK_SAFETY to YES $ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES $ pactl stat
Tested with 11.1 compiled for High Sierra from Homebrew.
Found the workaround here: http://sealiesoftware.com/blog/index.html