Here's what I've seen twice now from your backtrace:
```
Thread 8 (Thread 0x7f80f7fff700 (LWP 10561)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007f8123031023 in __GI___pthread_mutex_lock (mutex=0x55a73a86d8a0) at 
../nptl/pthread_mutex_lock.c:78
#2  0x000055a738528e3d in caml_mutex_lock ()
#3  0x000055a73848fd47 in camlDtools__mutexify_2152 () at dtools.ml:769
#4  0x000055a73854a3b4 in caml_start_program ()
#5  0x000055a738547da0 in caml_final_do_calls ()
#6  0x000055a738534eea in caml_gc_dispatch ()
#7  0x000055a738536136 in caml_alloc_string ()
#8  0x000055a7384abfa1 in camlBytes__sub_1234 () at bytes.ml:68
#9  0x000055a7384d0c3c in camlPrintf__k$27_1310 () at bytes.ml:73
#10 0x000055a73848fe64 in camlDtools__print_2156 () at dtools.ml:779
#11 0x000055a73848fd9c in camlDtools__mutexify_2152 () at dtools.ml:770
#12 0x000055a7383ab373 in camlSource__fun_2626 () at source.ml:354
#13 0x000055a738321760 in camlSmartcross__fun_2748 () at 
operators/smartcross.ml:356
#14 0x000055a73832224d in camlSmartcross__fun_2627 () at 
operators/smartcross.ml:191
```
It's a deadlock waiting on a `mutex` that is triggered during a `Gc` memory 
collection. It happens during a `smartcross` transition to that makes it look 
like the bug is coming from `smartcross` but it's only incidental. `smartcross` 
is understandably pretty memory hungry so it's not a surprise a lot of `Gc` 
cleanup will happen during its execution.

Now, I just have to look at finalise functions involving `Tutils.mutexify` 
calls...

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/savonet/liquidsoap/issues/609#issuecomment-416569205
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to