Thread 3 (Thread 0x7fffefd47700 (LWP 12095)):
#0  0x0000003b45eea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003b486495b4 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#2  0x0000003b486496dc in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x0000003b48649729 in glib_worker_main () from /lib64/libglib-2.0.so.0
#4  0x0000003b4866ea45 in g_thread_proxy () from /lib64/libglib-2.0.so.0
#5  0x0000003b46607f33 in start_thread (arg=0x7fffefd47700) at pthread_create.c:309
#6  0x0000003b45ef4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7ffff0548700 (LWP 12094)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x0000003b4868a817 in g_cond_wait () from /lib64/libglib-2.0.so.0
#2  0x00007ffff0c41f0c in gst_gl_window_default_send_message (window=0x7fffe8009040, callback=0x7ffff0c241fd <_gst_gl_context_thread_run_generic>, data=0x7ffff0547780) at gstglwindow.c:367
#3  0x00007ffff0c42040 in gst_gl_window_send_message (window=0x7fffe8009040, callback=0x7ffff0c241fd <_gst_gl_context_thread_run_generic>, data=0x7ffff0547780) at gstglwindow.c:394
#4  0x00007ffff0c24407 in gst_gl_context_thread_add (context=0x7e6a80, func=0x7ffff0c410f8 <_init_upload>, data=0x7fffe800a530) at gstglcontext.c:977
#5  0x00007ffff0c40107 in _gst_gl_upload_init_format_unlocked (upload=0x7fffe800a530, in_info=0x812c40) at gstglupload.c:175
#6  0x00007ffff0c4015d in gst_gl_upload_init_format (upload=0x7fffe800a530, in_info=0x812c40) at gstglupload.c:200
#7  0x00007ffff0e68fdc in _ensure_gl_setup (gl_sink=0x812960) at gstglimagesink.c:444
#8  0x00007ffff0e69c0e in gst_glimage_sink_set_caps (bsink=0x812960, caps=0x752f70) at gstglimagesink.c:701
#9  0x00007ffff10b5c9b in gst_base_sink_default_event (basesink=0x812960, event=0x810a40) at gstbasesink.c:3075
#10 0x00007ffff10b187d in gst_base_sink_event (pad=<optimized out>, parent=0x812960, event=0x810a40) at gstbasesink.c:3177
#11 0x00007ffff7d54e5c in gst_pad_send_event_unchecked (pad=pad@entry=0x7fc370, event=event@entry=0x810a40, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5096
#12 0x00007ffff7d556b1 in gst_pad_push_event_unchecked (pad=pad@entry=0x7fc140, event=0x810a40, type=type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:4795
#13 0x00007ffff7d55b28 in push_sticky (pad=0x7fc140, ev=0x7ffff0547c60, user_data=0x7ffff0547cd0) at gstpad.c:3429
#14 0x00007ffff7d53d82 in events_foreach (pad=pad@entry=0x7fc140, func=func@entry=0x7ffff7d559d0 <push_sticky>, user_data=user_data@entry=0x7ffff0547cd0) at gstpad.c:565
#15 0x00007ffff7d5c837 in check_sticky (event=0x0, pad=0x7fc140) at gstpad.c:3485
#16 gst_pad_peer_query (pad=0x7fc140, query=query@entry=0x7fffe80024a0) at gstpad.c:3686
#17 0x00007ffff10c307e in gst_base_src_prepare_allocation (caps=0x752f70, basesrc=0x7ee4d0) at gstbasesrc.c:3096
#18 gst_base_src_negotiate (basesrc=0x7ee4d0) at gstbasesrc.c:3235
#19 gst_base_src_loop (pad=0x7fc140) at gstbasesrc.c:2685
#20 0x00007ffff7d84e79 in gst_task_func (task=0x823050) at gsttask.c:319
#21 0x0000003b4866f406 in g_thread_pool_thread_proxy () from /lib64/libglib-2.0.so.0
#22 0x0000003b4866ea45 in g_thread_proxy () from /lib64/libglib-2.0.so.0
#23 0x0000003b46607f33 in start_thread (arg=0x7ffff0548700) at pthread_create.c:309
#24 0x0000003b45ef4ded in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7ffff7cc5740 (LWP 12086)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x0000003b4660a1af in _L_lock_1026 () from /lib64/libpthread.so.0
#2  0x0000003b4660a151 in __GI___pthread_mutex_lock (mutex=0x812270) at ../nptl/pthread_mutex_lock.c:134
#3  0x0000003b4868a5a1 in g_mutex_lock () from /lib64/libglib-2.0.so.0
#4  0x00007ffff10b5848 in gst_base_sink_set_flushing (basesink=basesink@entry=0x812960, flushing=flushing@entry=1, pad=<optimized out>) at gstbasesink.c:3994
#5  0x00007ffff10b650a in gst_base_sink_pad_activate_push (pad=<optimized out>, active=0, parent=<optimized out>) at gstbasesink.c:4153
#6  gst_base_sink_pad_activate_mode (pad=<optimized out>, parent=<optimized out>, mode=<optimized out>, active=0) at gstbasesink.c:4295
#7  0x00007ffff7d5a73d in gst_pad_activate_mode (pad=pad@entry=0x7fc370, mode=mode@entry=GST_PAD_MODE_PUSH, active=active@entry=0) at gstpad.c:1133
#8  0x00007ffff7d5ae80 in gst_pad_set_active (pad=0x7fc370, active=0) at gstpad.c:1019
#9  0x00007ffff7d3d8cb in activate_pads (vpad=<optimized out>, ret=0x7fffffffd4e0, active=0x7fffffffd53c) at gstelement.c:2687
#10 0x00007ffff7d4d8dc in gst_iterator_fold (it=it@entry=0x8160d0, func=func@entry=0x7ffff7d3d8b0 <activate_pads>, ret=ret@entry=0x7fffffffd4e0, user_data=user_data@entry=0x7fffffffd53c) at gstiterator.c:614
#11 0x00007ffff7d3db4a in iterator_activate_fold_with_resync (iter=iter@entry=0x8160d0, user_data=user_data@entry=0x7fffffffd53c, func=0x7ffff7d3d8b0 <activate_pads>) at gstelement.c:2707
#12 0x00007ffff7d3f876 in gst_element_pads_activate (element=element@entry=0x812960, active=0) at gstelement.c:2751
---Type <return> to continue, or q <return> to quit---
#13 0x00007ffff7d3fb8a in gst_element_change_state_func (element=0x812960, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2815
#14 0x00007ffff10b7c4f in gst_base_sink_change_state (element=0x812960, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbasesink.c:4965
#15 0x00007ffff0e694f9 in gst_glimage_sink_change_state (element=0x812960, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstglimagesink.c:547
#16 0x00007ffff7d41702 in gst_element_change_state (element=element@entry=0x812960, transition=transition@entry=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2602
#17 0x00007ffff7d41ddc in gst_element_set_state_func (element=0x812960, state=GST_STATE_NULL) at gstelement.c:2558
#18 0x00007ffff7d250a6 in gst_bin_element_set_state (next=GST_STATE_NULL, current=GST_STATE_READY, start_time=0, base_time=0, element=0x812960, bin=0x814160) at gstbin.c:2325
#19 gst_bin_change_state_func (element=0x814160, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2648
#20 0x00007ffff7d60dbf in gst_pipeline_change_state (element=0x814160, transition=GST_STATE_CHANGE_READY_TO_NULL) at gstpipeline.c:471
#21 0x00007ffff7d41702 in gst_element_change_state (element=element@entry=0x814160, transition=transition@entry=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2602
#22 0x00007ffff7d41ddc in gst_element_set_state_func (element=0x814160, state=GST_STATE_NULL) at gstelement.c:2558
#23 0x0000000000403752 in main (argc=4, argv=0x7fffffffddd8) at gst-launch.c:1159

