Loading soup plugin causes critical warning
This is new in the 1.20 branch, presumably a regression from !2491 (merged) (!2349 (merged) in main).
#0 g_logv (log_domain=0x7f21a8a1ab46 "GStreamer", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=<optimized out>) at ../glib/glib/gmessages.c:1418
#1 0x00007f21a978bad4 in g_log (log_domain=log_domain@entry=0x7f21a8a1ab46 "GStreamer", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7f21a97e7d57 "%s: assertion '%s' failed") at ../glib/glib/gmessages.c:1456
#2 0x00007f21a978d73e in g_return_if_fail_warning (log_domain=log_domain@entry=0x7f21a8a1ab46 "GStreamer", pretty_function=pretty_function@entry=0x7f21a8a2a730 <__func__.16> "gst_debug_log_valist", expression=expression@entry=0x7f21a8a29a8c "category != NULL") at ../glib/glib/gmessages.c:2942
#3 0x00007f21a899a73b in gst_debug_log_valist (category=0x0, level=GST_LEVEL_DEBUG, file=0x7f21a8915690 "../../../gst/main/subprojects/gst-plugins-good/ext/soup/gstsouploader.c", function=0x7f21a89166b0 <__func__.37> "gst_soup_load_library", line=163, object=0x0, format=0x7f21a89153b8 "Trying all libsoups", args=0x7fffd1e38a30) at ../../../gst/main/subprojects/gstreamer/gst/gstinfo.c:553
#4 0x00007f21a899a8c9 in gst_debug_log (category=<optimized out>, level=level@entry=GST_LEVEL_DEBUG, file=file@entry=0x7f21a8915690 "../../../gst/main/subprojects/gst-plugins-good/ext/soup/gstsouploader.c", function=function@entry=0x7f21a89166b0 <__func__.37> "gst_soup_load_library", line=line@entry=163, object=object@entry=0x0, format=0x7f21a89153b8 "Trying all libsoups") at ../../../gst/main/subprojects/gstreamer/gst/gstinfo.c:502
#5 0x00007f21a89104a9 in gst_soup_load_library () at ../../../gst/main/subprojects/gst-plugins-good/ext/soup/gstsouploader.c:163
#6 0x00007f21a8906f80 in soup_element_init (plugin=plugin@entry=0x557f19905ac0 [GstPlugin]) at ../../../gst/main/subprojects/gst-plugins-good/ext/soup/gstsoupelement.c:59
#7 0x00007f21a891022a in souphttpsrc_element_init (plugin=plugin@entry=0x557f19905ac0 [GstPlugin]) at ../../../gst/main/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c:2641
#8 0x00007f21a8910281 in gst_element_register_souphttpsrc (plugin=plugin@entry=0x557f19905ac0 [GstPlugin]) at ../../../gst/main/subprojects/gst-plugins-good/ext/soup/gstsouphttpsrc.c:277
#9 0x00007f21a8906ef8 in plugin_init (plugin=0x557f19905ac0 [GstPlugin]) at ../../../gst/main/subprojects/gst-plugins-good/ext/soup/gstsoup.c:34
#10 0x00007f21a89bd69a in gst_plugin_register_func (plugin=plugin@entry=0x557f19905ac0 [GstPlugin], desc=desc@entry=0x7f21a8919ce0 <gst_plugin_desc>, user_data=user_data@entry=0x0) at ../../../gst/main/subprojects/gstreamer/gst/gstplugin.c:532
#11 0x00007f21a89bfe06 in _priv_gst_plugin_load_file_for_registry (filename=0x557f19916300 "/home/jan/.cache/gst-build/main/subprojects/gst-plugins-good/ext/soup/libgstsoup.so", registry=0x557f1984a930 [GstRegistry], registry@entry=0x0, error=error@entry=0x7fffd1e38d60) at ../../../gst/main/subprojects/gstreamer/gst/gstplugin.c:971
#12 0x00007f21a89c080f in gst_plugin_load_file (filename=<optimized out>, error=error@entry=0x7fffd1e38d60) at ../../../gst/main/subprojects/gstreamer/gst/gstplugin.c:689
#13 0x00007f21a89c0c93 in gst_plugin_load_by_name (name=0x557f199156a5 "soup") at ../../../gst/main/subprojects/gstreamer/gst/gstplugin.c:1411
#14 0x00007f21a89c1857 in gst_plugin_feature_load (feature=feature@entry=0x557f199141c0 [GstElementFactory]) at ../../../gst/main/subprojects/gstreamer/gst/gstpluginfeature.c:112
#15 0x00007f21a898cd05 in gst_element_factory_create_with_properties (factory=factory@entry=0x557f199141c0 [GstElementFactory], n=n@entry=0, names=names@entry=0x0, values=values@entry=0x0) at ../../../gst/main/subprojects/gstreamer/gst/gstelementfactory.c:481
#16 0x00007f21a898d3f4 in gst_element_factory_make_with_properties (factoryname=0x557f197d2100 "souphttpsrc", n=n@entry=0, names=names@entry=0x0, values=values@entry=0x0) at ../../../gst/main/subprojects/gstreamer/gst/gstelementfactory.c:689
#17 0x00007f21a898d92d in gst_element_factory_make (factoryname=<optimized out>, name=<optimized out>) at ../../../gst/main/subprojects/gstreamer/gst/gstelementfactory.c:814