[gstreamer-bugs] [Bug 343278] g_object_notify() not threadsafe (and also all callers)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon May 29 02:28:23 PDT 2006


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=343278
 GStreamer | gstreamer (core) | Ver: 0.10.x


Jindrich Makovicka changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |UNCONFIRMED




------- Comment #3 from Jindrich Makovicka  2006-05-29 09:28 UTC -------
We use glib 2.10.2. AFAICS this is still an issue with CVS glib.

the problem is in this sequence in gobject.c:g_object_notify :

      g_object_notify_queue_add (object, nqueue, pspec);
      g_object_notify_queue_thaw (object, nqueue);

When one thread calls queue_add while other one executes queue_thaw, the
program crashes. The freeze/add/thaw sequence would need some locking to be
safe.


-- 
Configure bugmail: http://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