then you can do this to restore pulseaudio settings afterwards
To return your system to a clean state again, edit ~/.pulse/client.conf with your favorite editor and remove the line "autospawn = no". If the file is now empty, you can just as well delete it. Then log out and log in again
run this in a terminal
echo autospawn = no >> ~/.pulse/ client. conf
killall pulseaudio
then
sudo apt-get install valgrind
then you can do something like this
valgrind --log-file= pulselog. txt --leak-check=full -v pulseaudio
then you can do this to restore pulseaudio settings afterwards
To return your system to a clean state again, edit ~/.pulse/ client. conf with your favorite editor and remove the line "autospawn = no". If the file is now empty, you can just as well delete it. Then log out and log in again