[gstreamer-bugs] [Bug 593719] New: regression: segfault when using gstrtpbin and certain video codecs

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 31 13:54:18 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=593719

           Summary: regression: segfault when using gstrtpbin and certain
                    video codecs
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: don't know
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: le.businessman at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


--- Comment #0 from Tristan Matthews <le.businessman at gmail.com> 2009-08-31 20:54:10 UTC ---
Created an attachment (id=142164)
client test case

When creating two pipelines (one server, one client) I'm getting a segfault on
the client-side. Here is a traceback from gdb:

################################################################################

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb2dfcb90 (LWP 4782)]
0xb7d7c0fd in gst_iterator_new_single (type=134695888, object=0x0, 
    copy=0xb7d4f4d0 <gst_object_ref>, free=0xb7d4f400 <gst_object_unref>)
    at gstiterator.c:724

#0  0xb7d7c0fd in gst_iterator_new_single (type=134695888, object=0x0, 
    copy=0xb7d4f4d0 <gst_object_ref>, free=0xb7d4f400 <gst_object_unref>)
    at gstiterator.c:724
#1  0xb5837ad3 in gst_rtp_session_iterate_internal_links (pad=0x8231328)
    at gstrtpsession.c:1312
#2  0xb7d82bba in gst_pad_iterate_internal_links (pad=0x8231328)
    at gstpad.c:3179
#3  0xb7d83490 in gst_pad_dispatcher (pad=0x8231328, 
    dispatch=0xb7d82740 <gst_pad_query>, data=0xb4603200) at gstpad.c:3473
#4  0xb7d8376e in gst_pad_query_default (pad=0x8231328, query=0xb4603200)
    at gstpad.c:3629
#5  0xb7d8280e in gst_pad_query (pad=0x8231328, query=0xb4603200)
    at gstpad.c:3545
#6  0xb7d8361c in gst_pad_dispatcher (pad=0x82603f8, 
    dispatch=0xb7d82740 <gst_pad_query>, data=0xb4603200) at gstpad.c:3488
#7  0xb7d8376e in gst_pad_query_default (pad=0x82603f8, query=0xb4603200)
    at gstpad.c:3629
#8  0xb7d8280e in gst_pad_query (pad=0x82603f8, query=0xb4603200)
    at gstpad.c:3545
#9  0xb7d8361c in gst_pad_dispatcher (pad=0x82604c0, 
    dispatch=0xb7d82740 <gst_pad_query>, data=0xb4603200) at gstpad.c:3488
#10 0xb7d8376e in gst_pad_query_default (pad=0x82604c0, query=0xb4603200)
    at gstpad.c:3629
---Type <return> to continue, or q <return> to quit---
#11 0xb5821eaf in gst_rtp_jitter_buffer_query (pad=0x82604c0, query=0xb4603200)
    at gstrtpjitterbuffer.c:1873
#12 0xb7d8280e in gst_pad_query (pad=0x82604c0, query=0xb4603200)
    at gstpad.c:3545
#13 0xb7d8361c in gst_pad_dispatcher (pad=0x8293190, 
    dispatch=0xb7d82740 <gst_pad_query>, data=0xb4603200) at gstpad.c:3488
#14 0xb7d8376e in gst_pad_query_default (pad=0x8293190, query=0xb4603200)
    at gstpad.c:3629
#15 0xb7d8280e in gst_pad_query (pad=0x8293190, query=0xb4603200)
    at gstpad.c:3545
#16 0xb7d74739 in gst_proxy_pad_do_query (pad=0x823c6e8, query=0xb4603200)
    at gstghostpad.c:140
#17 0xb7d8280e in gst_pad_query (pad=0x823c6e8, query=0xb4603200)
    at gstpad.c:3545
#18 0xb7d8361c in gst_pad_dispatcher (pad=0x821c3e8, 
    dispatch=0xb7d82740 <gst_pad_query>, data=0xb4603200) at gstpad.c:3488
#19 0xb7d8376e in gst_pad_query_default (pad=0x821c3e8, query=0xb4603200)
    at gstpad.c:3629
#20 0xb7d8280e in gst_pad_query (pad=0x821c3e8, query=0xb4603200)
    at gstpad.c:3545
