[Bug 796553] New: streamsynchronizer: never forwards EOS when playbin has audio visualization

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Jun 10 14:37:28 UTC 2018


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

            Bug ID: 796553
           Summary: streamsynchronizer: never forwards EOS when playbin
                    has audio visualization
    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: philn at igalia.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The stream_finish_cond is not signaled and thus EOS isn't forwarded.

Thread 22 (Thread 0x7fa7ab954700 (LWP 32613)):
#0  0x00007fa7cde618f9 in syscall () at
../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fa7cf1ebe0f in g_cond_wait () at
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa7bddd750b in gst_stream_synchronizer_wait
(self=self at entry=0x7fa7be055060, pad=pad at entry=0x7fa7af794d00) at
../subprojects/gst-plugins-base/gst/playback/gststreamsynchronizer.c:262
#3  0x00007fa7bddda22a in gst_stream_synchronizer_sink_event
(pad=0x7fa7af794ab0, parent=<optimized out>, event=0x7fa7af59bde0) at
../subprojects/gst-plugins-base/gst/playback/gststreamsynchronizer.c:629
#4  0x00007fa7ce9e9fb7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x7fa7af794ab0, event=event at entry=0x7fa7af59bde0,
type=<optimized out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5756
#5  0x00007fa7ce9ea3f7 in gst_pad_push_event_unchecked
(pad=pad at entry=0x7fa7af784120, in_event=in_event at entry=0x7fa7ab9522a8,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5409
#6  0x00007fa7ce9ea868 in push_sticky (pad=pad at entry=0x7fa7af784120,
ev=ev at entry=0x7fa7ab9522f0, user_data=user_data at entry=0x7fa7ab952350) at
../subprojects/gstreamer/gst/gstpad.c:3932
#7  0x00007fa7ce9e85a8 in events_foreach (pad=pad at entry=0x7fa7af784120,
func=func at entry=0x7fa7ce9ea7b0 <push_sticky>,
user_data=user_data at entry=0x7fa7ab952350) at
../subprojects/gstreamer/gst/gstpad.c:612
#8  0x00007fa7ce9f4aa5 in check_sticky (event=<optimized out>,
pad=0x7fa7af784120) at ../subprojects/gstreamer/gst/gstpad.c:3992
#9  0x00007fa7ce9f4aa5 in gst_pad_push_event (pad=pad at entry=0x7fa7af784120,
event=<optimized out>) at ../subprojects/gstreamer/gst/gstpad.c:5543
#10 0x00007fa7ce9f4fc4 in event_forward_func (pad=pad at entry=0x7fa7af784120,
data=data at entry=0x7fa7ab952440) at ../subprojects/gstreamer/gst/gstpad.c:3055
#11 0x00007fa7ce9f07ae in gst_pad_forward (pad=pad at entry=0x7fa7be095b30,
forward=forward at entry=0x7fa7ce9f4f00 <event_forward_func>,
user_data=user_data at entry=0x7fa7ab952440)
    at ../subprojects/gstreamer/gst/gstpad.c:3009
