<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Connection failure: Protocol error"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92141#c10">Comment # 10</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Connection failure: Protocol error"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92141">bug 92141</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>Based on the line numbers, I figured out that segment_attach() fails.
segment_attach() can fail for two reasons, and the first one shouldn't be
possible (the pa_hashmap_size(i->segments) >= PA_MEMIMPORT_SEGMENTS_MAX check
can't fail, because this is the first segment that we're handling).

So, pa_shm_attach() fails. That function has several failure cases, but all but
two of them log an error message. There are no error messages from
pa_shm_attach() in the log, so the problem is that shm_open() fails, and errno
is either EACCES or ENOENT. That is, either pactl doesn't have permission to
access the shm file, or the shm file doesn't exist.

What does "ls -l /dev/shm" print?</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>