Skip to content

Instantly share code, notes, and snippets.

@rectalogic
Created March 30, 2012 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rectalogic/2254054 to your computer and use it in GitHub Desktop.
Save rectalogic/2254054 to your computer and use it in GitHub Desktop.
melt opengl deadlock
consumer_xgl_init
filter_glsl_csc_init -----------------------
consumer_xgl_init
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
|1=-10| |2= -5| |3= -2| |4= -1| |5= 0| |6= 1| |7= 2| |8= 5| |9= 10|
+-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+ +-----+
+---------------------------------------------------------------------+
| H = back 1 minute, L = forward 1 minute |
| h = previous frame, l = next frame |
| g = start of clip, j = next clip, k = previous clip |
| 0 = restart, q = quit, space = play |
+---------------------------------------------------------------------+
Direct Rendering: true 0
mlt_glsl is supported.
mlt_glsl init done.
Shared context created.
filter_glsl_csc convert_image -----------------------in:yuv420p out:glsl
hidden_make_current 0
filter_glsl_csc convert_image -----------------------yuv420p to glsl
glsl_get_fbo, 0
glsl_get_texture, 0
glsl_get_shader, 0
No shader found : yuv420p_to_glsl_frag
glsl_get_texture, 1 0
glsl_get_texture, 2
glsl_get_texture, 3
hiddenDoneCurrent 0
filter_glsl_csc convert_image -----------------------set_image, 18844880, 2 [frame:0] [7858]
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_get_fbo, 1
glsl_get_texture, 4
hiddenDoneCurrent
filter_glsl_rescale -----------------------set_image, 19629936, 6 [frame:0] [7858] w=1920 h=1080
(((((((((((((((((((((((((((...glsl_texture_destructor, 18844880
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_finish -----------------------[7858]
hiddenDoneCurrent
show_frame threadID : 7857
(((((((((((((((((((((((((((...glsl_texture_destructor, 19629936
filter_glsl_csc convert_image -----------------------in:yuv420p out:glsl
hidden_make_current
filter_glsl_csc convert_image -----------------------yuv420p to glsl
glsl_get_fbo, 2
glsl_get_texture, 5
glsl_get_shader, 1
shader name : yuv420p_to_glsl_frag
glsl_get_texture, 5
glsl_get_texture, 5
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_csc convert_image -----------------------set_image, 18844880, 2 [frame:1] [7858]
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_get_fbo, 2
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_rescale -----------------------set_image, 19629936, 6 [frame:1] [7858] w=1920 h=1080
(((((((((((((((((((((((((((...glsl_texture_destructor, 18844880
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_finish -----------------------[7858]
hiddenDoneCurrent
show_frame threadID : 7857
(((((((((((((((((((((((((((...glsl_texture_destructor, 19629936
filter_glsl_csc convert_image -----------------------in:yuv420p out:glsl
hidden_make_current
filter_glsl_csc convert_image -----------------------yuv420p to glsl
glsl_get_fbo, 2
glsl_get_texture, 5
glsl_get_shader, 1
shader name : yuv420p_to_glsl_frag
glsl_get_texture, 5
glsl_get_texture, 5
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_csc convert_image -----------------------set_image, 18844880, 2 [frame:2] [7858]
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_get_fbo, 2
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_rescale -----------------------set_image, 19629936, 6 [frame:2] [7858] w=1920 h=1080
(((((((((((((((((((((((((((...glsl_texture_destructor, 18844880
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_finish -----------------------[7858]
hiddenDoneCurrent
show_frame threadID : 7857
(((((((((((((((((((((((((((...glsl_texture_destructor, 19629936
filter_glsl_csc convert_image -----------------------in:yuv420p out:glsl
hidden_make_current
filter_glsl_csc convert_image -----------------------yuv420p to glsl
glsl_get_fbo, 2
glsl_get_texture, 5
glsl_get_shader, 1
shader name : yuv420p_to_glsl_frag
glsl_get_texture, 5
glsl_get_texture, 5
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_csc convert_image -----------------------set_image, 18844880, 2 [frame:3] [7858]
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_get_fbo, 2
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_rescale -----------------------set_image, 19629936, 6 [frame:3] [7858] w=1920 h=1080
(((((((((((((((((((((((((((...glsl_texture_destructor, 18844880
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_finish -----------------------[7858]
hiddenDoneCurrent
show_frame threadID : 7857
(((((((((((((((((((((((((((...glsl_texture_destructor, 19629936
filter_glsl_csc convert_image -----------------------in:yuv420p out:glsl
hidden_make_current
filter_glsl_csc convert_image -----------------------yuv420p to glsl
glsl_get_fbo, 2
glsl_get_texture, 5
glsl_get_shader, 1
shader name : yuv420p_to_glsl_frag
glsl_get_texture, 5
glsl_get_texture, 5
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_csc convert_image -----------------------set_image, 18844880, 2 [frame:4] [7858]
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_get_fbo, 2
glsl_get_texture, 5
hiddenDoneCurrent
filter_glsl_rescale -----------------------set_image, 19629936, 6 [frame:4] [7858] w=1920 h=1080
(((((((((((((((((((((((((((...glsl_texture_destructor, 18844880
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
filter_glsl_csc convert_image -----------------------in:glsl out:glsl
hidden_make_current
glsl_finish -----------------------[7858]
hiddenDoneCurrent
show_frame threadID : 7857
(((((((((((((((((((((((((((...glsl_texture_destructor, 19629936
filter_glsl_csc convert_image -----------------------in:yuv420p out:glsl
hidden_make_current
filter_glsl_csc convert_image -----------------------yuv420p to glsl
glsl_get_fbo, 2
glsl_get_texture, 5
glsl_get_shader, 1
shader name : yuv420p_to_glsl_frag
glsl_get_texture, 5
glsl_get_texture, 5
glsl_get_texture, 5
Current Position: 0
Program received signal SIGINT, Interrupt.
=========================
Starting program: /home/aw/Projects/encoder/foundation/mlt/installed/bin/melt -profile atsc_1080p_25 -consumer xgl /storage/codex-doc-assets/womandancingindress-16x9.mp4
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe35b0700 (LWP 7857)]
[New Thread 0x7fffe277f700 (LWP 7858)]
[New Thread 0x7fffe1f7e700 (LWP 7859)]
[New Thread 0x7fffe177d700 (LWP 7860)]
[New Thread 0x7fffe0f7c700 (LWP 7861)]
[New Thread 0x7fffe077b700 (LWP 7862)]
[New Thread 0x7fffdff7a700 (LWP 7863)]
[New Thread 0x7fffdf779700 (LWP 7864)]
[New Thread 0x7fffdef78700 (LWP 7865)]
[New Thread 0x7fffde777700 (LWP 7866)]
[New Thread 0x7fffddf76700 (LWP 7867)]
[New Thread 0x7fffdd775700 (LWP 7868)]
[New Thread 0x7fffdcf74700 (LWP 7869)]
[New Thread 0x7fffdc773700 (LWP 7870)]
[New Thread 0x7fffdbf72700 (LWP 7871)]
Program received signal SIGINT, Interrupt.
0x00007ffff76cc613 in select () from /lib/x86_64-linux-gnu/libc.so.6
Thread 16 (Thread 0x7fffdbf72700 (LWP 7871)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 15 (Thread 0x7fffdc773700 (LWP 7870)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 14 (Thread 0x7fffdcf74700 (LWP 7869)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 13 (Thread 0x7fffdd775700 (LWP 7868)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 12 (Thread 0x7fffddf76700 (LWP 7867)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 11 (Thread 0x7fffde777700 (LWP 7866)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 10 (Thread 0x7fffdef78700 (LWP 7865)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 9 (Thread 0x7fffdf779700 (LWP 7864)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 8 (Thread 0x7fffdff7a700 (LWP 7863)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 7 (Thread 0x7fffe077b700 (LWP 7862)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 6 (Thread 0x7fffe0f7c700 (LWP 7861)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 5 (Thread 0x7fffe177d700 (LWP 7860)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 4 (Thread 0x7fffe1f7e700 (LWP 7859)):
#0 0x00007ffff799d04c in pthread_cond_wait@@GLIBC_2.3.2 ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#1 0x00007fffee2af48d in ?? ()
from /opt/motionbox/foundation/7.1.1/lib/libavcodec.so.54
#2 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#3 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x0000000000000000 in ?? ()
Thread 3 (Thread 0x7fffe277f700 (LWP 7858)):
#0 0x00007ffff76c7473 in poll () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff100e4f2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007ffff100faaf in xcb_wait_for_reply ()
from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007ffff3072b7d in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4 0x00007fffe7ff2438 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#5 0x00007fffe7ff3e8b in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6 0x00007fffe82926d6 in hidden_done_current (user_data=0x7fffe84a0820)
at consumer_xgl.c:144
#7 0x00007fffe8292262 in p_done_current_and_unlock (g=0x689190)
at mlt_glsl.c:614
#8 0x00007fffe8295b31 in convert_image (frame=0x873a40, image=0x7fffe277ee68,
format=0x7fffe277ee98, output_format=mlt_image_glsl)
at filter_glsl_csc.c:532
#9 0x00007ffff7bb8233 in mlt_frame_get_image (self=0x873a40, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277e9a8, height=
0x7fffe277e9ac, writable=1) at mlt_frame.c:460
#10 0x00007fffe82960aa in filter_get_image (frame=0x873a40, image=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277e9a8, height=
0x7fffe277e9ac, writable=1) at filter_glsl_crop.c:72
#11 0x00007ffff7bb81a8 in mlt_frame_get_image (self=0x873a40, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277e9a8, height=
0x7fffe277e9ac, writable=1) at mlt_frame.c:454
#12 0x00007fffe8298ae4 in filter_get_image (this=0x873a40, image=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277e9a8, height=
0x7fffe277e9ac, writable=1) at filter_glsl_deinterlace.c:140
#13 0x00007ffff7bb81a8 in mlt_frame_get_image (self=0x873a40, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277e9a8, height=
0x7fffe277e9ac, writable=1) at mlt_frame.c:454
#14 0x00007fffe829832e in filter_get_image (frame=0x873a40, image=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ec40, height=
0x7fffe277ec44, writable=1) at filter_glsl_rescale.c:106
#15 0x00007ffff7bb81a8 in mlt_frame_get_image (self=0x873a40, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ec40, height=
0x7fffe277ec44, writable=1) at mlt_frame.c:454
#16 0x00007fffe8297883 in filter_get_image (frame=0x873a40, image=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ec40, height=
0x7fffe277ec44, writable=0) at filter_glsl_fieldorder.c:56
#17 0x00007ffff7bb81a8 in mlt_frame_get_image (self=0x873a40, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ec40, height=
0x7fffe277ec44, writable=0) at mlt_frame.c:454
#18 0x00007fffe829731a in filter_get_image (frame=0x873a40, image=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ee9c, height=
0x7fffe277eea0, writable=0) at filter_glsl_resize.c:122
#19 0x00007ffff7bb81a8 in mlt_frame_get_image (self=0x873a40, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ee9c, height=
0x7fffe277eea0, writable=0) at mlt_frame.c:454
#20 0x00007ffff7bcebd6 in producer_get_image (self=0x86cc00, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ee9c, height=
0x7fffe277eea0, writable=0) at mlt_tractor.c:273
#21 0x00007ffff7bb81a8 in mlt_frame_get_image (self=0x86cc00, buffer=
0x7fffe277ee68, format=0x7fffe277ee98, width=0x7fffe277ee9c, height=
0x7fffe277eea0, writable=0) at mlt_frame.c:454
#22 0x00007fffe8292de9 in video_thread (arg=0x0) at consumer_xgl.c:295
#23 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#24 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#25 0x0000000000000000 in ?? ()
Thread 2 (Thread 0x7fffe35b0700 (LWP 7857)):
#0 0x00007ffff769f21d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007ffff76cce54 in usleep () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007fffe8293ae1 in run () at consumer_xgl.c:539
#3 0x00007fffe8293b7d in start_xgl (consumer=0x6186e0) at consumer_xgl.c:558
#4 0x00007fffe8293f1b in consumer_thread (arg=0x6186e0) at consumer_xgl.c:704
#5 0x00007ffff7998efc in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#6 0x00007ffff76d359d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#7 0x0000000000000000 in ?? ()
Thread 1 (Thread 0x7ffff7fd7720 (LWP 7856)):
#0 0x00007ffff76cc613 in select () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x0000000000404fd1 in term_read () at io.c:162
#2 0x00000000004032bc in transport (producer=0x696e80, consumer=0x6186e0)
at melt.c:380
#3 0x0000000000404b92 in main (argc=6, argv=0x7fffffffe348) at melt.c:910
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment