Pulseaudio crashes after adding loopback module and null sink with pavucontrol open
Warning
Missing data may cause bugs to languish.
Summary
When I add two loopback modules and null sink, I start hearing audio issues like cracking/popping sounds and eventually pulseaudio crashes with pavucontorl open, pavucontrol either says it lost contact with it or refreshes with the loopback module and null sink disappearing[pa-info.txt] If I open pavucontrol after said actions, the added modules disappear and pulseaudio is killed and restarted.
environment
Check to see if you have pa-info installed by running which pa-info
If yes please run it
If no please download and run https://gitlab.freedesktop.org/pulseaudio/pulseaudio/blob/master/src/utils/pa-info
Attach the output to this bug report as pa-info.txt
(/uploads/6f610f55995e876fdb9b9ea0c9a24077/pa-info.txt)
Steps to reproduce
- Have pulseaudio running
- start Discord and join a voice call
- pactl load-module module-loopback
- pactl load-module module-loopback
- pactl load-module module-null-sink
- Notice audio issues like cracking/popping
- Open pavucontrol
- Notice that the loaded modules are not there in pavucontrol settings and that pulseaudio had been killed and restarted
What is the current bug behavior?
I cannot use null sink and loopback module to stream audio output from applications together with my mic output due to audio quality issues and puseaudio crashing/being restarted when I try to open pavucontrol to route them.
What is the expected correct behavior?
I can use null sink and loopbacks to stream audio output from applications together with my mic output without any noticeable audio quality issues and puseaudio isn't crashing or restarting when I try to them with or without pavucontrol.
I tried getting a stack trace with gdb, but failed due to the process being killed. Here is the output from the gdb session:a.output
I also tried using "set detach-on-fork off" before "run" in gdb to get the stack trace but that impacted the performance: discord and other applications using pulsaudio was taking much longer than usual to open, the input and output devices no longer appeared in the applications config and command to a loopback module would time out.