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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Dec 12 08:44:30 PST 2014


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |t.i.m at zen.co.uk
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.4.5

--- Comment #2 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2014-12-12 16:44:24 UTC ---
Thanks for the patch. Pushed to master:

commit 0a359cdbdce7d85b05582c988831db502793f828
Author: Patrick Radizi <patrickr at axis.com>
Date:   Thu Dec 11 10:16:06 2014 +0100

    rtph264pay: fix potential crash when shutting down

    A race condition in the state change function may cause buffers
    to be unreffed while they are still used by the streaming thread
    in gst_rtp_h264_pay_send_sps_pps() resulting in a crash. Chain
    up to the parent class first in the state change function to
    make sure streaming has stopped and only then free those buffers.

    https://bugzilla.gnome.org/show_bug.cgi?id=741381


and cherry-picked into 1.4 branch.

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