[Bug 670846] deadlock: GStreamer-WARNING **: wrong STREAM_LOCK count

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Mar 9 04:11:11 PST 2012


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

--- Comment #10 from Mark Janossy <janossy.mark at gmail.com> 2012-03-09 12:11:06 UTC ---
Created an attachment (id=209312)
 View: https://bugzilla.gnome.org/attachment.cgi?id=209312
 Review: https://bugzilla.gnome.org/review?bug=670846&attachment=209312

Fix race condition in g_static_rec_mutex_unlock_full()

The mutex->depth member is tested without holding the lock. If another thread
is waiting for the lock, it can modify it while the while loop test it. This
can lead to the loop running once too may times, potentially causing a deadlock
later.

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