[Bug 689107] mpegtsmux: crashes when re-used

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 27 11:02:06 PST 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |1.0.4

--- Comment #7 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-11-27 19:02:03 UTC ---
Thanks a lot, pushed:

 commit 13910f515462282e61b499c288418534d5672316
 Author: Krzysztof Konopko <krzysztof.konopko at youview.com>
 Date:   Mon Nov 26 19:21:03 2012 +0000

    mpegtsmux: crashes when trying to re-use the element

    A crash occured after pushing buffers and changing mpegtsmux state to
    NULL/READ and then back to PLAYING/PAUSED.

    The crash was caused by holding a dangling pointer in the MpegTsMux
    program table.

    Additionally stream headers were leaked when resetting the element:
    mux->streamheader set to NULL in mpegtsmux_reset() before it's released
    later in the same function.

    Added a unit test: test_multiple_state_change

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

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