[gstreamer-bugs] [Bug 624338] [pulsesink] double-free exception

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 15 06:05:02 PDT 2010


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

--- Comment #7 from Philippe Normand <phil at base-art.net> 2010-07-15 13:04:58 UTC ---
(In reply to comment #6)
> Out of curiosity: why doesn't the g_type_class_ref (GST_TYPE_PULSERING_BUFFER)
> in gst_pulseringbuffer_class_init() take care of this already?

In a normal case get_type() is first called and then class_init() triggers a
new call to get_type() via that g_type_class_ref (GST_TYPE_PULSERING_BUFFER),
right?

I think the race is occurring while the 2 threads are calling the first
get_type() so the g_type_class_ref() happens too late.

I'm quite new to this, I'm probably all wrong anyway ;)

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