#21 0xb7db3a7b in gst_pad_query_convert (pad=0x821c3e8, 
    src_format=GST_FORMAT_TIME, src_val=21362785, dest_format=0xb2dfb940, 
    dest_val=0xb2dfb948) at gstutils.c:2925
---Type <return> to continue, or q <return> to quit---
#22 0xb7db3b8c in gst_pad_query_peer_convert (pad=0x821c000, 
    src_format=GST_FORMAT_TIME, src_val=21362785, dest_format=0xb2dfb940, 
    dest_val=0xb2dfb948) at gstutils.c:2964
#23 0xb594a189 in gst_ffmpegdec_video_frame (ffmpegdec=0x821a588, 
    data=0xb460b580 "", size=13336, in_timestamp=21362785, 
    in_duration=18446744073709551615, in_offset=-1, outbuf=0xb2dfbb24, 
    ret=0xb2dfbc98) at gstffmpegdec.c:1819
#24 0xb594c14f in gst_ffmpegdec_frame (ffmpegdec=0x821a588, 
    data=0xb460b580 "", size=13336, got_data=0xb2dfbc9c, 
    in_timestamp=21362785, in_duration=18446744073709551615, in_offset=-1, 
    ret=0xb2dfbc98) at gstffmpegdec.c:2132
#25 0xb5950539 in gst_ffmpegdec_chain (pad=0x821c000, inbuf=0x82571a0)
    at gstffmpegdec.c:2546
#26 0xb7d85132 in gst_pad_chain_data_unchecked (pad=0x821c000, is_buffer=1, 
    data=0x82571a0) at gstpad.c:4042
#27 0xb7d859e8 in gst_pad_push_data (pad=0x821c3e8, is_buffer=1, 
    data=0x82571a0) at gstpad.c:4271
#28 0xb5850782 in gst_base_rtp_depayload_push_full (filter=0x8226108, 
    do_ts=<value optimized out>, rtptime=537980133, out_buf=0x82571a0)
    at gstbasertpdepayload.c:520
#29 0xb5851625 in gst_base_rtp_depayload_chain (pad=0x821c320, in=0x829a008)
    at gstbasertpdepayload.c:349
#30 0xb7d85132 in gst_pad_chain_data_unchecked (pad=0x821c320, is_buffer=1, 
---Type <return> to continue, or q <return> to quit---
    data=0x829a008) at gstpad.c:4042
#31 0xb7d859e8 in gst_pad_push_data (pad=0x823c6e8, is_buffer=1, 
    data=0x829a008) at gstpad.c:4271
#32 0xb7d740ed in gst_proxy_pad_do_chain (pad=0x823de20, buffer=0x829a008)
    at gstghostpad.c:179
#33 0xb7d85132 in gst_pad_chain_data_unchecked (pad=0x823de20, is_buffer=1, 
    data=0x829a008) at gstpad.c:4042
#34 0xb7d859e8 in gst_pad_push_data (pad=0x8293190, is_buffer=1, 
    data=0x829a008) at gstpad.c:4271
#35 0xb5826906 in gst_rtp_pt_demux_chain (pad=0x8260650, buf=0x829a008)
    at gstrtpptdemux.c:389
#36 0xb7d85132 in gst_pad_chain_data_unchecked (pad=0x8260650, is_buffer=1, 
    data=0x829a008) at gstpad.c:4042
#37 0xb7d859e8 in gst_pad_push_data (pad=0x82604c0, is_buffer=1, 
    data=0x829a008) at gstpad.c:4271
#38 0xb5823b78 in gst_rtp_jitter_buffer_loop (jitterbuffer=0x82950a8)
    at gstrtpjitterbuffer.c:1657
#39 0xb7da9d54 in gst_task_func (task=0x828b6d0) at gsttask.c:234
#40 0xb7dab687 in default_func (tdata=0x827adc8, pool=0x8078400)
    at gsttaskpool.c:70
#41 0xb75ae9db in ?? () from /usr/lib/libglib-2.0.so.0
#42 0xb75acd4f in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb7bdc4fb in start_thread () from /lib/tls/i686/cmov/libpthread.so.0

###############################################################################

It seems that gst_rtp_session_iterate_internal_links from gstrtpsession is
passing a null ptr (otherpad) to gst_iterator_new_single. I've found this same
issue for h263, h264, and mpeg4.

-- 
Configure bugmail: http://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