Thread 6 (Thread 0x7ffff7fdf700 (LWP 10776)):
#0  0x00007ffff6a4fff8 in pthread_join (threadid=140737315407616, thread_return=thread_return@entry=0x0) at pthread_join.c:92
#1  0x00007ffff7b629f7 in g_system_thread_wait (thread=0x6519e0) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread-posix.c:1180
#2  0x00007ffff7b474d5 in g_thread_join (thread=0x6519e0) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:964
#3  0x0000000000402006 in queue_clean (user_data=0x6519e0) at ../main.c:167
#4  0x00007ffff7b3220f in g_queue_foreach (queue=0x7ffff5b109d0, queue@entry=0x6d0440, func=0x401fe6 <queue_clean>, user_data=0x0)
    at /tmp/buildd/glib2.0-2.38.2/./glib/gqueue.c:255
#5  0x00007ffff7b3226b in g_queue_free_full (queue=0x6d0440, free_func=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gqueue.c:109
#6  0x00000000004020aa in main (argc=1, argv=0x7fffffffe948) at ../main.c:185

Thread 5 (Thread 0x7ffff5b10700 (LWP 10777)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7b62597 in g_cond_wait (cond=0x7fffe400c6d8, mutex=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread-posix.c:759
#2  0x00007fffe2b47845 in gst_gl_context_finalize (object=0x7fffe400c710) at gstglcontext.c:284
#3  0x00007ffff6eb5afa in g_object_unref (_object=0x7fffe400c710) at /tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3197
#4  0x00007ffff780245f in gst_object_unref (object=<optimized out>) at gstobject.c:275
#5  0x00007fffe2b4a42b in gst_gl_filter_reset (filter=filter@entry=0x7fffdc01c5c0) at gstglfilter.c:251
#6  0x00007fffe2b4c863 in gst_gl_filter_stop (bt=<optimized out>) at gstglfilter.c:296
#7  0x00007ffff46a8182 in gst_base_transform_activate (trans=0x7fffdc01c5c0, active=<optimized out>) at gstbasetransform.c:2347
#8  0x00007ffff46a8295 in gst_base_transform_sink_activate_mode (pad=0x7fffdc058754, parent=0x7fffdc01c5c0, mode=GST_PAD_MODE_PUSH, active=0) at gstbasetransform.c:2367
#9  0x00007ffff783d90d in gst_pad_activate_mode (pad=pad@entry=0x7fffe4017010, mode=mode@entry=GST_PAD_MODE_PUSH, active=active@entry=0) at gstpad.c:1083
#10 0x00007ffff783e050 in gst_pad_set_active (pad=0x7fffe4017010, active=0) at gstpad.c:969
#11 0x00007ffff782229b in activate_pads (vpad=<optimized out>, ret=0x7ffff5b0f7f0, active=0x7ffff5b0f84c) at gstelement.c:2687
#12 0x00007ffff783123c in gst_iterator_fold (it=it@entry=0x7ffff0018360, func=func@entry=0x7ffff7822280 <activate_pads>, ret=ret@entry=0x7ffff5b0f7f0, 
    user_data=user_data@entry=0x7ffff5b0f84c) at gstiterator.c:614
#13 0x00007ffff782264a in iterator_activate_fold_with_resync (iter=iter@entry=0x7ffff0018360, user_data=user_data@entry=0x7ffff5b0f84c, func=0x7ffff7822280 <activate_pads>)
    at gstelement.c:2707
#14 0x00007ffff7824206 in gst_element_pads_activate (element=element@entry=0x7fffdc01c5c0, active=0) at gstelement.c:2751
#15 0x00007ffff782451a in gst_element_change_state_func (element=0x7fffdc01c5c0, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2815
#16 0x00007ffff7826092 in gst_element_change_state (element=element@entry=0x7fffdc01c5c0, transition=transition@entry=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2602
#17 0x00007ffff782676c in gst_element_set_state_func (element=0x7fffdc01c5c0, state=GST_STATE_READY) at gstelement.c:2558
#18 0x00007ffff780c5c9 in gst_bin_element_set_state (next=GST_STATE_READY, current=GST_STATE_PAUSED, start_time=23476545068, base_time=811461300367, element=0x7fffdc01c5c0, 
    bin=0x7fffe4019790) at gstbin.c:2325
#19 gst_bin_change_state_func (element=0x7fffe4019790, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2648
#20 0x00007ffff7826092 in gst_element_change_state (element=element@entry=0x7fffe4019790, transition=transition@entry=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2602
#21 0x00007ffff782676c in gst_element_set_state_func (element=0x7fffe4019790, state=GST_STATE_READY) at gstelement.c:2558
#22 0x00007ffff780c5c9 in gst_bin_element_set_state (next=GST_STATE_READY, current=GST_STATE_PAUSED, start_time=23476545068, base_time=811461300367, element=0x7fffe4019790, 
    bin=0x7fffe8002890) at gstbin.c:2325
