[Bug 784769] Deadlock in ges-launch between the gst_plugin_loading_mutex and class_init_rec_mutex
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Jul 11 01:21:28 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=784769
--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Second option is just not an option, since dropping that lock may lead to
gst_plugin_register_func() being called twice for the same plugin in parallel.
Some register function like gst_ffmpegaudenc_register() are just not thread
safe from quick code inspection (would need a g_once or something to block, we
just do g_type_from_name(), if (!type) ..., which may lead to two calls to
g_type_register_static() (an undefined behaviour in glib according to the
comment in the code).
--
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