Crash in gst_input_selector_cleanup_old_cached_buffers
We had a crash in input-selector
:
#0 g_queue_peek_nth (queue=<optimized out>, n=n@entry=0) at ../../../glib/gqueue.c:928
link = 0xfd894855fa1e0ff3
__func__ = "g_queue_peek_nth"
#1 0x00007f257d4a6598 in gst_input_selector_cleanup_old_cached_buffers (pad=<optimized out>, sel=0x7f2588e99880) at ../gstreamer/subprojects/gstreamer/plugins/elements/gstinputselector.c:927
selpad = 0x7f2569114960
maybe_remove = 0x0
queue_position = 0
walk = 0x7f254ba51f60
#2 gst_selector_pad_chain (pad=<optimized out>, parent=0x7f2588e99880, buf=<optimized out>) at ../gstreamer/subprojects/gstreamer/plugins/elements/gstinputselector.c:1145
sel = 0x7f2588e99880
res = GST_FLOW_OK
prev_active_sinkpad = 0x0
__func__ = "gst_selector_pad_chain"
#3 0x00007f258d8b683d in gst_pad_chain_data_unchecked (pad=pad@entry=0x7f2558a312a0, type=type@entry=4112, data=data@entry=0x7f2572a33240) at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4447
chainfunc = 0x7f257d4a5cc0 <gst_selector_pad_chain>
parent = 0x7f2588e99880
handled = 0
__func__ = "gst_pad_chain_data_unchecked"
#4 0x00007f258d8b9e19 in gst_pad_push_data (pad=pad@entry=0x7f247f2c1440, type=type@entry=4112, data=data@entry=0x7f2572a33240) at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4711
peer = 0x7f2558a312a0
ret = GST_FLOW_OK
handled = 0
__func__ = "gst_pad_push_data"
#5 0x00007f258d8ba23e in gst_pad_push (pad=0x7f247f2c1440, buffer=0x7f2572a33240) at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4830
__func__ = "gst_pad_push"
...
selpad
has been freed, presumably through a concurrent pad release.
GStreamer 1.20.3.1 80a8702d (with patches, but none to input-selector
)