Created attachment 361379 [details]
log from pulseaudio -vvvvv
I found a reproducible testcase to make PA crash with:
*** glibc detected *** pulseaudio: corrupted double-linked list: 0x00000000021b7860 ***
Just run this:
for i in `seq 1 100`; do (aplay /usr/share/sounds/login.wav &); sleep 0.2; done
(the sound is a 5 s sound from the package gnome-audio)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. "pulseaudio -vvvvv" in one terminal.
2. Run the herd of aplay processes (see above) in another terminal.
At first the aplays work as expected, but soon they start printing "connection refused". In the other terminal it can be seen that PA crashed with glibc detected corruption.
PA should not crash.
I attached the verbose output from pulseaudio. In the terminal I can see:
*** glibc detected *** pulseaudio: corrupted double-linked list: 0x00000000008d6770 ***
... just a few lines from the bottom of the log. You won't find the message in the attachment, because it seems to be printed to the tty, not stdout/stderr.
By changing the sleep length between running the aplay processes, I am able to get different crashes, e.g. this one:
*** glibc detected *** pulseaudio: free(): invalid pointer: 0x00000000013705a0 ***
In some cases there was no error message, but PA entered a spinning loop like in bug 521961.
*** This bug has been marked as a duplicate of bug 521185 ***