Pavucontrol creates connections to PipeWire it never lets go of, eventually killing audio
Repro steps
-
Download (seems to reproduce with anything, tried this MP3 and a random AAC): https://pixabay.com/sound-effects/happy-pop-2-185287/ and save as TEST.mp3
-
Create
bug.py
in the same folder:
#!/usr/bin/env python
from playsound import playsound
while True:
playsound("./TEST.mp3")
- Run
pw-top
in one window - Run
pavucontrol
- Run
chmod +x bug.py; ./bug.py
in another
Step 4:
Step 5:
This very quickly starts breaking pipewire, causing pipewire/pipewire#3532 (comment 2369336)