Deadlock because of recursive gst_init() call
Callstack
(gdb) bt
#0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1 0x00007f7eae8baa5c in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007f7eae9fe0c4 in gst_init_check (argc=0x557bef1a6940, argv=0x557bef1a6960, error=0x7ffccf11e400) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gst.c:418
#3 0x00007f7eae9fe1e8 in gst_init (argc=<optimised out>, argv=<optimised out>) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gst.c:475
#4 0x00007f7eae010ff5 in () at /lib/x86_64-linux-gnu/libffi.so.7
#5 0x00007f7eae01040a in () at /lib/x86_64-linux-gnu/libffi.so.7
#6 0x00007f7e758950a5 in () at /usr/lib/python3/dist-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so
#7 0x00007f7e7588c25c in () at /usr/lib/python3/dist-packages/gi/_gi.cpython-38-x86_64-linux-gnu.so
#8 0x00007f7e76cccafb in _PyObject_MakeTpCall () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#9 0x00007f7e76a98df3 in () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#10 0x00007f7e76aa0ef6 in _PyEval_EvalFrameDefault () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#11 0x00007f7e76beeecb in _PyEval_EvalCodeWithName () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#12 0x00007f7e76bef252 in PyEval_EvalCodeEx () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#13 0x00007f7e76bef63f in PyEval_EvalCode () at /lib/x86_64-linux-gnu/libpython3.8.so.1.0
#14 0x00007f7e770095ce in load_python_formatters () at ../subprojects/gstreamer-full/subprojects/gst-editing-services/ges/ges-formatter.c:616
#15 _init_formatter_assets () at ../subprojects/gstreamer-full/subprojects/gst-editing-services/ges/ges-formatter.c:677
#16 0x00007f7e7700a101 in ges_asset_cache_init_unlocked () at ../subprojects/gstreamer-full/subprojects/gst-editing-services/ges/ges-asset.c:576
#17 0x00007f7e7700cece in ges_asset_cache_init_unlocked () at ../subprojects/gstreamer-full/subprojects/gst-editing-services/ges/ges-asset.c:588
#18 _get_type_entries () at ../subprojects/gstreamer-full/subprojects/gst-editing-services/ges/ges-asset.c:588
#19 ges_list_assetsPython Exception <class 'gdb.error'> No type named TypeNode.:
(filter=) at ../subprojects/gstreamer-full/subprojects/gst-editing-services/ges/ges-asset.c:1636
#20 0x00007f7e84082eee in ges_demux_get_sinkpad_caps () at ../subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges/gesdemux.c:89
#21 ges_demux_class_init (self_class=<optimised out>) at ../subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges/gesdemux.c:205
#22 ges_demux_class_intern_init (klass=<optimised out>) at ../subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges/gesdemux.c:71
#23 0x00007f7eae7f51d1 in g_type_class_ref () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007f7eaea30d6d in gst_element_registerPython Exception <class 'gdb.error'> No type named TypeNode.:
(plugin=plugin@entry=0x557bedea5c30, name=name@entry=0x7f7e84084007 "gesdemux", rank=rank@entry=256, type=)
at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstelementfactory.c:245
#25 0x00007f7e84081588 in plugin_init (plugin=0x557bedea5c30) at ../subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges/gesplugin.c:42
#26 0x00007f7eaea5a5b5 in gst_plugin_register_func (user_data=0x0, desc=0x7f7e84086d20 <gst_plugin_desc>, plugin=0x557bedea5c30)
at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstplugin.c:529
#27 gst_plugin_register_func (plugin=0x557bedea5c30, desc=0x7f7e84086d20 <gst_plugin_desc>, user_data=0x0) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstplugin.c:483
#28 0x00007f7eaea5c605 in _priv_gst_plugin_load_file_for_registry
(filename=filename@entry=0x557bee9dbbf0 "/home/seungha/Work/centricular/webrtc-audio-demo/build/subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges/libgstges.so", registry=0x557bedd2f960, error=error@entry=0x0) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstplugin.c:896
#29 0x00007f7eaea69e57 in gst_registry_scan_plugin_file
(context=context@entry=0x7ffccf11ef90, filename=filename@entry=0x557bee9dbbf0 "/home/seungha/Work/centricular/webrtc-audio-demo/build/subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges/libgstges.so", file_size=199152, file_mtime=1641222920) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstregistry.c:1191
#30 0x00007f7eaea6b136 in gst_registry_scan_path_level
(context=context@entry=0x7ffccf11ef90, path=path@entry=0x557bedf8b0f0 "/home/seungha/Work/centricular/webrtc-audio-demo/build/subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges", level=level@entry=10) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstregistry.c:1354
#31 0x00007f7eaea6b486 in gst_registry_scan_path_internal
(context=context@entry=0x7ffccf11ef90, path=0x557bedf8b0f0 "/home/seungha/Work/centricular/webrtc-audio-demo/build/subprojects/gstreamer-full/subprojects/gst-editing-services/plugins/ges")
at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstregistry.c:1381
#32 0x00007f7eaea6cb94 in scan_and_update_registry
(write_changes=1, error=0x7ffccf11ef88, registry_file=0x557bedd3b170 "/home/seungha/Work/centricular/webrtc-audio-demo/build/subprojects/gstreamer-full/registry.dat", default_registry=0x557bedd2f960) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstregistry.c:1643
#33 ensure_current_registry (error=0x7ffccf11ef88) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstregistry.c:1784
#34 gst_update_registry () at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gstregistry.c:1861
#35 0x00007f7eae9fd76e in init_post (context=<optimised out>, group=<optimised out>, data=<optimised out>, error=<optimised out>) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gst.c:828
#36 init_post (context=<optimised out>, group=<optimised out>, data=<optimised out>, error=<optimised out>) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gst.c:668
#37 0x00007f7eae87adf8 in g_option_context_parse () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f7eae9fe187 in gst_init_check (error=0x7ffccf11f130, argv=0x0, argc=0x0) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gst.c:431
#39 gst_init_check (argc=0x0, argv=0x0, error=0x7ffccf11f130) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gst.c:410
#40 0x00007f7eae9fe1e8 in gst_init (argc=<optimised out>, argv=<optimised out>) at ../subprojects/gstreamer-full/subprojects/gstreamer/gst/gst.c:475