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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 14 13:22:12 UTC 2016


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

--- Comment #24 from Thiago Sousa Santos <thiagossantos at gmail.com> ---
(In reply to Sebastian Dröge (slomo) from comment #23)
> So the GSource with the polls is destroyed by RTSP, but references to it are
> still around. And when the source is actually unreffed for the last time, we
> try to remove the polls (which were already removed during destroy?). And
> there's no way of getting notified about destroy AFAICS.

It actually happens when the GstBus is unref'd and we do g_source_remove_poll
on the destroyed gsource.

> 
> Could we let the removal of the polls just always be handled by destroy and
> never do that ourselves?

Can we call destroy() from the gstbus dispose? What if the GSource is still in
use by something else external?

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