<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 - 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">96741</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>asyncmsgq.c: Assertion 'a->asyncq = pa_asyncq_new(size)' failed at pulsecore/asyncmsgq.c:66, function pa_asyncmsgq_new(). Aborting.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>marcin@saepia.net
          </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>I have compiled PA 9.0 from sources on ubuntu 16.04. I use only required
dependencies.

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

I use it as a regular user with the following config:

#!/usr/bin/pulseaudio -nF

.fail

load-module module-native-protocol-unix auth-group=app
auth-cookie-enabled=false srbchannel=true

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink sink_name=null

### Honour intended role device property
load-module module-intended-roles

### Make some devices default
set-default-sink null
set-default-source null.monitor


I spawn it using systemd:

[Unit]
Description=App PulseAudio

[Service]
User=app
Group=app
WorkingDirectory=/home/app
ExecStart=/opt/myapp-1.0/bin/pulseaudio --high-priority=1 --realtime=1
--disallow-exit=1 --exit-idle-time=-1 --log-target=syslog --no-cpu-limit -F
/etc/pulse/app.pa -n
Environment="LD_LIBRARY_PATH=/opt/myapp-1.0/lib"
OOMScoreAdjust=-100
KillMode=process
Restart=always
RestartSec=5s
TimeoutSec=30s
LimitMEMLOCK=134217728
LimitNICE=31
LimitRTPRIO=-99
LimitNOFILE=64000
LimitNPROC=64000
LimitCPU=infinity
IOSchedulingClass=realtime
IOSchedulingPriority=1

[Install]
WantedBy=multi-user.target
Alias=myapp-pulseaudio.service

It happens quite frequently, every a few minutes.

There are loads of free memory and other resources on the server.</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>