[Bug 708849] New: hlsdemux occasionally dereferencing NULL in gst_hls_demux_switch_playlist

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Sep 26 08:50:27 PDT 2013


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

           Summary: hlsdemux occasionally dereferencing NULL in
                    gst_hls_demux_switch_playlist
    Classification: Platform
           Product: GStreamer
           Version: 1.2.0
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: bugzilla at ashley-family.net
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When watching a live HLS stream, once or twice a minute I am getting assertion
errors from gstreamer. For example:
0:03:40.982580889  7873   0x49d520 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:715:gst_hls_demux_stream_loop:<hlsdemux0>
Enter task
0:03:40.983197112  7873   0x49d520 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:766:gst_hls_demux_stream_loop:<hlsdemux0>
Pushing buffer 0x50f678
0:03:40.983746482  7873   0x49d520 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:772:gst_hls_demux_stream_loop:<hlsdemux0>
Pushed buffer
0:03:40.984267741  7873   0x49d520 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:715:gst_hls_demux_stream_loop:<hlsdemux0>
Enter task
0:03:40.984763963  7873   0x49d520 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:811:gst_hls_demux_stream_loop:<hlsdemux0>
Pause task

** (gst-launch-1.0:7873): CRITICAL **: gst_fragment_get_buffer: assertion
`fragment != NULL' failed

(gst-launch-1.0:7873): GStreamer-CRITICAL **: gst_buffer_get_sizes_range:
assertion `GST_IS_BUFFER (buffer)' failed
0:03:40.986015853  7873   0x4a01b0 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:1240:gst_hls_demux_switch_playlist:
Downloaded 0 bytes in 0:00:01.036940000. Bitrate is : 0

(gst-launch-1.0:7873): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
`mini_object != NULL' failed
0:03:40.987081519  7873   0x4a01b0 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:1209:gst_hls_demux_schedule:<hlsdemux0>
Next update scheduled at 2013-09-26T15:27:46.895906Z
0:03:40.987728704  7873   0x4a01b0 DEBUG               hlsdemux
/data/alex.ashley/builds/gst_plugins_bad/ext/hls/gsthlsdemux.c:887:gst_hls_demux_updates_loop:<hlsdemux0>
Waiting

Tracing through the code, this is being caused by gst_hls_demux_switch_playlist
because the fragment variable is NULL  and this function does not check for
this situation.

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