Proliferation of BBuffer instances when playing sound
|Reported by:||Adek336||Owned by:||leavengood|
|Has a Patch:||no||Platform:||All|
info[i].id in each iteration of the loop and started media_server in the Terminal to watch the output. I found out that each time I executed the sample program from #4920, the number of buffer ids printed grew by three, which most likely should not be the case. Restarting media_server reset the number of buffers.
Also, after changing
usleep(50000) and running
while true; do ./the-sample-program; done
AboutSystem showed the memory usage increase over time. I also got a media_server crash after a while, and another time a KDL.
while true; do ls; done
also makes the memory usage increase over time, it doesn't induce crashes and doesn't make the number of alive BBuffer instances grow.