whipwebrtcsink: crashes when inspected with gst-inspect-1.0
In debug:
env G_DEBUG=fatal_criticals gst-inspect-1.0 whipwebrtcsink
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
#0 g_logv (log_domain=0x7ff9f5abf030 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7ffcfe1d4fc0) at ../glib/gmessages.c:1422
Downloading source file /usr/src/debug/glib2-2.76.4-3.fc38.x86_64/redhat-linux-build/../glib/gmessages.c
1422 g_private_set (&g_log_depth, GUINT_TO_POINTER (depth));
(gdb) bt
#0 g_logv (log_domain=0x7ff9f5abf030 "GLib-GObject", log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>, args=args@entry=0x7ffcfe1d4fc0) at ../glib/gmessages.c:1422
#1 0x00007ff9f5b3d393 in g_log
(log_domain=log_domain@entry=0x7ff9f5abf030 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_CRITICAL, format=format@entry=0x7ff9f5ac9eb0 "cannot retrieve class for invalid (unclassed) type '%s'")
at ../glib/gmessages.c:1460
#2 0x00007ff9f5ab9d2e in g_type_class_ref (type=<optimized out>) at ../gobject/gtype.c:3035
#3 0x00007ff9f5aa3d40 in object_interface_check_properties (check_data=check_data@entry=0x0, g_iface=g_iface@entry=0x7b0f20) at ../gobject/gobject.c:1860
#4 0x00007ff9f5ab2b7a in type_iface_vtable_iface_init_Wm (iface=<optimized out>, node=node@entry=0x7f5440) at ../gobject/gtype.c:2189
#5 0x00007ff9f5aba13b in type_class_init_Wm (pclass=<optimized out>, node=0x7f5440) at ../gobject/gtype.c:2377
#6 g_type_class_ref (type=<optimized out>) at ../gobject/gtype.c:3066
#7 0x00007ff9f4e9740f in glib::object::Class<glib::object::Object>::from_type<glib::object::Object> (type_=...) at src/object.rs:3944
#8 glib::object::Object::new_internal (type_=..., properties=...) at src/object.rs:1444
#9 0x00007ff9f46d8399 in glib::object::ObjectBuilder<gstrswebrtc::signaller::Signaller>::build<gstrswebrtc::signaller::Signaller> (self=...)
at /var/home/phil/.cargo-home/git/checkouts/gtk-rs-core-7be42ca38bd6361c/9e0abef/glib/src/object.rs:1555
#10 0x00007ff9f46d8658 in gstrswebrtc::signaller::Signaller::new (mode=<optimized out>) at net/webrtc/src/signaller/mod.rs:43
#11 0x00007ff9f4664a49 in gstrswebrtc::webrtcsink::imp::{impl#1}::default () at net/webrtc/src/webrtcsink/imp.rs:314
#12 0x00007ff9f46c5984 in std::sync::mutex::{impl#7}::default<gstrswebrtc::webrtcsink::imp::Settings> () at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/sync/mutex.rs:477
#13 gstrswebrtc::webrtcsink::imp::{impl#63}::default () at net/webrtc/src/webrtcsink/imp.rs:309
#14 gstrswebrtc::webrtcsink::imp::{impl#64}::new () at net/webrtc/src/webrtcsink/imp.rs:3184
#15 glib::subclass::types::ObjectSubclass::with_class<gstrswebrtc::webrtcsink::imp::BaseWebRTCSink> (_klass=<optimized out>)
at /var/home/phil/.cargo-home/git/checkouts/gtk-rs-core-7be42ca38bd6361c/9e0abef/glib/src/subclass/types.rs:691
#16 glib::subclass::types::instance_init<gstrswebrtc::webrtcsink::imp::BaseWebRTCSink> (obj=0x7f4f50, klass=<optimized out>)
at /var/home/phil/.cargo-home/git/checkouts/gtk-rs-core-7be42ca38bd6361c/9e0abef/glib/src/subclass/types.rs:941
#17 0x00007ff9f5aba497 in g_type_create_instance (type=Python Exception <class 'TypeError'>: can only concatenate str (not "NoneType") to str
) at ../gobject/gtype.c:1977
#18 0x00007ff9f5a9ff74 in g_object_new_internal (class=0x7f4890, params=0x0, n_params=0) at ../gobject/gobject.c:2246
#19 0x00007ff9f5aa1596 in g_object_new_internal (n_params=<optimized out>, params=<optimized out>, class=<optimized out>) at ../gobject/gobject.c:2243
#20 g_object_new_with_properties (object_type=<optimized out>, n_properties=n_properties@entry=0, names=names@entry=0x0, values=values@entry=0x0) at ../gobject/gobject.c:2409
#21 0x00007ff9f5ca9e3f in gst_element_factory_create_with_properties (factory=0x7a3330, n=n@entry=0, names=names@entry=0x0, values=0x0) at ../subprojects/gstreamer/gst/gstelementfactory.c:494
#22 0x00007ff9f5caa639 in gst_element_factory_create (factory=factory@entry=0x7a3330, name=name@entry=0x0) at ../subprojects/gstreamer/gst/gstelementfactory.c:665
#23 0x0000000000407a8a in print_element_info (feature=feature@entry=0x7a3330, print_names=print_names@entry=0) at ../subprojects/gstreamer/tools/gst-inspect.c:1742
#24 0x0000000000409736 in print_feature_info (print_all=0, feature_name=0x7ffcfe1d8697 "whipwebrtcsink") at ../subprojects/gstreamer/tools/gst-inspect.c:1704
#25 real_main (argc=<optimized out>, argv=<optimized out>) at ../subprojects/gstreamer/tools/gst-inspect.c:2327
#26 0x00007ff9f58c4b4a in __libc_start_call_main (main=main@entry=0x404b90 <main>, argc=argc@entry=2, argv=argv@entry=0x7ffcfe1d6b18) at ../sysdeps/nptl/libc_start_call_main.h:58
#27 0x00007ff9f58c4c0b in __libc_start_main_impl (main=0x404b90 <main>, argc=2, argv=0x7ffcfe1d6b18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcfe1d6b08)
at ../csu/libc-start.c:360
#28 0x0000000000404bc5 in _start ()
In release no critical warning, crashes right away:
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007ffa0f788c51 in type_data_ref_U (node=<optimized out>) at ../gobject/gtype.c:1293
Downloading source file /usr/src/debug/glib2-2.76.4-3.fc38.x86_64/redhat-linux-build/../gobject/gtype.c
1293 } while (!g_atomic_int_compare_and_exchange ((int *) &node->ref_count, current, current + 1));
(gdb) bt
#0 0x00007ffa0f788c51 in type_data_ref_U (node=<optimized out>) at ../gobject/gtype.c:1293
#1 g_type_class_ref (type=<optimized out>) at ../gobject/gtype.c:3040
#2 0x00007ffa0f772d40 in object_interface_check_properties (check_data=check_data@entry=0x0, g_iface=g_iface@entry=0x1f1bce0) at ../gobject/gobject.c:1860
#3 0x00007ffa0f781b7a in type_iface_vtable_iface_init_Wm (iface=<optimized out>, node=node@entry=0x1f61cf0) at ../gobject/gtype.c:2189
#4 0x00007ffa0f78913b in type_class_init_Wm (pclass=<optimized out>, node=0x1f61cf0) at ../gobject/gtype.c:2377
#5 g_type_class_ref (type=<optimized out>) at ../gobject/gtype.c:3066
#6 0x00007ffa0ec2abfc in glib::object::Class<glib::object::Object>::from_type<glib::object::Object> (type_=...) at src/object.rs:3944
#7 glib::object::Object::new_internal (type_=..., properties=...) at src/object.rs:1444
#8 0x00007ffa0e3a2230 in glib::object::ObjectBuilder<gstrswebrtc::signaller::Signaller>::build<gstrswebrtc::signaller::Signaller> (self=...)
at /var/home/phil/.cargo-home/git/checkouts/gtk-rs-core-7be42ca38bd6361c/9e0abef/glib/src/object.rs:1555
#9 gstrswebrtc::signaller::Signaller::new (mode=gstrswebrtc::signaller::imp::WebRTCSignallerRole::Producer) at net/webrtc/src/signaller/mod.rs:43
#10 0x00007ffa0e543e0c in gstrswebrtc::webrtcsink::imp::{impl#1}::default () at net/webrtc/src/webrtcsink/imp.rs:314
#11 0x00007ffa0e389dd8 in std::sync::mutex::{impl#7}::default<gstrswebrtc::webrtcsink::imp::Settings> () at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library/std/src/sync/mutex.rs:477
#12 gstrswebrtc::webrtcsink::imp::{impl#63}::default () at net/webrtc/src/webrtcsink/imp.rs:309
#13 gstrswebrtc::webrtcsink::imp::{impl#64}::new () at net/webrtc/src/webrtcsink/imp.rs:3184
#14 glib::subclass::types::ObjectSubclass::with_class<gstrswebrtc::webrtcsink::imp::BaseWebRTCSink> (_klass=<optimized out>)
at /var/home/phil/.cargo-home/git/checkouts/gtk-rs-core-7be42ca38bd6361c/9e0abef/glib/src/subclass/types.rs:691
#15 glib::subclass::types::instance_init<gstrswebrtc::webrtcsink::imp::BaseWebRTCSink> (obj=0x1f61800, klass=<optimized out>)
at /var/home/phil/.cargo-home/git/checkouts/gtk-rs-core-7be42ca38bd6361c/9e0abef/glib/src/subclass/types.rs:941
#16 0x00007ffa0f789497 in g_type_create_instance (type=Python Exception <class 'TypeError'>: can only concatenate str (not "NoneType") to str
) at ../gobject/gtype.c:1977
#17 0x00007ffa0f76ef74 in g_object_new_internal (class=0x1f61100, params=0x0, n_params=0) at ../gobject/gobject.c:2246
#18 0x00007ffa0f770596 in g_object_new_internal (n_params=<optimized out>, params=<optimized out>, class=<optimized out>) at ../gobject/gobject.c:2243
#19 g_object_new_with_properties (object_type=<optimized out>, n_properties=n_properties@entry=0, names=names@entry=0x0, values=values@entry=0x0) at ../gobject/gobject.c:2409
#20 0x00007ffa0f978e3f in gst_element_factory_create_with_properties (factory=0x1f0e0e0, n=n@entry=0, names=names@entry=0x0, values=0x0) at ../subprojects/gstreamer/gst/gstelementfactory.c:494
#21 0x00007ffa0f979639 in gst_element_factory_create (factory=factory@entry=0x1f0e0e0, name=name@entry=0x0) at ../subprojects/gstreamer/gst/gstelementfactory.c:665
#22 0x0000000000407a8a in print_element_info (feature=feature@entry=0x1f0e0e0, print_names=print_names@entry=0) at ../subprojects/gstreamer/tools/gst-inspect.c:1742
#23 0x0000000000409736 in print_feature_info (print_all=0, feature_name=0x7ffd02b0b6a5 "whipwebrtcsink") at ../subprojects/gstreamer/tools/gst-inspect.c:1704
#24 real_main (argc=<optimized out>, argv=<optimized out>) at ../subprojects/gstreamer/tools/gst-inspect.c:2327
#25 0x00007ffa0f593b4a in __libc_start_call_main (main=main@entry=0x404b90 <main>, argc=argc@entry=2, argv=argv@entry=0x7ffd02b0a0c8) at ../sysdeps/nptl/libc_start_call_main.h:58
#26 0x00007ffa0f593c0b in __libc_start_main_impl (main=0x404b90 <main>, argc=2, argv=0x7ffd02b0a0c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd02b0a0b8)
at ../csu/libc-start.c:360
#27 0x0000000000404bc5 in _start ()