<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - tcp transport always fails: PULSE_SERVER=127.0.0.1 src/pacat, Connection failure: Connection terminated"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96873#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - tcp transport always fails: PULSE_SERVER=127.0.0.1 src/pacat, Connection failure: Connection terminated"
href="https://bugs.freedesktop.org/show_bug.cgi?id=96873">bug 96873</a>
from <span class="vcard"><a class="email" href="mailto:tanuk@iki.fi" title="Tanu Kaskinen <tanuk@iki.fi>"> <span class="fn">Tanu Kaskinen</span></a>
</span></b>
<pre>(In reply to Sergei Trofimovich from <a href="show_bug.cgi?id=96873#c0">comment #0</a>)
<span class="quote">> Noticed breakage on real applications like mpv and other media apps.
>
> PA used to work but I'm not sure what exactly changed in my environment.
>
> Currently pulseaudio over TCP is broken on the following versions:
> 7.1, 8.0, 9.0.</span >
To clarify, did you only test those versions, or did you also try older
versions and they worked?
Thanks for testing different kernel versions. This issue was reported in IRC
too, but we didn't manage to trace it down to kernel differences yet.
<span class="quote">> Looking at the code there is a few functions that assume UNIX sockets:
>
> pa_iochannel_write_with_creds()
> pa_iochannel_write_with_fds()</span >
Or rather, the functions assume that setting creds works ("works" as in doesn't
result in an error) on IP sockets as well (or at least
pa_iochannel_write_with_creds() assumes that - I haven't looked at the call
paths for pa_iochannel_write_with_fds()). It seems that the kernel has stopped
accepting creds for IP sockets? That behaviour would make sense to me, although
it might be against the "never break userspace" rule that the kernel tries to
follow.
In any case, I'll write a patch that avoids calling the aforementioned
functions on IP sockets.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>