Strange and infrequent segfault on the callee side when hanging up a SIP call
GST errors :
(python3:768720): GStreamer-CRITICAL **: 16:01:26.048:
Trying to dispose element shmdatasrc32, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
0:00:47.044832274 768720 0x7f84f40ccf20 DEBUG shmdatasrc gstshmdatasrc.c:353:gst_shmdata_src_stop_reading:<shmdatasrc33> Stopping 0x7f84f80b71f0
0:00:47.044989555 768720 0x7f83b80171e0 DEBUG shmdatasrc gstshmdatasrc.c:320:gst_shmdata_src_start_reading:<shmdatasrc33> Opening socket /run/user/1000/switcher_switcher-ws_7171a065-30d6-4c21-8206-3b15b3709118_52-0
(python3:768720): GStreamer-CRITICAL **: 16:01:26.052:
Trying to dispose element shmdatasrc33, but it is in PLAYING instead of the NULL state.
You need to explicitly set elements to the NULL state before
dropping the final reference, to allow them to clean up.
This problem may also be caused by a refcounting bug in the
application or some element.
(python3:768720): GStreamer-CRITICAL **: 16:01:26.052: gst_pad_create_stream_id_internal: assertion 'GST_IS_ELEMENT (parent)' failed
(python3:768720): GStreamer-CRITICAL **: 16:01:26.052: gst_event_new_stream_start: assertion 'stream_id != NULL' failed
(python3:768720): GStreamer-CRITICAL **: 16:01:26.052: gst_event_set_group_id: assertion 'event != NULL' failed
(python3:768720): GStreamer-CRITICAL **: 16:01:26.052: gst_pad_push_event: assertion 'GST_IS_EVENT (event)' failed
Segmentation fault (core dumped)
The stack trace is very strange
#0 0x00007f8533b31930 in () at /lib/x86_64-linux-gnu/libgstbase-1.0.so.0
#1 0x00007f85341021e7 in () at /lib/x86_64-linux-gnu/libgstreamer-1.0.so.0
#2 0x00007f8533f42384 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f8533f41ae1 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007f8537ea3609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#5 0x00007f8537fdd133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95