Open jdbuys opened 2 years ago
I know it has nothing to do with the problem, but I tried for months to use Liquisoap on CentOS, and it was never stable, always having problems. I only got full stability using on a Debian 11 and installing via Opam. Unless you have a very strong reason to use CentOS, I suggest peace of mind and using it under Debian or Ubuntu.
I just ran some tests on Ubuntu 22.04 and it deadlocked again. Here's the Ubuntu stacktrace.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007fbf75e4c21a in __GI___sigtimedwait (set=set@entry=0x7ffef49a3c70, info=info@entry=0x7ffef49a3bb0, timeout=timeout@entry=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:61
61 ../sysdeps/unix/sysv/linux/sigtimedwait.c: No such file or directory.
(gdb) thread apply all bt
Thread 9 (Thread 0x7fbf5dffb640 (LWP 12339) "liquidsoap"):
#0 0x00007fbf75f21d7f in __GI___poll (fds=fds@entry=0x7fbf400090c0, nfds=nfds@entry=6, timeout=timeout@entry=4999) at ../sysdeps/unix/sysv/linux/poll.c:29
#1 0x000055f093a6f901 in poll (__timeout=4999, __nfds=6, __fds=0x7fbf400090c0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:39
#2 caml_poll (_read=<optimized out>, _write=<optimized out>, _err=<optimized out>, _timeout=<optimized out>) at duppy_stubs.c:95
#3 0x000055f093963010 in camlDuppy__poll_485 () at src/duppy.ml:37
#4 0x000055f093964170 in camlDuppy__f_891 () at src/duppy.ml:208
#5 0x000055f093963d6b in camlDuppy__process_881 () at src/duppy.ml:229
#6 0x000055f093964acd in camlDuppy__f_979 () at src/duppy.ml:326
#7 0x000055f093964850 in camlDuppy__queue_inner_2692 () at src/duppy.ml:357
#8 0x000055f0936dddd3 in camlTutils__process_830 () at tools/tutils.ml:164
#9 0x000055f0939a9825 in camlThread__fun_850 () at thread.ml:49
#10 0x000055f093aaaa21 in caml_start_program ()
#11 0x000055f093aa00d1 in caml_callback_exn (closure=closure@entry=140460111337904, arg=<optimized out>, arg@entry=1) at callback.c:111
#12 0x000055f093a7f5a0 in caml_thread_start (arg=0x7fbf600051c0) at st_stubs.c:548
#13 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#14 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 8 (Thread 0x7fbf5e7fc640 (LWP 12338) "liquidsoap"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7fbf54002ba8) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fbf54002ba8) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fbf54002ba8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x00007fbf75e9cac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f0955bab20, cond=0x7fbf54002b80) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x7fbf54002b80, mutex=mutex@entry=0x55f0955bab20) at ./nptl/pthread_cond_wait.c:627
#5 0x000055f093a800d3 in st_condvar_wait (m=0x55f0955bab20, c=0x7fbf54002b80) at /home/jdbuys/.opam/default/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/systhreads/st_posix.h:290
#6 caml_condition_wait (wcond=<optimized out>, wmut=<optimized out>) at st_stubs.c:884
#7 0x000055f093964bf1 in camlDuppy__f_979 () at src/duppy.ml:341
#8 0x000055f093964850 in camlDuppy__queue_inner_2692 () at src/duppy.ml:357
#9 0x000055f0936dddd3 in camlTutils__process_830 () at tools/tutils.ml:164
#10 0x000055f0939a9825 in camlThread__fun_850 () at thread.ml:49
#11 0x000055f093aaaa21 in caml_start_program ()
#12 0x000055f093aa00d1 in caml_callback_exn (closure=closure@entry=140460111339808, arg=<optimized out>, arg@entry=1) at callback.c:111
#13 0x000055f093a7f5a0 in caml_thread_start (arg=0x7fbf600050e0) at st_stubs.c:548
#14 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 7 (Thread 0x7fbf5effd640 (LWP 12337) "liquidsoap"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7fbf4c002bac) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fbf4c002bac) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fbf4c002bac, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x00007fbf75e9cac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f0955bab20, cond=0x7fbf4c002b80) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x7fbf4c002b80, mutex=mutex@entry=0x55f0955bab20) at ./nptl/pthread_cond_wait.c:627
#5 0x000055f093a800d3 in st_condvar_wait (m=0x55f0955bab20, c=0x7fbf4c002b80) at /home/jdbuys/.opam/default/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/systhreads/st_posix.h:290
#6 caml_condition_wait (wcond=<optimized out>, wmut=<optimized out>) at st_stubs.c:884
#7 0x000055f093964bf1 in camlDuppy__f_979 () at src/duppy.ml:341
#8 0x000055f093964850 in camlDuppy__queue_inner_2692 () at src/duppy.ml:357
#9 0x000055f0936dddd3 in camlTutils__process_830 () at tools/tutils.ml:164
#10 0x000055f0939a9825 in camlThread__fun_850 () at thread.ml:49
#11 0x000055f093aaaa21 in caml_start_program ()
#12 0x000055f093aa00d1 in caml_callback_exn (closure=closure@entry=140460111341648, arg=<optimized out>, arg@entry=1) at callback.c:111
--Type <RET> for more, q to quit, c to continue without paging--c
#13 0x000055f093a7f5a0 in caml_thread_start (arg=0x7fbf60005710) at st_stubs.c:548
#14 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 6 (Thread 0x7fbf5f7fe640 (LWP 12336) "liquidsoap"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7fbf48002ba8) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x7fbf48002ba8) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7fbf48002ba8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x00007fbf75e9cac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f0955bab20, cond=0x7fbf48002b80) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x7fbf48002b80, mutex=mutex@entry=0x55f0955bab20) at ./nptl/pthread_cond_wait.c:627
#5 0x000055f093a800d3 in st_condvar_wait (m=0x55f0955bab20, c=0x7fbf48002b80) at /home/jdbuys/.opam/default/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/systhreads/st_posix.h:290
#6 caml_condition_wait (wcond=<optimized out>, wmut=<optimized out>) at st_stubs.c:884
#7 0x000055f093964bf1 in camlDuppy__f_979 () at src/duppy.ml:341
#8 0x000055f093964850 in camlDuppy__queue_inner_2692 () at src/duppy.ml:357
#9 0x000055f0936dddd3 in camlTutils__process_830 () at tools/tutils.ml:164
#10 0x000055f0939a9825 in camlThread__fun_850 () at thread.ml:49
#11 0x000055f093aaaa21 in caml_start_program ()
#12 0x000055f093aa00d1 in caml_callback_exn (closure=closure@entry=140460111343432, arg=<optimized out>, arg@entry=1) at callback.c:111
#13 0x000055f093a7f5a0 in caml_thread_start (arg=0x55f0955dc920) at st_stubs.c:548
#14 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 5 (Thread 0x7fbf5ffff640 (LWP 12335) "liquidsoap"):
#0 __GI___libc_write (nbytes=28, buf=0x7fbf5fffb084, fd=2) at ../sysdeps/unix/sysv/linux/write.c:26
#1 __GI___libc_write (fd=2, buf=0x7fbf5fffb084, nbytes=28) at ../sysdeps/unix/sysv/linux/write.c:24
#2 0x00007fbf75e93f6d in _IO_new_file_write (f=0x7fbf760236a0 <_IO_2_1_stderr_>, data=0x7fbf5fffb084, n=28) at ./libio/fileops.c:1180
#3 0x00007fbf75e94850 in new_do_write (to_do=<optimized out>, data=0x7fbf5fffb084 "[mp3float @ 0x7fbf500a0340] ", fp=0x7fbf760236a0 <_IO_2_1_stderr_>) at ./libio/libioP.h:947
#4 _IO_new_file_xsputn (n=28, data=<optimized out>, f=<optimized out>) at ./libio/fileops.c:1254
#5 _IO_new_file_xsputn (f=0x7fbf760236a0 <_IO_2_1_stderr_>, data=<optimized out>, n=28) at ./libio/fileops.c:1196
#6 0x00007fbf75e88b1d in __GI__IO_fputs (str=0x7fbf5fffb084 "[mp3float @ 0x7fbf500a0340] ", fp=0x7fbf760236a0 <_IO_2_1_stderr_>) at ./libio/libioP.h:947
#7 0x00007fbf780db138 in av_log_default_callback () at /lib/x86_64-linux-gnu/libavutil.so.56
#8 0x00007fbf780dba33 in av_log () at /lib/x86_64-linux-gnu/libavutil.so.56
#9 0x00007fbf76c784d0 in () at /lib/x86_64-linux-gnu/libavcodec.so.58
#10 0x00007fbf76c786e0 in avcodec_send_packet () at /lib/x86_64-linux-gnu/libavcodec.so.58
#11 0x000055f093a3f754 in decode_packet (frame=0x7fbf50101a80, packet=0x7fbf50169ac0, stream=<optimized out>, av=0x7fbf500a2860) at av_stubs.c:1015
#12 ocaml_av_read_input (_packet=<optimized out>, _frame=<optimized out>, _av=<optimized out>) at av_stubs.c:1206
#13 0x000055f0938aa859 in camlAv__read_input_inner_1549 () at av/av.ml:216
#14 0x000055f093485b79 in camlFfmpeg_decoder__f_1628 () at decoder/ffmpeg_decoder.ml:662
#15 0x000055f0936b63cc in camlDecoder__fill_1702 () at decoder/decoder.ml:506
#16 0x000055f09353e084 in camlRequest_source__fun_2554 () at sources/request_source.ml:201
#17 0x000055f0936dd859 in camlTutils__mutexify_390 () at tools/tutils.ml:95
#18 0x000055f09353e2c2 in camlRequest_source__fun_2606 () at sources/request_source.ml:244
#19 0x000055f0936dd859 in camlTutils__mutexify_390 () at tools/tutils.ml:95
#20 0x000055f09353b5b7 in camlRequest_source__fun_2586 () at sources/request_source.ml:227
#21 0x000055f09353bbfc in camlRequest_source__fun_2798 () at sources/request_source.ml:506
#22 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#23 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#24 0x000055f0934fb95f in camlConversion__fun_946 () at conversions/conversion.ml:61
#25 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#26 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#27 0x000055f0934f6eb6 in camlMap_metadata__fun_1260 () at operators/map_metadata.ml:51
#28 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#29 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#30 0x000055f0934d3aa9 in camlCuepoint__fun_1357 () at operators/cuepoint.ml:170
#31 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#32 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#33 0x000055f0934f81a6 in camlInsert_metadata__fun_1564 () at operators/insert_metadata.ml:134
#34 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#35 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#36 0x000055f0934eb60c in camlSwitch__fun_2296 () at operators/switch.ml:254
#37 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#38 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#39 0x000055f0934eb60c in camlSwitch__fun_2296 () at operators/switch.ml:254
#40 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#41 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#42 0x000055f0934fb95f in camlConversion__fun_946 () at conversions/conversion.ml:61
#43 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#44 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#45 0x000055f0934f62a8 in camlOn_end__fun_1217 () at operators/on_end.ml:37
#46 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#47 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#48 0x000055f0934f3216 in camlOn_metadata__fun_1219 () at operators/on_metadata.ml:35
#49 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#50 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#51 0x000055f0934f3b72 in camlOn_track__fun_1128 () at operators/on_track.ml:36
#52 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#53 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#54 0x000055f0934cb472 in camlAmplify__fun_1737 () at operators/amplify.ml:39
#55 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#56 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#57 0x000055f0936c3f90 in camlVFrame__get_content_527 () at stream/vFrame.ml:45
#58 0x000055f0934bcb21 in camlVideo_effects__fun_2839 () at operators/video_effects.ml:37
#59 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#60 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#61 0x000055f0934f3216 in camlOn_metadata__fun_1219 () at operators/on_metadata.ml:35
#62 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#63 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#64 0x000055f0934f3b72 in camlOn_track__fun_1128 () at operators/on_track.ml:36
#65 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#66 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#67 0x000055f0934f62a8 in camlOn_end__fun_1217 () at operators/on_end.ml:37
#68 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#69 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#70 0x000055f0934cb472 in camlAmplify__fun_1737 () at operators/amplify.ml:39
#71 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#72 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#73 0x000055f0936c3f90 in camlVFrame__get_content_527 () at stream/vFrame.ml:45
#74 0x000055f0934bcb21 in camlVideo_effects__fun_2839 () at operators/video_effects.ml:37
#75 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#76 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#77 0x000055f0934ea064 in camlCross__f_1462 () at operators/cross.ml:303
#78 0x000055f0934e7a02 in camlCross__fun_2484 () at operators/cross.ml:228
#79 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#80 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#81 0x000055f0934cb472 in camlAmplify__fun_1737 () at operators/amplify.ml:39
#82 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#83 0x000055f0936a7437 in camlSource__fun_3598 () at source.ml:677
#84 0x000055f0934eb60c in camlSwitch__fun_2296 () at operators/switch.ml:254
#85 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#86 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#87 0x000055f0934eb60c in camlSwitch__fun_2296 () at operators/switch.ml:254
#88 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#89 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#90 0x000055f0934f4fae in camlOn_frame__fun_1966 () at operators/on_frame.ml:34
#91 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#92 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#93 0x000055f0934eb60c in camlSwitch__fun_2296 () at operators/switch.ml:254
#94 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#95 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#96 0x000055f0934fb95f in camlConversion__fun_946 () at conversions/conversion.ml:61
#97 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#98 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#99 0x000055f0934f62a8 in camlOn_end__fun_1217 () at operators/on_end.ml:37
#100 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#101 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#102 0x000055f0934b7a61 in camlNoblank__fun_2035 () at operators/noblank.ml:98
#103 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#104 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#105 0x000055f0934f3216 in camlOn_metadata__fun_1219 () at operators/on_metadata.ml:35
#106 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#107 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#108 0x000055f0934f7e1c in camlInsert_metadata__fun_1523 () at operators/insert_metadata.ml:74
#109 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#110 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#111 0x000055f0934f3216 in camlOn_metadata__fun_1219 () at operators/on_metadata.ml:35
#112 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#113 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#114 0x000055f0934f3b72 in camlOn_track__fun_1128 () at operators/on_track.ml:36
#115 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#116 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#117 0x000055f0934cb472 in camlAmplify__fun_1737 () at operators/amplify.ml:39
#118 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#119 0x000055f0936a7620 in camlSource__fun_3598 () at source.ml:660
#120 0x000055f0936c3f90 in camlVFrame__get_content_527 () at stream/vFrame.ml:45
#121 0x000055f0934bcb21 in camlVideo_effects__fun_2839 () at operators/video_effects.ml:37
#122 0x000055f0936a78dd in camlSource__fun_3523 () at source.ml:589
#123 0x000055f0936a7437 in camlSource__fun_3598 () at source.ml:677
#124 0x000055f09351ee1c in camlOutput__fun_2189 () at outputs/output.ml:165
#125 0x000055f0936a5482 in camlClock__fun_2270 () at clock.ml:299
#126 0x000055f0939ba544 in camlStdlib__List__fold_left_521 () at list.ml:121
#127 0x000055f0936a30ea in camlClock__fun_2221 () at clock.ml:296
#128 0x000055f0936a5182 in camlClock__loop_1354 () at clock.ml:266
#129 0x000055f0936a34a8 in camlClock__fun_2198 () at clock.ml:269
#130 0x000055f0936dddd3 in camlTutils__process_830 () at tools/tutils.ml:164
#131 0x000055f0939a9825 in camlThread__fun_850 () at thread.ml:49
#132 0x000055f093aaaa21 in caml_start_program ()
#133 0x000055f093aa00d1 in caml_callback_exn (closure=closure@entry=140460111345856, arg=<optimized out>, arg@entry=1) at callback.c:111
#134 0x000055f093a7f5a0 in caml_thread_start (arg=0x55f0955dcbc0) at st_stubs.c:548
#135 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#136 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 4 (Thread 0x7fbf64e6a640 (LWP 12334) "liquidsoap"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55f0955b9548) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55f0955b9548) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f0955b9548, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x00007fbf75e9cac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f0955ba020, cond=0x55f0955b9520) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x55f0955b9520, mutex=mutex@entry=0x55f0955ba020) at ./nptl/pthread_cond_wait.c:627
#5 0x000055f093a800d3 in st_condvar_wait (m=0x55f0955ba020, c=0x55f0955b9520) at /home/jdbuys/.opam/default/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/systhreads/st_posix.h:290
#6 caml_condition_wait (wcond=<optimized out>, wmut=<optimized out>) at st_stubs.c:884
#7 0x000055f0936df098 in camlTutils__fun_2529 () at tools/tutils.ml:327
#8 0x000055f0936dd859 in camlTutils__mutexify_390 () at tools/tutils.ml:95
#9 0x000055f09396dbb8 in camlDtools__Dtools_impl__thread_1288 () at src/dtools_impl.ml:497
#10 0x000055f0939a9825 in camlThread__fun_850 () at thread.ml:49
#11 0x000055f093aaaa21 in caml_start_program ()
#12 0x000055f093aa00d1 in caml_callback_exn (closure=closure@entry=140460110584480, arg=<optimized out>, arg@entry=1) at callback.c:111
#13 0x000055f093a7f5a0 in caml_thread_start (arg=0x55f0955b8320) at st_stubs.c:548
#14 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 3 (Thread 0x7fbf6566b640 (LWP 12333) "liquidsoap"):
#0 0x00007fbf75f247ed in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7fbf6566a160) at ../sysdeps/unix/sysv/linux/select.c:69
#1 0x000055f093a7e851 in caml_thread_tick (arg=<optimized out>) at /home/jdbuys/.opam/default/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/systhreads/st_posix.h:388
#2 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#3 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 2 (Thread 0x7fbf65e6c640 (LWP 12332) "liquidsoap"):
#0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x55f095563178) at ./nptl/futex-internal.c:57
#1 __futex_abstimed_wait_common (cancel=true, private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55f095563178) at ./nptl/futex-internal.c:87
#2 __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x55f095563178, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at ./nptl/futex-internal.c:139
#3 0x00007fbf75e9cac1 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55f095563120, cond=0x55f095563150) at ./nptl/pthread_cond_wait.c:503
#4 ___pthread_cond_wait (cond=cond@entry=0x55f095563150, mutex=mutex@entry=0x55f095563120) at ./nptl/pthread_cond_wait.c:627
#5 0x000055f093a800d3 in st_condvar_wait (m=0x55f095563120, c=0x55f095563150) at /home/jdbuys/.opam/default/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/systhreads/st_posix.h:290
#6 caml_condition_wait (wcond=<optimized out>, wmut=<optimized out>) at st_stubs.c:884
#7 0x000055f09396ebc2 in camlDtools__Dtools_impl__fun_2783 () at src/dtools_impl.ml:734
#8 0x000055f09396e97b in camlDtools__Dtools_impl__mutexify_1595 () at src/dtools_impl.ml:702
#9 0x000055f09396eb54 in camlDtools__Dtools_impl__f_1615 () at src/dtools_impl.ml:730
#10 0x000055f0939a9825 in camlThread__fun_850 () at thread.ml:49
#11 0x000055f093aaaa21 in caml_start_program ()
#12 0x000055f093aa00d1 in caml_callback_exn (closure=closure@entry=140460032109648, arg=<optimized out>, arg@entry=1) at callback.c:111
#13 0x000055f093a7f5a0 in caml_thread_start (arg=0x55f0955bef00) at st_stubs.c:548
#14 0x00007fbf75e9db43 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#15 0x00007fbf75f2fa00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7fbf6b39a380 (LWP 12242) "liquidsoap"):
#0 0x00007fbf75e4c21a in __GI___sigtimedwait (set=set@entry=0x7ffef49a3c70, info=info@entry=0x7ffef49a3bb0, timeout=timeout@entry=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:61
#1 0x00007fbf75e4b8ac in __GI___sigwait (set=set@entry=0x7ffef49a3c70, sig=sig@entry=0x7ffef49a3c6c) at ../sysdeps/unix/sysv/linux/sigwait.c:28
#2 0x000055f093a7f161 in caml_wait_signal (sigs=<optimized out>) at /home/jdbuys/.opam/default/.opam-switch/build/ocaml-base-compiler.4.14.0/otherlibs/systhreads/st_posix.h:474
#3 0x000055f09396d8e1 in camlDtools__Dtools_impl__wait_signal_1024 () at src/dtools_impl.ml:471
#4 0x000055f09396da91 in camlDtools__Dtools_impl__main_1281 () at src/dtools_impl.ml:507
#5 0x000055f09396dcca in camlDtools__Dtools_impl__catch_1296 () at src/dtools_impl.ml:512
#6 0x000055f09342c10b in camlMain__fun_2635 () at main.ml:563
#7 0x000055f0939ba470 in camlStdlib__List__iter_507 () at list.ml:110
#8 0x000055f09396d7dc in camlDtools__Dtools_impl__exec_1021 () at src/dtools_impl.ml:455
#9 0x000055f0939ba470 in camlStdlib__List__iter_507 () at list.ml:110
#10 0x000055f09396d819 in camlDtools__Dtools_impl__exec_1021 () at src/dtools_impl.ml:458
#11 0x000055f0939ba470 in camlStdlib__List__iter_507 () at list.ml:110
#12 0x000055f09396d819 in camlDtools__Dtools_impl__exec_1021 () at src/dtools_impl.ml:458
#13 0x000055f09342a253 in camlRunner__entry () at main.ml:572
#14 0x000055f093421bc9 in caml_program ()
#15 0x000055f093aaaa21 in caml_start_program ()
#16 0x000055f093a8864c in caml_startup_common (argv=0x7ffef49a4088, pooling=<optimized out>, pooling@entry=0) at startup_nat.c:160
#17 0x000055f093a886cf in caml_startup_exn (argv=<optimized out>) at startup_nat.c:167
#18 caml_startup (argv=<optimized out>) at startup_nat.c:172
#19 caml_main (argv=<optimized out>) at startup_nat.c:179
#20 0x000055f09341ece2 in main (argc=<optimized out>, argv=<optimized out>) at main.c:37
I just added settings.ffmpeg.log.verbosity.set("error")
to the script file, and since then I haven't had any issues.
Thanks for this info. We've had historically a very complex relationship between ocaml's GC and ffmpeg due to the original support for log callback on the OCaml side. This functionality has been disabled for a while and, if any, will have to be reimplemented in a way that does not block the C execution when logging through OCaml.
As a result of that, the logic around releasing/acquiring the OCaml global lock can be relaxed a lot in the ffmpeg binding. I have started this cleanup and will hopefully have an new version shortly that will have a good chance of fixing these deadlocks.
Thank you very much.
Hi! We published v2.1.2
with a cleaned up ocaml-ffmpeg
. Have you had a chance to test it?
Hi @toots I have unfortunately not had time to test yet. I will try to get to it by Tuesday.
I updated and enabled the ffmpeg logs again and I get the same issue.
Thanks for testing. I'll have another pass at it.
Describe the bug The liquidsoap process hangs/deadlocks every now and then. I have not been able to find anything that causes it so I can't reproduce it, but it happens quite often.
To Reproduce I will work on a minimal script to try and reproduce the issue.
Version details
Install method I installed liquidsoap from source and all the dependencies with opam.
I have made multiple stack traces to make sure that liquidsoap is deadlocked and it does look like it. Here's a sample of one of the stack traces. The issue also doesn't happen every time with the same track.
`Using host libthread_db library "/lib64/libthread_db.so.1". 0x00007f6f3ea7103a in __GI___sigtimedwait (set=set@entry=0x7ffc46a552d0, info=info@entry=0x7ffc46a55210, timeout=timeout@entry=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:61 61 if (result != -1 && info != NULL && info->si_code == SI_TKILL) Missing separate debuginfos, use: dnf debuginfo-install faad2-libs-2.10.0-3.el9.x86_64 ffmpeg-libs-5.0.1-2.el9.x86_64 intel-mediasdk-21.3.5-1.el9.x86_64 libaom-3.2.0-4.el9.x86_64 libass-0.15.2-1.el9.x86_64 libavdevice-5.0.1-2.el9.x86_64 libbluray-1.3.1-1.el9.x86_64 libdav1d-0.9.2-1.el9.x86_64 libjxl-0.6.1-8.el9.x86_64 libmodplug-0.8.9.0-13.el9.x86_64 libmysofa-1.2.1-1.el9.x86_64 libopenmpt-0.6.4-1.el9.x86_64 libudfread-1.1.2-2.el9.x86_64 libvmaf-2.3.0-2.el9.x86_64 opencore-amr-0.1.5-14.el9.x86_64 portaudio-19-38.el9.x86_64 soxr-0.1.3-11.el9.x86_64 srt-libs-1.4.4-1.el9.x86_64 svt-av1-libs-0.8.7-2.el9.x86_64 vapoursynth-libs-57-1.el9.x86_64 vid.stab-1.1.0-14.20201110gitf9166e9.el9.x86_64 vo-amrwbenc-0.1.3-16.el9.x86_64 x264-libs-0.163-5.20210613git5db6aa6.el9.x86_64 xvidcore-1.3.7-7.el9.x86_64 (gdb) thread apply all bt
Thread 9 (Thread 0x7f6f1dffb640 (LWP 3884726) "liquidsoap"):
0 0x00007f6f3eb5d67f in __GI___poll (fds=fds@entry=0x7f6f0411a440, nfds=nfds@entry=6, timeout=timeout@entry=4999) at ../sysdeps/unix/sysv/linux/poll.c:29
1 0x0000000000c91871 in caml_poll (_read=, _write=, _err=, _timeout=) at duppy_stubs.c:95
2 0x0000000000b95180 in camlDuppy__poll_125 () at src/duppy.ml:37
3 0x0000000000b962fb in camlDuppy__f_533 () at src/duppy.ml:208
4 0x0000000000b95eeb in camlDuppy__process_523 () at src/duppy.ml:229
5 0x0000000000b96c71 in camlDuppy__f_618 () at src/duppy.ml:326
6 0x0000000000b969f3 in camlDuppy__queue_inner_2548 () at src/duppy.ml:357
7 0x0000000000915483 in camlTutils__process_705 () at tools/tutils.ml:164
8 0x0000000000bdc105 in camlThread__fun_314 () at thread.ml:41
9 0x0000000000cc61a1 in caml_start_program ()
10 0x0000000000cbc85d in caml_callback_exn (closure=closure@entry=140115446061320, arg=, arg@entry=1) at callback.c:111
11 0x0000000000c9f100 in caml_thread_start (arg=0x28083c0) at st_stubs.c:547
12 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
13 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 8 (Thread 0x7f6f1e7fc640 (LWP 3884725) "liquidsoap"):
0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7f6f14002b98) at futex-internal.c:57
1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f6f14002b98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
2 0x00007f6f3eab798f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f6f14002b98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
3 0x00007f6f3eaba130 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x285ec00, cond=0x7f6f14002b70) at pthread_cond_wait.c:504
4 ___pthread_cond_wait (cond=cond@entry=0x7f6f14002b70, mutex=mutex@entry=0x285ec00) at pthread_cond_wait.c:619
5 0x0000000000c9fb2f in st_condvar_wait (m=0x285ec00, c=0x7f6f14002b70) at /home/liquidsoap/.opam/4.13.1/.opam-switch/build/ocaml-base-compiler.4.13.1/otherlibs/systhreads/st_posix.h:290
6 caml_condition_wait (wcond=, wmut=) at st_stubs.c:878
7 0x0000000000b96d95 in camlDuppy__f_618 () at src/duppy.ml:341
8 0x0000000000b969f3 in camlDuppy__queue_inner_2548 () at src/duppy.ml:357
9 0x0000000000915483 in camlTutils__process_705 () at tools/tutils.ml:164
10 0x0000000000bdc105 in camlThread__fun_314 () at thread.ml:41
11 0x0000000000cc61a1 in caml_start_program ()
12 0x0000000000cbc85d in caml_callback_exn (closure=closure@entry=140115446065352, arg=, arg@entry=1) at callback.c:111
13 0x0000000000c9f100 in caml_thread_start (arg=0x2808580) at st_stubs.c:547
14 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
15 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 7 (Thread 0x7f6f1effd640 (LWP 3884724) "liquidsoap"):
0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7f6f08002b9c) at futex-internal.c:57
1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f6f08002b9c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
2 0x00007f6f3eab798f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f6f08002b9c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
3 0x00007f6f3eaba130 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x285ec00, cond=0x7f6f08002b70) at pthread_cond_wait.c:504
4 ___pthread_cond_wait (cond=cond@entry=0x7f6f08002b70, mutex=mutex@entry=0x285ec00) at pthread_cond_wait.c:619
5 0x0000000000c9fb2f in st_condvar_wait (m=0x285ec00, c=0x7f6f08002b70) at /home/liquidsoap/.opam/4.13.1/.opam-switch/build/ocaml-base-compiler.4.13.1/otherlibs/systhreads/st_posix.h:290
6 caml_condition_wait (wcond=, wmut=) at st_stubs.c:878
7 0x0000000000b96d95 in camlDuppy__f_618 () at src/duppy.ml:341
8 0x0000000000b969f3 in camlDuppy__queue_inner_2548 () at src/duppy.ml:357
9 0x0000000000915483 in camlTutils__process_705 () at tools/tutils.ml:164
10 0x0000000000bdc105 in camlThread__fun_314 () at thread.ml:41
11 0x0000000000cc61a1 in caml_start_program ()
12 0x0000000000cbc85d in caml_callback_exn (closure=closure@entry=140115446069320, arg=, arg@entry=1) at callback.c:111
13 0x0000000000c9f100 in caml_thread_start (arg=0x2808660) at st_stubs.c:547
--Type for more, q to quit, c to continue without paging--c
14 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
15 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 6 (Thread 0x7f6f1f7fe640 (LWP 3884723) "liquidsoap"):
0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x7f6f10002b98) at futex-internal.c:57
1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x7f6f10002b98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
2 0x00007f6f3eab798f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x7f6f10002b98, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
3 0x00007f6f3eaba130 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x285ec00, cond=0x7f6f10002b70) at pthread_cond_wait.c:504
4 ___pthread_cond_wait (cond=cond@entry=0x7f6f10002b70, mutex=mutex@entry=0x285ec00) at pthread_cond_wait.c:619
5 0x0000000000c9fb2f in st_condvar_wait (m=0x285ec00, c=0x7f6f10002b70) at /home/liquidsoap/.opam/4.13.1/.opam-switch/build/ocaml-base-compiler.4.13.1/otherlibs/systhreads/st_posix.h:290
6 caml_condition_wait (wcond=, wmut=) at st_stubs.c:878
7 0x0000000000b96d95 in camlDuppy__f_618 () at src/duppy.ml:341
8 0x0000000000b969f3 in camlDuppy__queue_inner_2548 () at src/duppy.ml:357
9 0x0000000000915483 in camlTutils__process_705 () at tools/tutils.ml:164
10 0x0000000000bdc105 in camlThread__fun_314 () at thread.ml:41
11 0x0000000000cc61a1 in caml_start_program ()
12 0x0000000000cbc85d in caml_callback_exn (closure=closure@entry=140115446073064, arg=, arg@entry=1) at callback.c:111
13 0x0000000000c9f100 in caml_thread_start (arg=0x2805430) at st_stubs.c:547
14 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
15 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 5 (Thread 0x7f6f1ffff640 (LWP 3884722) "liquidsoap"):
0 __GI___libc_write (nbytes=80, buf=0x7f6f08033430, fd=2) at ../sysdeps/unix/sysv/linux/write.c:26
1 __GI___libc_write (fd=2, buf=0x7f6f08033430, nbytes=80) at ../sysdeps/unix/sysv/linux/write.c:24
2 0x00007f6f3eab276d in _IO_new_file_write (f=0x7f6f3ec166a0 <_IO_2_1_stderr_>, data=0x7f6f08033430, n=80) at fileops.c:1181
3 0x00007f6f3eab1ae6 in new_do_write (fp=0x7f6f3ec166a0 <_IO_2_1_stderr_>, data=0x7f6f08033430 "[mp3 @ 0x7f6f0c087bc0] Estimating duration from bitrate, this may be inaccurate\n\371Z\265]w7˄K\n\271l\376\027\"\372-\253\203I\034K\222\307H\346df\211\031\312,\027\360Z\326u\026yD\207\036\307\365Оn&b\350\257\350\255tBW\262M\234:{iyy\246\277\247\353O\326z\267\255\253\232\265؇\240H\234ѐ\204}5\034D\223\027\231\344\317\305\374\266\356\255\250\022\222\254y\262M\027qµ\250\250\250\355\246\231L\271", <incomplete sequence \333>..., to_do=to_do@entry=80) at /usr/src/debug/glibc-2.34-39.el9.x86_64/libio/libioP.h:947
4 0x00007f6f3eab3809 in _IO_new_do_write (to_do=80, data=, fp=) at fileops.c:423
5 _IO_new_do_write (fp=, data=, to_do=80) at fileops.c:423
6 0x00007f6f3eab2db6 in _IO_new_file_xsputn (n=57, data=, f=) at /usr/src/debug/glibc-2.34-39.el9.x86_64/libio/libioP.h:947
7 _IO_new_file_xsputn (f=0x7f6f3ec166a0 <_IO_2_1_stderr_>, data=, n=57) at fileops.c:1197
8 0x00007f6f3eaa79ad in GIIO_fputs (str=0x7f6f1fffc1b4 "Estimating duration from bitrate, this may be inaccurate\n", fp=0x7f6f3ec166a0 <_IO_2_1_stderr_>) at /usr/src/debug/glibc-2.34-39.el9.x86_64/libio/libioP.h:947
9 0x00007f6f40a4be5f in av_log_default_callback () at /lib64/libavutil.so.57
10 0x00007f6f40a47b73 in av_log () at /lib64/libavutil.so.57
11 0x00007f6f4082aa1a in avformat_find_stream_info () at /lib64/libavformat.so.59
12 0x0000000000c65661 in open_input (url=url@entry=0x7f6f0c08e9e0 "/tmp/foo1.mp3", format=, format_context=format_context@entry=0x0, _interrupt=1, options=options@entry=0x7f6f1fffc968) at av_stubs.c:690
13 0x0000000000c67511 in ocaml_av_open_input (_url=, _format=, _interrupt=, _opts=) at av_stubs.c:744
14 0x0000000000ae3bb6 in camlAv__open_input_200 () at av/av.ml:59
15 0x00000000006bbcea in camlFfmpeg_decoder__create_decoder_1392 () at decoder/ffmpeg_decoder.ml:774
16 0x00000000006bc5c8 in camlFfmpeg_decoder__create_file_decoder_1475 () at decoder/ffmpeg_decoder.ml:830
17 0x00000000008ea14b in camlRequest__get_decoder_1641 () at request.ml:562
18 0x00000000007720e2 in camlRequest_source__fun_2091 () at sources/request_source.ml:189
19 0x00000000007749c8 in camlRequest_source__fun_2146 () at sources/request_source.ml:220
20 0x0000000000914f09 in camlTutils__mutexify_106 () at tools/tutils.ml:95
21 0x000000000076f506 in camlRequest_simple__fun_1976 () at sources/request_simple.ml:146
22 0x00000000007237d5 in camlSwitch__aux_1137 () at operators/switch.ml:297
23 0x0000000000721bc7 in camlSwitch__fun_2356 () at operators/switch.ml:322
24 0x0000000000721ad6 in camlSwitch__fun_2027 () at operators/switch.ml:83
25 0x0000000000722e4a in camlSwitch__reselect_inner_2142 () at operators/switch.ml:155
26 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
27 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
28 0x00000000007215e6 in camlSwitch__fun_2117 () at operators/switch.ml:254
29 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
30 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
31 0x0000000000731aef in camlConversion__fun_732 () at conversions/conversion.ml:61
32 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
33 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
34 0x000000000072c3c8 in camlOn_end__fun_1098 () at operators/on_end.ml:37
35 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
36 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
37 0x0000000000729328 in camlOn_metadata__fun_1096 () at operators/on_metadata.ml:35
38 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
39 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
40 0x0000000000729c84 in camlOn_track__fun_1008 () at operators/on_track.ml:36
41 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
42 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
43 0x0000000000701134 in camlAmplify__fun_2285 () at operators/amplify.ml:39
44 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
45 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
46 0x00000000008fb292 in camlVFrame__get_content_420 () at stream/vFrame.ml:45
47 0x00000000006f25e1 in camlVideo_effects__fun_3324 () at operators/video_effects.ml:37
48 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
49 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
50 0x0000000000729328 in camlOn_metadata__fun_1096 () at operators/on_metadata.ml:35
51 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
52 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
53 0x0000000000729c84 in camlOn_track__fun_1008 () at operators/on_track.ml:36
54 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
55 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
56 0x000000000072c3c8 in camlOn_end__fun_1098 () at operators/on_end.ml:37
57 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
58 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
59 0x0000000000701134 in camlAmplify__fun_2285 () at operators/amplify.ml:39
60 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
61 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
62 0x00000000008fb292 in camlVFrame__get_content_420 () at stream/vFrame.ml:45
63 0x00000000006f25e1 in camlVideo_effects__fun_3324 () at operators/video_effects.ml:37
64 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
65 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
66 0x0000000000720066 in camlCross__f_1782 () at operators/cross.ml:303
67 0x000000000071da02 in camlCross__fun_2999 () at operators/cross.ml:228
68 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
69 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
70 0x0000000000701134 in camlAmplify__fun_2285 () at operators/amplify.ml:39
71 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
72 0x00000000008de2a9 in camlSource__fun_3284 () at source.ml:677
73 0x00000000007215e6 in camlSwitch__fun_2117 () at operators/switch.ml:254
74 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
75 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
76 0x00000000007215e6 in camlSwitch__fun_2117 () at operators/switch.ml:254
77 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
78 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
79 0x000000000072b0ce in camlOn_frame__fun_2243 () at operators/on_frame.ml:34
80 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
81 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
82 0x00000000007215e6 in camlSwitch__fun_2117 () at operators/switch.ml:254
83 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
84 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
85 0x0000000000731aef in camlConversion__fun_732 () at conversions/conversion.ml:61
86 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
87 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
88 0x0000000000729328 in camlOn_metadata__fun_1096 () at operators/on_metadata.ml:35
89 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
90 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
91 0x000000000072df50 in camlInsert_metadata__fun_1390 () at operators/insert_metadata.ml:74
92 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
93 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
94 0x0000000000729328 in camlOn_metadata__fun_1096 () at operators/on_metadata.ml:35
95 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
96 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
97 0x0000000000729c84 in camlOn_track__fun_1008 () at operators/on_track.ml:36
98 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
99 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
100 0x0000000000701134 in camlAmplify__fun_2285 () at operators/amplify.ml:39
101 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
102 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
103 0x00000000008fb292 in camlVFrame__get_content_420 () at stream/vFrame.ml:45
104 0x00000000006f25e1 in camlVideo_effects__fun_3324 () at operators/video_effects.ml:37
105 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
106 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
107 0x00000000006ed4d3 in camlNoblank__fun_2187 () at operators/noblank.ml:98
108 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
109 0x00000000008de498 in camlSource__fun_3284 () at source.ml:660
110 0x000000000072c3c8 in camlOn_end__fun_1098 () at operators/on_end.ml:37
111 0x00000000008de74f in camlSource__fun_3209 () at source.ml:589
112 0x00000000008de2a9 in camlSource__fun_3284 () at source.ml:677
113 0x000000000075537c in camlOutput__fun_2018 () at outputs/output.ml:165
114 0x00000000008dc2a2 in camlClock__fun_2260 () at clock.ml:299
115 0x0000000000be868d in camlStdlibListfold_left_275 () at list.ml:121
116 0x00000000008d9eda in camlClock__fun_2209 () at clock.ml:296
117 0x00000000008dbfa2 in camlClock__loop_1146 () at clock.ml:266
118 0x00000000008da298 in camlClock__fun_2186 () at clock.ml:269
119 0x0000000000915483 in camlTutils__process_705 () at tools/tutils.ml:164
120 0x0000000000bdc105 in camlThread__fun_314 () at thread.ml:41
121 0x0000000000cc61a1 in caml_start_program ()
122 0x0000000000cbc85d in caml_callback_exn (closure=closure@entry=140115446080112, arg=, arg@entry=1) at callback.c:111
123 0x0000000000c9f100 in caml_thread_start (arg=0x28053b0) at st_stubs.c:547
124 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
125 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 4 (Thread 0x7f6f24f2a640 (LWP 3884721) "liquidsoap"):
0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x285e5a8) at futex-internal.c:57
1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x285e5a8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
2 0x00007f6f3eab798f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x285e5a8, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
3 0x00007f6f3eaba130 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x285d1a0, cond=0x285e580) at pthread_cond_wait.c:504
4 ___pthread_cond_wait (cond=cond@entry=0x285e580, mutex=mutex@entry=0x285d1a0) at pthread_cond_wait.c:619
5 0x0000000000c9fb2f in st_condvar_wait (m=0x285d1a0, c=0x285e580) at /home/liquidsoap/.opam/4.13.1/.opam-switch/build/ocaml-base-compiler.4.13.1/otherlibs/systhreads/st_posix.h:290
6 caml_condition_wait (wcond=, wmut=) at st_stubs.c:878
7 0x0000000000916768 in camlTutils__fun_2320 () at tools/tutils.ml:327
8 0x0000000000914f09 in camlTutils__mutexify_106 () at tools/tutils.ml:95
9 0x0000000000b9fda8 in camlDtools__Dtools_impl__thread_916 () at src/dtools_impl.ml:497
10 0x0000000000bdc105 in camlThread__fun_314 () at thread.ml:41
11 0x0000000000cc61a1 in caml_start_program ()
12 0x0000000000cbc85d in caml_callback_exn (closure=closure@entry=140115445666792, arg=, arg@entry=1) at callback.c:111
13 0x0000000000c9f100 in caml_thread_start (arg=0x2858e60) at st_stubs.c:547
14 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
15 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 3 (Thread 0x7f6f2572b640 (LWP 3884720) "liquidsoap"):
0 0x00007f6f3eb5fddd in __GI___select (nfds=nfds@entry=0, readfds=readfds@entry=0x0, writefds=writefds@entry=0x0, exceptfds=exceptfds@entry=0x0, timeout=timeout@entry=0x7f6f2572a430) at ../sysdeps/unix/sysv/linux/select.c:69
1 0x0000000000c9e4d1 in caml_thread_tick (arg=) at /home/liquidsoap/.opam/4.13.1/.opam-switch/build/ocaml-base-compiler.4.13.1/otherlibs/systhreads/st_posix.h:388
2 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
3 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 2 (Thread 0x7f6f25f2c640 (LWP 3884719) "liquidsoap"):
0 __futex_abstimed_wait_common64 (private=0, cancel=true, abstime=0x0, op=393, expected=0, futex_word=0x2803b4c) at futex-internal.c:57
1 __futex_abstimed_wait_common (futex_word=futex_word@entry=0x2803b4c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0, cancel=cancel@entry=true) at futex-internal.c:87
2 0x00007f6f3eab798f in __GI___futex_abstimed_wait_cancelable64 (futex_word=futex_word@entry=0x2803b4c, expected=expected@entry=0, clockid=clockid@entry=0, abstime=abstime@entry=0x0, private=private@entry=0) at futex-internal.c:139
3 0x00007f6f3eaba130 in __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x2803af0, cond=0x2803b20) at pthread_cond_wait.c:504
4 ___pthread_cond_wait (cond=cond@entry=0x2803b20, mutex=mutex@entry=0x2803af0) at pthread_cond_wait.c:619
5 0x0000000000c9fb2f in st_condvar_wait (m=0x2803af0, c=0x2803b20) at /home/liquidsoap/.opam/4.13.1/.opam-switch/build/ocaml-base-compiler.4.13.1/otherlibs/systhreads/st_posix.h:290
6 caml_condition_wait (wcond=, wmut=) at st_stubs.c:878
7 0x0000000000ba0e12 in camlDtools__Dtools_impl__fun_2783 () at src/dtools_impl.ml:734
8 0x0000000000ba0bcb in camlDtools__Dtools_impl__mutexify_1426 () at src/dtools_impl.ml:702
9 0x0000000000ba0da4 in camlDtools__Dtools_impl__f_1446 () at src/dtools_impl.ml:730
10 0x0000000000bdc105 in camlThread__fun_314 () at thread.ml:41
11 0x0000000000cc61a1 in caml_start_program ()
12 0x0000000000cbc85d in caml_callback_exn (closure=closure@entry=140115445667088, arg=, arg@entry=1) at callback.c:111
13 0x0000000000c9f100 in caml_thread_start (arg=0x2807cd0) at st_stubs.c:547
14 0x00007f6f3eabad92 in start_thread (arg=) at pthread_create.c:443
15 0x00007f6f3ea5a9e0 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Thread 1 (Thread 0x7f6f38e600c0 (LWP 3884664) "liquidsoap"):
0 0x00007f6f3ea7103a in __GI___sigtimedwait (set=set@entry=0x7ffc46a552d0, info=info@entry=0x7ffc46a55210, timeout=timeout@entry=0x0) at ../sysdeps/unix/sysv/linux/sigtimedwait.c:61
1 0x00007f6f3ea7067c in __GI___sigwait (set=set@entry=0x7ffc46a552d0, sig=sig@entry=0x7ffc46a552cc) at ../sysdeps/unix/sysv/linux/sigwait.c:28
2 0x0000000000c9ed11 in caml_wait_signal (sigs=) at /home/liquidsoap/.opam/4.13.1/.opam-switch/build/ocaml-base-compiler.4.13.1/otherlibs/systhreads/st_posix.h:474
3 0x0000000000b9fad1 in camlDtools__Dtools_impl__wait_signal_813 () at src/dtools_impl.ml:471
4 0x0000000000b9fc81 in camlDtools__Dtools_impl__main_909 () at src/dtools_impl.ml:507
5 0x0000000000b9feda in camlDtools__Dtools_impl__catch_924 () at src/dtools_impl.ml:512
6 0x0000000000660dfb in camlMain__fun_2339 () at main.ml:563
7 0x0000000000be85b6 in camlStdlibListiter_261 () at list.ml:110
8 0x0000000000b9f9cc in camlDtools__Dtools_impl__exec_810 () at src/dtools_impl.ml:455
9 0x0000000000be85b6 in camlStdlibListiter_261 () at list.ml:110
10 0x0000000000b9fa09 in camlDtools__Dtools_impl__exec_810 () at src/dtools_impl.ml:458
11 0x0000000000be85b6 in camlStdlibListiter_261 () at list.ml:110
12 0x0000000000b9fa09 in camlDtools__Dtools_impl__exec_810 () at src/dtools_impl.ml:458
13 0x000000000065ee63 in camlRunner__entry () at main.ml:572
14 0x0000000000656ae9 in caml_program ()
15 0x0000000000cc61a1 in caml_start_program ()
16 0x0000000000ca6dbc in caml_startup_common (argv=0x7ffc46a556d8, pooling=, pooling@entry=0) at startup_nat.c:158
17 0x0000000000ca6e3b in caml_startup_exn (argv=) at startup_nat.c:163
18 caml_startup (argv=) at startup_nat.c:168
19 caml_main (argv=) at startup_nat.c:175
20 0x0000000000653c0c in main (argc=, argv=) at main.c:41
`