Test test_shared_tcp is occasionally failling
Reproduces on Fedora 29 as of 3be1b9bb. Fails both locally and on the CI. About 5 failures in 500 runs.
Reproduced with the following command:
./gst-uninstalled.py gst-validate-launcher check.gst-rtsp-server.gst_rtspserver.test_shared_tcp --n-runs 500 -fs --mute --dump-on-failure --no-display --meson-no-rebuild"
Log:
check.gst-rtsp-server.gst_rtspserver.test_shared_tcp: Failed 'Application returned 1'
You can reproduce with: GST_CHECKS='test_shared_tcp' GST_STATE_IGNORE_ELEMENTS='' GST_PLUGIN_SYSTEM_PATH_1_0='' CK_DEFAULT_TIMEOUT='120' DISPLAY=':0' GST_REGISTRY='/home/alatiera/centricular/gst-build/build/subprojects/gst-rtsp-server/tests/check/gst/rtspserver.registry' GST_PLUGIN_LOADING_WHITELIST='gstreamer:gst-plugins-base:gst-plugins-good:gst-plugins-bad:gst-rtsp-server' GST_PLUGIN_PATH_1_0='/home/alatiera/centricular/gst-build/build' /home/alatiera/centricular/gst-build/build/subprojects/gst-rtsp-server/tests/check/gst_rtspserver
Dumping log files on failure
Dumping contents of /home/alatiera/centricular/gst-build/validate-output/logs/check/gst-rtsp-server/gst_rtspserver/test_shared_tcp
=================
Test name: check.gst-rtsp-server.gst_rtspserver.test_shared_tcp
Command: '/home/alatiera/centricular/gst-build/build/subprojects/gst-rtsp-server/tests/check/gst_rtspserver'
=================
Running suite(s): rtspserver
Unexpected critical/warning: gst_rtsp_stream_get_ssrc: assertion 'priv->joined_bin != NULL' failed
Stack trace:
gst_debug_get_stack_trace (gstinfo.c:2788)
gst_check_log_critical_func (gstcheck.c:281)
g_logv (gmessages.c:1350)
g_log (gmessages.c:1413)
handle_setup_request (rtsp-client.c:2194)
handle_request (rtsp-client.c:3557)
gst_rtsp_client_handle_message (rtsp-client.c:4178)
gst_rtsp_source_dispatch_read (gstrtspconnection.c:3374)
g_main_context_dispatch (gmain.c:3182)
g_main_context_iterate.isra.21 (gmain.c:3920)
g_main_loop_run (gmain.c:4116)
do_loop (rtsp-thread-pool.c:330)
g_thread_pool_thread_proxy (gthreadpool.c:307)
g_thread_proxy (gthread.c:784)
start_thread (pthread_create.c:486)
__clone (clone.S:93)
0%: Checks: 1, Failures: 1, Errors: 0
../subprojects/gstreamer/libs/gst/check/gstcheck.c:286:F:general:test_shared_tcp:0: Unexpected critical/warning: gst_rtsp_stream_get_ssrc: assertion 'priv->joined_bin != NULL' failed
Check suite rtspserver ran in 0.091s (tests failed: 1)