[Bug 762552] Crash on repeated pipeline, bus and signal watch creation

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Nov 12 13:44:48 UTC 2016


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

--- Comment #22 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
The problem is that we do 'g_source_remove_poll' on a GSource that was
destroyed by rtsp-media. Can't think on a thread-safe way to fix this.

rtsp creates a bus watch and then it has children added to it. When it destroy
+ unref it isn't the last reference because of the child. Later it will unref
the bus and (as the gsource dispose wasn't called) the bus will try to remove
the poll, but the gsource was destroyed so this fails.

The g_source_destroy has already removed the polls. We could check if the
gsource was destroyed before removing polls but this isn't thread-safe. No idea
how to properly fix this.

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