[Bug 741381] New: rtph264pay: Race condition may cause crash when going from PAUSED->READY

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Dec 11 01:14:00 PST 2014


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

           Summary: rtph264pay: Race condition may cause crash when going
                    from PAUSED->READY
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: patrick.radizi at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


There is a thread race condition in rtph264pay which may cause unreffed buffers
being used when sending SPS/PPS.

The problem is that the pipeline thread may be running
gst_rtp_h264_pay_handle_buffer simultaneously as some other thread is doing a
state change which frees global data, rtph264pay->sps/pps, which is being used
in handle_buffer.

The result typically looks like this:

GStreamer-CRITICAL **: gst_mini_object_unref: assertion `(g_atomic_int_get
(&mini_object->lockstate) & LOCK_MASK) < 4' failed

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