Author Topic: pulseaudio assertion, crashes other applications (mpv, OBS, ...)  (Read 1307 times)

pocock

  • Sr. Member
  • ****
  • Posts: 280
  • Karma: +31/-0
    • View Profile
pulseaudio assertion, crashes other applications (mpv, OBS, ...)
« on: November 27, 2020, 06:36:35 am »

I've noticed that some applications, including mpv and OBS Studio, are intermittently crashing with an assertion from PulseAudio

If you run applications from a terminal window then you will probably see the assertion text in the window when the application crashes.  If you are running any applications from the menu or launcher and they are crashing unexpectedly then it is a good idea to try running them from the console to observe stdout and stderr.  You can also use journalctl to search for assertions like this.

Here is the error:

Code: [Select]
Assertion 're->data || re->memblock' failed at pulsecore/pstream.c:862, function do_read(). Aborting.
Aborted

I opened bug report #1060 in the PulseAudio bug tracker.

Searching for this assertion in the search engines I found people have similar problems on ARM64.  I haven't seen it on x86.
Debian Developer
https://danielpocock.com

pocock

  • Sr. Member
  • ****
  • Posts: 280
  • Karma: +31/-0
    • View Profile
Re: pulseaudio assertion, crashes other applications (mpv, OBS, ...)
« Reply #1 on: December 29, 2020, 08:08:22 am »

This can be worked around by editing /etc/pulse/daemon.conf and setting this parameter:

Code: [Select]
enable-shm = no
Debian Developer
https://danielpocock.com