#12 0x00007fa7ce9f0885 in gst_pad_event_default (pad=0x7fa7be095b30,
parent=<optimized out>, event=0x7fa7af59bde0) at
../subprojects/gstreamer/gst/gstpad.c:3106
#13 0x00007fa7ce9e9fb7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x7fa7be095b30, event=event at entry=0x7fa7af59bde0,
type=<optimized out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5756
#14 0x00007fa7ce9ea3f7 in gst_pad_push_event_unchecked
(pad=pad at entry=0x7fa7af84e800, in_event=in_event at entry=0x7fa7ab9525e8,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5409
#15 0x00007fa7ce9ea868 in push_sticky (pad=pad at entry=0x7fa7af84e800,
ev=ev at entry=0x7fa7ab952630, user_data=user_data at entry=0x7fa7ab952690) at
../subprojects/gstreamer/gst/gstpad.c:3932
#16 0x00007fa7ce9e85a8 in events_foreach (pad=pad at entry=0x7fa7af84e800,
func=func at entry=0x7fa7ce9ea7b0 <push_sticky>,
user_data=user_data at entry=0x7fa7ab952690) at
../subprojects/gstreamer/gst/gstpad.c:612
#17 0x00007fa7ce9f4aa5 in check_sticky (event=<optimized out>,
pad=0x7fa7af84e800) at ../subprojects/gstreamer/gst/gstpad.c:3992
#18 0x00007fa7ce9f4aa5 in gst_pad_push_event (pad=pad at entry=0x7fa7af84e800,
event=<optimized out>) at ../subprojects/gstreamer/gst/gstpad.c:5543
#19 0x00007fa7ce9f4fc4 in event_forward_func (pad=pad at entry=0x7fa7af84e800,
data=data at entry=0x7fa7ab952780) at ../subprojects/gstreamer/gst/gstpad.c:3055
#20 0x00007fa7ce9f07ae in gst_pad_forward (pad=pad at entry=0x7fa7af4f0160,
forward=forward at entry=0x7fa7ce9f4f00 <event_forward_func>,
user_data=user_data at entry=0x7fa7ab952780)
    at ../subprojects/gstreamer/gst/gstpad.c:3009
#21 0x00007fa7ce9f0885 in gst_pad_event_default (pad=0x7fa7af4f0160,
parent=<optimized out>, event=0x7fa7af59bde0) at
../subprojects/gstreamer/gst/gstpad.c:3106
#22 0x00007fa7ce9e9fb7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x7fa7af4f0160, event=event at entry=0x7fa7af59bde0,
type=<optimized out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5756
#23 0x00007fa7ce9ea3f7 in gst_pad_push_event_unchecked
(pad=pad at entry=0x7fa7be095d80, in_event=in_event at entry=0x7fa7ab952928,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5409
#24 0x00007fa7ce9ea868 in push_sticky (pad=pad at entry=0x7fa7be095d80,
ev=ev at entry=0x7fa7ab952970, user_data=user_data at entry=0x7fa7ab9529d0) at
../subprojects/gstreamer/gst/gstpad.c:3932
#25 0x00007fa7ce9e85a8 in events_foreach (pad=pad at entry=0x7fa7be095d80,
func=func at entry=0x7fa7ce9ea7b0 <push_sticky>,
user_data=user_data at entry=0x7fa7ab9529d0) at
../subprojects/gstreamer/gst/gstpad.c:612
#26 0x00007fa7ce9f4aa5 in check_sticky (event=<optimized out>,
pad=0x7fa7be095d80) at ../subprojects/gstreamer/gst/gstpad.c:3992
#27 0x00007fa7ce9f4aa5 in gst_pad_push_event (pad=0x7fa7be095d80,
event=<optimized out>) at ../subprojects/gstreamer/gst/gstpad.c:5543
#28 0x00007fa7ad59ed04 in gst_concat_sink_event (pad=<optimized out>,
parent=0x7fa7c1df6160, event=<optimized out>) at
../subprojects/gstreamer/plugins/elements/gstconcat.c:608
#29 0x00007fa7ce9e9fb7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x7fa7b292aed0, event=event at entry=0x7fa782e41e70,
type=<optimized out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5756
#30 0x00007fa7ce9ea3f7 in gst_pad_push_event_unchecked
(pad=pad at entry=0x7fa7af4f0de0, in_event=in_event at entry=0x7fa7ab952c58,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5409
#31 0x00007fa7ce9ea868 in push_sticky (pad=pad at entry=0x7fa7af4f0de0,
ev=ev at entry=0x7fa7ab952ca0, user_data=user_data at entry=0x7fa7ab952d00) at
../subprojects/gstreamer/gst/gstpad.c:3932
#32 0x00007fa7ce9e85a8 in events_foreach (pad=pad at entry=0x7fa7af4f0de0,
func=func at entry=0x7fa7ce9ea7b0 <push_sticky>,
user_data=user_data at entry=0x7fa7ab952d00) at
../subprojects/gstreamer/gst/gstpad.c:612
#33 0x00007fa7ce9f4aa5 in check_sticky (event=<optimized out>,
pad=0x7fa7af4f0de0) at ../subprojects/gstreamer/gst/gstpad.c:3992
#34 0x00007fa7ce9f4aa5 in gst_pad_push_event (pad=pad at entry=0x7fa7af4f0de0,
event=<optimized out>) at ../subprojects/gstreamer/gst/gstpad.c:5543
#35 0x00007fa7ce9f4fc4 in event_forward_func (pad=pad at entry=0x7fa7af4f0de0,
data=data at entry=0x7fa7ab952df0) at ../subprojects/gstreamer/gst/gstpad.c:3055
#36 0x00007fa7ce9f07ae in gst_pad_forward (pad=pad at entry=0x7fa7af84f3e0,
forward=forward at entry=0x7fa7ce9f4f00 <event_forward_func>,
user_data=user_data at entry=0x7fa7ab952df0)
    at ../subprojects/gstreamer/gst/gstpad.c:3009
