[Bug 690014] Lockup: wrong STREAM_LOCK count 0

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 10 15:35:54 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=690014
  GStreamer | gstreamer (core) | 0.10.36

--- Comment #2 from Brendan Long <self at brendanlong.com> 2012-12-10 23:35:52 UTC ---
I put a print statement in g_static_rec_mutex_unlock_full to make sure I'm
using the right version, and it shows up, so I'm definitely using the correct
version of the code:

guint
g_static_rec_mutex_unlock_full (GStaticRecMutex *mutex)
{
  GRecMutex *rm;
  gint depth;
  gint i;

  rm = g_static_rec_mutex_get_rec_mutex_impl (mutex);

  /* all access to mutex->depth done while still holding the lock */
  depth = mutex->depth;
  i = mutex->depth;
  mutex->depth = 0;

  while (i--)
    g_rec_mutex_unlock (rm);

  return depth;
}

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