GNOME Bugzilla – Bug 679652
[0.11] Miniobject lock/unlock race
Last modified: 2012-07-10 07:49:47 UTC
Created attachment 218367 [details] [review] Patch gst_mini_object_lock/unlock with GST_LOCK_FLAG_EXCLUSIVE sometimes fails to increment/decrement lock state. It happens when g_atomic_int_compare_and_exchange fails to update the variable on the first time, because access_mode does not have GST_LOCK_FLAG_EXCLUSIVE flag set anymore.
commit 4afdef55860cbd638d158088c8c4fda9327682bd Author: Matej Knopp <matej.knopp@gmail.com> Date: Mon Jul 9 23:47:53 2012 +0200 miniobject: fix exclusive lock/unlock race