#23 gst_bin_change_state_func (element=0x7fffe8002890, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstbin.c:2648
#24 0x00007ffff7843cfb in gst_pipeline_change_state (element=0x7fffe8002890, transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstpipeline.c:471
#25 0x00007ffff7826092 in gst_element_change_state (element=element@entry=0x7fffe8002890, transition=<optimized out>) at gstelement.c:2602
#26 0x00007ffff78269c8 in gst_element_continue_state (element=element@entry=0x7fffe8002890, ret=ret@entry=GST_STATE_CHANGE_SUCCESS) at gstelement.c:2312
#27 0x00007ffff782628a in gst_element_change_state (element=element@entry=0x7fffe8002890, transition=transition@entry=GST_STATE_CHANGE_PLAYING_TO_PAUSED) at gstelement.c:2639
#28 0x00007ffff782676c in gst_element_set_state_func (element=0x7fffe8002890, state=GST_STATE_NULL) at gstelement.c:2558
#29 0x0000000000401f21 in display_run () at ../main.c:130
#30 0x0000000000401fc1 in run_display (user_data=0x0) at ../main.c:154
#31 0x00007ffff7b47095 in g_thread_proxy (data=0x6519e0) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798
#32 0x00007ffff6a4ee0e in start_thread (arg=0x7ffff5b10700) at pthread_create.c:311
#33 0x00007ffff71db0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7ffff530f700 (LWP 10778)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007ffff6a50f3b in _L_lock_974 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff6a50d8b in __GI___pthread_mutex_lock (mutex=0x7fffd42cbb98) at pthread_mutex_lock.c:64
#3  0x00007ffff612c8ba in xcb_writev () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#4  0x00007ffff74df686 in _XSend () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#5  0x00007ffff74d6082 in XQueryExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#6  0x00007ffff74ca342 in XInitExtension () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7  0x00007fffec51740d in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#8  0x00007fffec5372cd in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#9  0x00007fffec53b60c in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#10 0x00007fffec5161d3 in glXMakeCurrentReadSGI () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#11 0x00007fffec2f97c5 in vaDestroySurfaceGLX_impl_libva (ctx=0x7fffe4059ad0, gl_surface=0x7fffd45426a0) at va_glx_impl.c:914
#12 0x00007fffed81bd8f in _gst_vaapi_texture_destroy_objects (texture=<optimized out>) at gstvaapitexture.c:80
#13 gst_vaapi_texture_destroy (texture=0x7fffd4325400) at gstvaapitexture.c:118
#14 0x00007fffecd944c2 in gst_vaapi_object_finalize (object=0x7fffd4325400) at gstvaapiobject.c:51
#15 0x00007fffecd943ff in gst_vaapi_mini_object_free (object=0x7fffd4325400) at gstvaapiminiobject.c:34
#16 gst_vaapi_mini_object_unref (object=0x7fffd4325400) at gstvaapiminiobject.c:137
#17 0x00007fffecd94472 in gst_vaapi_mini_object_replace (old_object_ptr=<optimized out>, new_object=<optimized out>) at gstvaapiminiobject.c:170
#18 0x00007fffecd94585 in gst_vaapi_object_replace_internal (new_object=<optimized out>, old_object_ptr=<optimized out>) at gstvaapiobject_priv.h:238
#19 gst_vaapi_object_replace (old_object_ptr=<optimized out>, new_object=<optimized out>) at gstvaapiobject.c:142
#20 0x00007fffed81c2c5 in gst_vaapi_texture_replace (old_texture_ptr=<optimized out>, new_texture=<optimized out>) at gstvaapitexture.c:380
#21 0x00007fffede44a50 in meta_texture_free (meta=0x7fffe4002940) at gstvaapivideometa_texture.c:43
#22 0x00007ffff780d1e1 in _gst_buffer_free (buffer=0x7fffdc003a60) at gstbuffer.c:563
#23 0x00007ffff7811173 in default_stop (pool=0x7fffdc00f090) at gstbufferpool.c:382
#24 0x00007ffff7810ecc in do_stop (pool=pool@entry=0x7fffdc00f090) at gstbufferpool.c:402
#25 0x00007ffff7811a00 in gst_buffer_pool_set_active (pool=pool@entry=0x7fffdc00f090, active=active@entry=0) at gstbufferpool.c:468
#26 0x00007ffff7811ad8 in gst_buffer_pool_finalize (object=0x7fffdc00f090) at gstbufferpool.c:197
#27 0x00007fffede45417 in gst_vaapi_video_buffer_pool_finalize (object=0x7fffdc00f090) at gstvaapivideobufferpool.c:64
#28 0x00007ffff6eb5afa in g_object_unref (_object=0x7fffdc00f090) at /tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3197
#29 0x00007ffff780245f in gst_object_unref (object=<optimized out>) at gstobject.c:275
#30 0x00007fffefb92b06 in gst_video_decoder_finalize (object=0x7fffe402bc20) at gstvideodecoder.c:841
#31 0x00007ffff6eb5afa in g_object_unref (_object=0x7fffe402bc20) at /tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3197
#32 0x00007ffff780245f in gst_object_unref (object=<optimized out>) at gstobject.c:275
#33 0x00007ffff7806931 in gst_bin_remove_func (bin=0x7fffe4019110, element=<optimized out>) at gstbin.c:1564
#34 0x00007ffff780af03 in gst_bin_dispose (object=0x7fffe4019110) at gstbin.c:528
#35 0x00007ffff6eb5a6c in g_object_unref (_object=0x7fffe4019110) at /tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3160
#36 0x00007ffff780245f in gst_object_unref (object=<optimized out>) at gstobject.c:275
#37 0x00007ffff7806931 in gst_bin_remove_func (bin=0x7fffe8002090, element=<optimized out>) at gstbin.c:1564
#38 0x00007ffff780af03 in gst_bin_dispose (object=0x7fffe8002090) at gstbin.c:528
#39 0x00007ffff6eb5a6c in g_object_unref (_object=0x7fffe8002090) at /tmp/buildd/glib2.0-2.38.2/./gobject/gobject.c:3160
#40 0x0000000000401f30 in display_run () at ../main.c:131
#41 0x0000000000401fc1 in run_display (user_data=0x0) at ../main.c:154
#42 0x00007ffff7b47095 in g_thread_proxy (data=0x651a30) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798
#43 0x00007ffff6a4ee0e in start_thread (arg=0x7ffff530f700) at pthread_create.c:311
#44 0x00007ffff71db0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7fffeec9a700 (LWP 10780)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffff7b62597 in g_cond_wait (cond=cond@entry=0x7fffe800b650, mutex=mutex@entry=0x7fffe800b608) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread-posix.c:759
#2  0x00007ffff7867344 in gst_task_func (task=0x7fffe800b5f0) at gsttask.c:301
#3  0x00007ffff7b47a4c in g_thread_pool_thread_proxy (data=<optimized out>) at /tmp/buildd/glib2.0-2.38.2/./glib/gthreadpool.c:309
#4  0x00007ffff7b47095 in g_thread_proxy (data=0x7ffff0003a80) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798
#5  0x00007ffff6a4ee0e in start_thread (arg=0x7fffeec9a700) at pthread_create.c:311
#6  0x00007ffff71db0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fffdbdf6700 (LWP 10781)):
#0  0x00007ffff71abc0d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007ffff7b48628 in g_usleep (microseconds=microseconds@entry=50000) at /tmp/buildd/glib2.0-2.38.2/./glib/gtimer.c:261
#2  0x00007fffe08e766f in gst_xvimagesink_event_thread (xvimagesink=0x7fffdc020410) at xvimagesink.c:582
#3  0x00007ffff7b47095 in g_thread_proxy (data=0x7fffdc014000) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798
#4  0x00007ffff6a4ee0e in start_thread (arg=0x7fffdbdf6700) at pthread_create.c:311
#5  0x00007ffff71db0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fffda5f3700 (LWP 10784)):
#0  __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007ffff6a50f3b in _L_lock_974 () from /lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00007ffff6a50d8b in __GI___pthread_mutex_lock (mutex=0x7fffec7577a0) at pthread_mutex_lock.c:64
#3  0x00007fffec516193 in glXMakeCurrentReadSGI () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#4  0x00007fffe2b6389a in gst_gl_context_glx_activate (context=0x7fffe400c710, activate=0) at gstglcontext_glx.c:391
#5  0x00007fffe2b489bc in gst_gl_context_create_thread (context=0x7fffe400c710) at gstglcontext.c:795
#6  0x00007ffff7b47095 in g_thread_proxy (data=0x7fffdc0040f0) at /tmp/buildd/glib2.0-2.38.2/./glib/gthread.c:798
#7  0x00007ffff6a4ee0e in start_thread (arg=0x7fffda5f3700) at pthread_create.c:311
#8  0x00007ffff71db0fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
