[Bug 773368] New: mpegtsbase: GLib-CRITICAL **: g_ptr_array_unref: assertion 'array' failed

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Oct 22 23:44:22 UTC 2016


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

            Bug ID: 773368
           Summary: mpegtsbase: GLib-CRITICAL **: g_ptr_array_unref:
                    assertion 'array' failed
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Mac OS
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: minfrin at sharp.fm
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

During running of the following pipeline, an assertion failure is triggered.

Starting program: /usr/local/bin/gst-launch-1.0
--gst-debug=1,tdttsparse:5,videotag:1,souphttpclientsink:2,pixelsample:1 udpsrc
multicast-iface=eth0 uri=udp://239.106.0.7:1234
caps=application/x-rtp,media=\(string\)video,clock-rate=\(int\)90000 \! rtpbin
\! rtpmp2tdepay \! progressreport update-freq=5 \! tdttsparse \! tsdemux
emit-stats=true name=demux \! queue \! mpegvideoparse \! fakesink demux. \!
queue \! mpegaudioparse \! fakesink

(gst-launch-1.0:14851): GLib-CRITICAL **: g_ptr_array_unref: assertion 'array'
failed

Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x72bff460 (LWP 14868)]
0x76c7f2e8 in raise (sig=5) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37    ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) bt
#0  0x76c7f2e8 in raise (sig=5) at
../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
#1  0x76d1192c in g_logv () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#2  0x76d11b30 in g_log () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0
#3  0x76d11b7c in g_return_if_fail_warning () from
/lib/arm-linux-gnueabihf/libglib-2.0.so.0
#4  0x76395af4 in _gst_mpegts_pmt_free (pmt=0x184660) at gstmpegtssection.c:635
#5  0x763960a4 in _parse_pmt (section=0x722102e8) at gstmpegtssection.c:723
#6  0x76394a3c in __common_section_checks (section=0x722102e8, min_size=16,
parsefunc=0x76395bf8 <_parse_pmt>, destroynotify=0x76395ab4
<_gst_mpegts_pmt_free>) at gstmpegtssection.c:166
#7  0x763961d0 in gst_mpegts_section_get_pmt (section=0x722102e8) at
gstmpegtssection.c:745
#8  0x7636123c in mpegts_base_apply_pmt (base=0x2b6038, section=0x722102e8) at
mpegtsbase.c:1067
#9  0x763619b8 in mpegts_base_handle_psi (base=0x2b6038, section=0x722102e8) at
mpegtsbase.c:1175
#10 0x76362cb0 in mpegts_base_chain (pad=0x2ae6b8, parent=0x2b6038,
buf=0x74f2a028) at mpegtsbase.c:1591
#11 0x76ee2fbc in gst_pad_chain_data_unchecked (pad=0x2ae6b8, type=4112,
data=0x74f2a028) at gstpad.c:4205
#12 0x76ee3f1c in gst_pad_push_data (pad=0x2c4208, type=4112, data=0x74f2a028)
at gstpad.c:4457
#13 0x76ee47f8 in gst_pad_push (pad=0x2c4208, buffer=0x74f2a028) at
gstpad.c:4576
#14 0x76ebd43c in gst_proxy_pad_chain_default (pad=0x2c31a8, parent=0x2b4048,
buffer=0x74f2a028) at gstghostpad.c:126
#15 0x76ee2fbc in gst_pad_chain_data_unchecked (pad=0x2c31a8, type=4112,
data=0x74f2a028) at gstpad.c:4205
#16 0x76ee3f1c in gst_pad_push_data (pad=0x2ae568, type=4112, data=0x74f2a028)
at gstpad.c:4457
#17 0x76ee47f8 in gst_pad_push (pad=0x2ae568, buffer=0x74f2a028) at
gstpad.c:4576
#18 0x769a5414 in gst_base_transform_chain (pad=0x2ae418, parent=0x2b2110,
buffer=0x74f2a028) at gstbasetransform.c:2369
#19 0x76ee2fbc in gst_pad_chain_data_unchecked (pad=0x2ae418, type=4112,
data=0x74f2a028) at gstpad.c:4205
#20 0x76ee3f1c in gst_pad_push_data (pad=0x2ae2c8, type=4112, data=0x74f2a028)
at gstpad.c:4457
#21 0x76ee47f8 in gst_pad_push (pad=0x2ae2c8, buffer=0x74f2a028) at
gstpad.c:4576
#22 0x766b7c6c in gst_rtp_base_depayload_push (filter=0x2b10a8,
out_buf=0x74f2a028) at gstrtpbasedepayload.c:823
#23 0x766b66a4 in gst_rtp_base_depayload_handle_buffer (filter=0x2b10a8,
bclass=0x1fd900, in=0x74f2e368) at gstrtpbasedepayload.c:477
#24 0x766b6c3c in gst_rtp_base_depayload_chain (pad=0x2ae178, parent=0x2b10a8,
in=0x74f2e368) at gstrtpbasedepayload.c:536
#25 0x76ee2fbc in gst_pad_chain_data_unchecked (pad=0x2ae178, type=4112,
data=0x74f2e368) at gstpad.c:4205
#26 0x76ee3f1c in gst_pad_push_data (pad=0x2c35f8, type=4112, data=0x74f2e368)
at gstpad.c:4457
#27 0x76ee47f8 in gst_pad_push (pad=0x2c35f8, buffer=0x74f2e368) at
gstpad.c:4576
#28 0x76ebd43c in gst_proxy_pad_chain_default (pad=0x2c4628, parent=0x2c35f8,
buffer=0x74f2e368) at gstghostpad.c:126
#29 0x76ee2fbc in gst_pad_chain_data_unchecked (pad=0x2c4628, type=4112,
data=0x74f2e368) at gstpad.c:4205
#30 0x76ee3f1c in gst_pad_push_data (pad=0x74f19ab0, type=4112,
data=0x74f2e368) at gstpad.c:4457
#31 0x76ee47f8 in gst_pad_push (pad=0x74f19ab0, buffer=0x74f2e368) at
gstpad.c:4576
#32 0x767005c4 in gst_rtp_pt_demux_chain (pad=0x74f19570, parent=0x74f1d808,
buf=0x74f2e368) at gstrtpptdemux.c:442
#33 0x76ee2fbc in gst_pad_chain_data_unchecked (pad=0x74f19570, type=4112,
data=0x74f2e368) at gstpad.c:4205
#34 0x76ee3f1c in gst_pad_push_data (pad=0x74f192d0, type=4112,
data=0x74f2e368) at gstpad.c:4457
#35 0x76ee47f8 in gst_pad_push (pad=0x74f192d0, buffer=0x74f2e368) at
gstpad.c:4576
#36 0x766f0d9c in pop_and_push_next (jitterbuffer=0x74f1a2b0, seqnum=18943) at
gstrtpjitterbuffer.c:3367
#37 0x766f15c0 in handle_next_buffer (jitterbuffer=0x74f1a2b0) at
gstrtpjitterbuffer.c:3466
#38 0x766f4f70 in gst_rtp_jitter_buffer_loop (jitterbuffer=0x74f1a2b0) at
gstrtpjitterbuffer.c:4010
#39 0x76f3075c in gst_task_func (task=0x2e8610) at gsttask.c:334
#40 0x76f31e50 in default_func (tdata=0x18f4d0, pool=0x37058) at
gsttaskpool.c:68
#41 0x76d3445c in ?? () from /lib/arm-linux-gnueabihf/libglib-2.0.so.0

The assertion fails due to an attempt to unref a NULL pointer:

#4  0x76395af4 in _gst_mpegts_pmt_free (pmt=0x184660) at gstmpegtssection.c:635
635      g_ptr_array_unref (pmt->streams);
(gdb) print pmt->streams
$1 = (GPtrArray *) 0x0

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