[pulseaudio-tickets] [Bug 96741] asyncmsgq.c: Assertion 'a->asyncq = pa_asyncq_new(size)' failed at pulsecore/asyncmsgq.c:66, function pa_asyncmsgq_new(). Aborting.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jun 30 10:26:48 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96741

--- Comment #2 from Marcin Lewandowski <marcin at saepia.net> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20160630/da92a237/attachment.html>


More information about the pulseaudio-bugs mailing list