<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - asyncmsgq.c: Assertion 'a->asyncq = pa_asyncq_new(size)' failed at pulsecore/asyncmsgq.c:66, function pa_asyncmsgq_new(). Aborting."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96741#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - asyncmsgq.c: Assertion 'a->asyncq = pa_asyncq_new(size)' failed at pulsecore/asyncmsgq.c:66, function pa_asyncmsgq_new(). Aborting."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96741">bug 96741</a>
              from <span class="vcard"><a class="email" href="mailto:marcin@saepia.net" title="Marcin Lewandowski <marcin@saepia.net>"> <span class="fn">Marcin Lewandowski</span></a>
</span></b>
        <pre>I have found out that once this happens, the code flow is the following:

* pa_asyncmsgq_new calls

* pa_asyncq_new

  here it fails on 

  !(l->write_fdsem = pa_fdsem_new())

* pa_fdsem_new 

  here it fails on 

  pa_pipe_cloexec(f->fds) < 0

* pa_pipe_cloexec

  HAVE_PIPE2 is set

  if ((r = pipe2(pipefd, O_CLOEXEC)) >= 0) {
    pa_log("(r = pipe2(pipefd, O_CLOEXEC)) >= 0");
    goto finish;
  }

  has to return < 0 because it does not jump into finish

  but then

  if (errno != EINVAL && errno != ENOSYS) 

  matches, so it returns r, which is < 0.</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>