[Bug 796731] gstplayer join to self cause deadlock

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 2 03:16:00 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796731

rland <rlandjon at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rlandjon at gmail.com

--- Comment #1 from rland <rlandjon at gmail.com> ---
Created attachment 372907
  --> https://bugzilla.gnome.org/attachment.cgi?id=372907&action=edit
proposed patch

Perhaps the above description of "So we call change_state (self,
GST_PLAYER_STATE_STOPPED) in gst_player_main, which gives the cleanup function
state_changed_signal_data_free the opportunity to unref GstPlayer in the
self->thread thread" is a little inaccurate, causing unref to enter the same
thread self->thread is not the only place,other places should be possible.

It may not be a thorough solution,When it is really the same thread, maybe we
can try to avoid calling g_thread_join (not sure whether thread resources will
leak).

-- 
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