[Bug 758060] gst_mini_object_unlock: assertion 'state >= SHARE_ONE' failed
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Aug 1 11:50:25 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=758060
--- Comment #5 from Miguel París Díaz <mparisdiaz at gmail.com> ---
Created attachment 373237
--> https://bugzilla.gnome.org/attachment.cgi?id=373237&action=edit
miniobject: lock: check share refs does not go out of bounds
I am proposing this patch in order to detect if the counter used for
GST_LOCK_FLAG_EXCLUSIVE mode is going out of bounds.
It seems that it can have up to 32767 (0x7FFF0000 / 0x10000) refs.
Could this be not enough for some use cases and then provoke the warning in
gst_mini_object_unlock ?
I am not sure if the use cases exposed here are dealing with that, but this
check is harmless and useful if the counter is aiming to go out of bounds.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list