[Bug 732445] aggregator: Many invalid memory access to destroyed GSources in the unit test

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 30 05:14:34 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=732445
  GStreamer | gst-plugins-bad | git

--- Comment #11 from Thibault Saunier <tsaunier at gnome.org> 2014-06-30 12:14:28 UTC ---
(In reply to comment #9)
> Review of attachment 279591 [details]:
> 
> ::: gst-libs/gst/base/gstaggregator.c
> @@ +1041,3 @@
> +
> +  _remove_all_sources (self);
> +  G_OBJECT_CLASS (aggregator_parent_class)->dispose (object);
> 
> This should probably already happen in PAUSED->READY state transition

It does but GstElement->dispose () removes pads which leads to adding a GSource
to the main context and thuse we end up with 1 GSource set to the maincontext
and we own a ref to it.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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