[Bug 753078] New: oggdemux: Segfault on state-change intensive test

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 30 13:26:41 PDT 2015


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

            Bug ID: 753078
           Summary: oggdemux: Segfault on state-change intensive test
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: olivier.crete at ocrete.ca
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Easily reproducible segfault in oggdemux:

GST_VALIDATE_SCENARIO=change_state_intensive gdb --args gst-validate-1.0
pushfilesrc
location=~/gst-validate/gst-qa-assets/medias/ogg/vorbis_theora.1.ogg ! oggdemux
! vorbisdec ! fakesink sync=true

=========================================
Running scenario change_state_intensive on pipeline pipeline0
=========================================
Starting pipeline
0:00:00.591158834  3893       0x84a530 ERROR              vorbisdec
gstvorbisdec.c:137:vorbis_dec_start:<vorbisdec0> start
Pipeline started
0:00:00.595681879  3893       0x830ca0 ERROR              vorbisdec
gstvorbisdec.c:319:vorbis_handle_header_packet:<vorbisdec0> bos header
Executing (40/40) set-state: state=null repeat=40 
0:00:00.600249812  3893       0x84a530 ERROR              vorbisdec
gstvorbisdec.c:150:vorbis_dec_stop:<vorbisdec0> stop
0:00:00.600553397  3893       0x830ca0 ERROR               validate
gst-validate-reporter.c:176:gst_validate_report_valist: <oggdemux0:sink> 2085
(critical) : buffer: flow return from pad push doesn't match expected value :
Wrong combined flow return ok(0). Expected: flushing(-2)
Executing (subaction) set-state: state=playing 
0:00:00.600922903  3893       0x84a530 ERROR              vorbisdec
gstvorbisdec.c:137:vorbis_dec_start:<vorbisdec0> start
[New Thread 0x7fffe8dc1700 (LWP 3900)]
[New Thread 0x7fffe95c2700 (LWP 3902)]
[New Thread 0x7fffe2957700 (LWP 3901)]
[New Thread 0x7fffe9dc3700 (LWP 3898)]
[New Thread 0x7fffea5c4700 (LWP 3897)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8dc1700 (LWP 3900)]
0x00007fffeb0de49f in gst_ogg_demux_sink_event (pad=0x82e270 [GstPad],
parent=0x838020 [GstOggDemux], event=0x7fffd4018310) at gstoggdemux.c:2367
2367                    GstOggPad *pad = g_array_index (chain->streams,
GstOggPad *, i);
Missing separate debuginfos, use: dnf debuginfo-install
at-spi2-atk-2.16.0-1.fc22.x86_64 at-spi2-core-2.16.0-1.fc22.x86_64
elfutils-libelf-0.163-1.fc22.x86_64 elfutils-libs-0.163-1.fc22.x86_64
libattr-2.4.47-9.fc22.x86_64 libepoxy-1.2-1.fc22.x86_64
libxkbcommon-0.5.0-1.fc22.x86_64 libxshmfence-1.2-1.fc22.x86_64
(gdb) bt
#0  0x00007fffeb0de49f in gst_ogg_demux_sink_event (pad=0x82e270 [GstPad],
parent=0x838020 [GstOggDemux], event=0x7fffd4018310) at gstoggdemux.c:2367
#1  0x00007ffff7bad778 in gst_validate_pad_monitor_downstream_event_check
(pad_monitor=0x848670 [GstValidatePadMonitor], parent=0x838020 [GstOggDemux],
event=0x7fffd4018310, handler=0x7fffeb0de0ca <gst_ogg_demux_sink_event>) at
gst-validate-pad-monitor.c:1788
#2  0x00007ffff7bafa1d in gst_validate_pad_monitor_sink_event_func
(pad=0x82e270 [GstPad], parent=0x838020 [GstOggDemux], event=0x7fffd4018310)
    at gst-validate-pad-monitor.c:2103
#3  0x00007ffff62967b5 in gst_pad_send_event_unchecked (pad=0x82e270 [GstPad],
event=0x7fffd4018310, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at gstpad.c:5388
#4  0x00007ffff62957fe in gst_pad_push_event_unchecked (pad=0x832050
[GstGhostPad], event=0x7fffd4018310, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at gstpad.c:5064
#5  0x00007ffff6290b97 in push_sticky (pad=0x832050 [GstGhostPad],
ev=0x7fffe8dc0840, user_data=0x7fffe8dc08a0) at gstpad.c:3651
#6  0x00007ffff6287dd3 in events_foreach (pad=0x832050 [GstGhostPad],
func=0x7ffff6290a82 <push_sticky>, user_data=0x7fffe8dc08a0) at gstpad.c:590
#7  0x00007ffff6290f38 in check_sticky (pad=0x832050 [GstGhostPad],
event=0x7fffd4018310) at gstpad.c:3707
#8  0x00007ffff6295dfb in gst_pad_push_event (pad=0x832050 [GstGhostPad],
event=0x7fffd4018310) at gstpad.c:5189
#9  0x00007ffff628eb95 in event_forward_func (pad=0x832050 [GstGhostPad],
data=0x7fffe8dc09e0) at gstpad.c:2884
#10 0x00007ffff628e997 in gst_pad_forward (pad=0x834130 [GstProxyPad],
forward=0x7ffff628ea6e <event_forward_func>, user_data=0x7fffe8dc09e0)
    at gstpad.c:2838
#11 0x00007ffff628ed49 in gst_pad_event_default (pad=0x834130 [GstProxyPad],
parent=0x832050 [GstGhostPad], event=0x7fffd4018310) at gstpad.c:2935
#12 0x00007ffff62967b5 in gst_pad_send_event_unchecked (pad=0x834130
[GstProxyPad], event=0x7fffd4018310, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at gstpad.c:5388
#13 0x00007ffff62957fe in gst_pad_push_event_unchecked (pad=0x82e030 [GstPad],
event=0x7fffd4018310, type=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at gstpad.c:5064
#14 0x00007ffff6290b97 in push_sticky (pad=0x82e030 [GstPad],
ev=0x7fffe8dc0be0, user_data=0x7fffe8dc0c40) at gstpad.c:3651
#15 0x00007ffff6287dd3 in events_foreach (pad=0x82e030 [GstPad],
func=0x7ffff6290a82 <push_sticky>, user_data=0x7fffe8dc0c40) at gstpad.c:590
#16 0x00007ffff6290f38 in check_sticky (pad=0x82e030 [GstPad],
event=0x7fffd4018310) at gstpad.c:3707
#17 0x00007ffff6295dfb in gst_pad_push_event (pad=0x82e030 [GstPad],
event=0x7fffd4018310) at gstpad.c:5189
#18 0x00007ffff658e412 in gst_base_src_loop (pad=0x82e030 [GstPad]) at
gstbasesrc.c:2748
#19 0x00007ffff62c979a in gst_task_func (task=0x86f170 [GstTask]) at
gsttask.c:331
#20 0x00007ffff62ca94e in default_func (tdata=0x8680c0, pool=0x61d910
[GstTaskPool]) at gsttaskpool.c:68
#21 0x00007ffff53daa3e in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#22 0x00007ffff53da0a5 in g_thread_proxy (data=0x830ca0) at gthread.c:764
#23 0x00007ffff67cb555 in start_thread (arg=0x7fffe8dc1700) at
pthread_create.c:333
#24 0x00007ffff50aaf3d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

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