#37 0x00007fa7ce9f0885 in gst_pad_event_default (pad=0x7fa7af84f3e0,
parent=<optimized out>, event=0x7fa782e41e70) at
../subprojects/gstreamer/gst/gstpad.c:3106
#38 0x00007fa7ce9e9fb7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x7fa7af84f3e0, event=event at entry=0x7fa782e41e70,
type=<optimized out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5756
#39 0x00007fa7ce9ea3f7 in gst_pad_push_event_unchecked
(pad=pad at entry=0x7fa7af4f0b60, in_event=in_event at entry=0x7fa7ab952f98,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
---Type <return> to continue, or q <return> to quit---
    at ../subprojects/gstreamer/gst/gstpad.c:5409
#40 0x00007fa7ce9ea868 in push_sticky (pad=pad at entry=0x7fa7af4f0b60,
ev=ev at entry=0x7fa7ab952fe0, user_data=user_data at entry=0x7fa7ab953040) at
../subprojects/gstreamer/gst/gstpad.c:3932
#41 0x00007fa7ce9e85a8 in events_foreach (pad=pad at entry=0x7fa7af4f0b60,
func=func at entry=0x7fa7ce9ea7b0 <push_sticky>,
user_data=user_data at entry=0x7fa7ab953040) at
../subprojects/gstreamer/gst/gstpad.c:612
#42 0x00007fa7ce9f4aa5 in check_sticky (event=<optimized out>,
pad=0x7fa7af4f0b60) at ../subprojects/gstreamer/gst/gstpad.c:3992
#43 0x00007fa7ce9f4aa5 in gst_pad_push_event (pad=pad at entry=0x7fa7af4f0b60,
event=<optimized out>) at ../subprojects/gstreamer/gst/gstpad.c:5543
#44 0x00007fa7ce9f4fc4 in event_forward_func (pad=pad at entry=0x7fa7af4f0b60,
data=data at entry=0x7fa7ab953130) at ../subprojects/gstreamer/gst/gstpad.c:3055
#45 0x00007fa7ce9f07ae in gst_pad_forward (pad=pad at entry=0x7fa7af84f180,
forward=forward at entry=0x7fa7ce9f4f00 <event_forward_func>,
user_data=user_data at entry=0x7fa7ab953130)
    at ../subprojects/gstreamer/gst/gstpad.c:3009
