<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Autospawn fails on macOS 10.13 (High Sierra)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105857">105857</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Autospawn fails on macOS 10.13 (High Sierra)
</td>
</tr>
<tr>
<th>Product</th>
<td>PulseAudio
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>daemon
</td>
</tr>
<tr>
<th>Assignee</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>brackeen@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>pulseaudio-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>lennart@poettering.net
</td>
</tr></table>
<p>
<div>
<pre>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: <a href="http://sealiesoftware.com/blog/index.html">http://sealiesoftware.com/blog/index.html</a></pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>