GNOME Bugzilla – Bug 702684
shmsink: shared memory filled when no clients connected
Last modified: 2013-06-19 22:37:07 UTC
With the latest changes (custom allocator) shared memory space will be filled even no clients are connected. shmsink will then block until it can allocate a new block in the shared memory area. But this will not happen as no one has received the commands of new buffers.
Created attachment 247286 [details] [review] unref buffer if no clients connected
Committed commit 44807dcc1a4052f460d06f3b9b29e45c12e17113 Author: Aleix Conchillo Flaque <aleix@oblong.com> Date: Wed Jun 19 12:52:52 2013 -0700 shmsink: unref buffer if no clients are connected If no client has received the command, unref the buffer. This will make sure that the shared memory area does not get filled with buffers no one knows about. https://bugzilla.gnome.org/show_bug.cgi?id=702684