#46 0x00007fa7ce9f0885 in gst_pad_event_default (pad=0x7fa7af84f180,
parent=<optimized out>, event=0x7fa782e41e70) at
../subprojects/gstreamer/gst/gstpad.c:3106
#47 0x00007fa7ce9e9fb7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x7fa7af84f180, event=event at entry=0x7fa782e41e70,
type=<optimized out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5756
#48 0x00007fa7ce9ea3f7 in gst_pad_push_event_unchecked
(pad=pad at entry=0x7fa7af4ea890, in_event=in_event at entry=0x7fa7ab9532d8,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5409
#49 0x00007fa7ce9ea868 in push_sticky (pad=pad at entry=0x7fa7af4ea890,
ev=ev at entry=0x7fa7ab953320, user_data=user_data at entry=0x7fa7ab953380) at
../subprojects/gstreamer/gst/gstpad.c:3932
#50 0x00007fa7ce9e85a8 in events_foreach (pad=pad at entry=0x7fa7af4ea890,
func=func at entry=0x7fa7ce9ea7b0 <push_sticky>,
user_data=user_data at entry=0x7fa7ab953380) at
../subprojects/gstreamer/gst/gstpad.c:612
#51 0x00007fa7ce9f4aa5 in check_sticky (event=<optimized out>,
pad=0x7fa7af4ea890) at ../subprojects/gstreamer/gst/gstpad.c:3992
#52 0x00007fa7ce9f4aa5 in gst_pad_push_event (pad=0x7fa7af4ea890,
event=<optimized out>, event at entry=0x7fa782e41e70) at
../subprojects/gstreamer/gst/gstpad.c:5543
#53 0x00007fa7c685209b in gst_audio_decoder_push_event
(dec=dec at entry=0x7fa7af66bcd0, event=event at entry=0x7fa782e41e70) at
../subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.c:602
#54 0x00007fa7c685594c in gst_audio_decoder_sink_eventfunc (dec=0x7fa7af66bcd0,
event=0x7fa782e41e70) at
../subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiodecoder.c:2240
#55 0x00007fa7ce9e9fb7 in gst_pad_send_event_unchecked
(pad=pad at entry=0x7fa7af4ea640, event=event at entry=0x7fa782e41e70,
type=<optimized out>, type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5756
#56 0x00007fa7ce9ea3f7 in gst_pad_push_event_unchecked
(pad=pad at entry=0x7fa7af4ea3f0, in_event=in_event at entry=0x7fa7ab9536c8,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../subprojects/gstreamer/gst/gstpad.c:5409
#57 0x00007fa7ce9ea868 in push_sticky (pad=pad at entry=0x7fa7af4ea3f0,
ev=ev at entry=0x7fa7ab953710, user_data=user_data at entry=0x7fa7ab953770) at
../subprojects/gstreamer/gst/gstpad.c:3932
#58 0x00007fa7ce9e85a8 in events_foreach (pad=pad at entry=0x7fa7af4ea3f0,
func=func at entry=0x7fa7ce9ea7b0 <push_sticky>,
user_data=user_data at entry=0x7fa7ab953770) at
../subprojects/gstreamer/gst/gstpad.c:612
#59 0x00007fa7ce9f4aa5 in check_sticky (event=<optimized out>,
pad=0x7fa7af4ea3f0) at ../subprojects/gstreamer/gst/gstpad.c:3992
#60 0x00007fa7ce9f4aa5 in gst_pad_push_event (pad=0x7fa7af4ea3f0,
event=<optimized out>, event at entry=0x7fa782e41e70) at
../subprojects/gstreamer/gst/gstpad.c:5543
#61 0x00007fa7ad5bc0d5 in gst_single_queue_push_one (allow_drop=<synthetic
pointer>, object=0x7fa782e41e70, sq=0x7fa7af43c400, mq=0x7fa7c1a346f0)
    at ../subprojects/gstreamer/plugins/elements/gstmultiqueue.c:1692
#62 0x00007fa7ad5bc0d5 in gst_multi_queue_loop (pad=<optimized out>) at
../subprojects/gstreamer/plugins/elements/gstmultiqueue.c:1963
#63 0x00007fa7cea1fbf9 in gst_task_func (task=0x7fa7b02a1710) at
../subprojects/gstreamer/gst/gsttask.c:332
#64 0x00007fa7cf1ce7d0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fa7cf1cde05 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#66 0x00007fa7ce3495aa in start_thread (arg=0x7fa7ab954700) at
pthread_create.c:463
#67 0x00007fa7cde66cbf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

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