Segfault when GStreamer deinitalizes
We have a Python3 unittest using GES and the unittest suceeds, prints "OK", but the process segfaults, see the attached t a a bt
(gdb) bt
#0 0x00007f5bb99bc6c6 in gst_transcoder_adjust_wait_time (sync_clock=<optimized out>, time=<optimized out>, id=<optimized out>, self=0x55da5164c160) at ../subprojects/gst-plugins-bad/gst/transcode/gst-cpu-throttling-clock.c:97
#1 0x00007f5bfcf726b7 in gst_system_clock_async_thread (clock=0x55da520f5170) at ../subprojects/gstreamer/gst/gstsystemclock.c:847
#2 0x00007f5c011b3b49 in g_thread_proxy () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007f5c0188f1da in start_thread () at /usr/lib/x86_64-linux-gnu/libc.so.6
#4 0x00007f5c01917f44 in clone () at /usr/lib/x86_64-linux-gnu/libc.so.6