Open edwintorok opened 2 months ago
I cannot reproduce the problem (with the packages that happen to be on my laptop).
This could be because there is a loop in the package graph. I wonder, however, why findlib does not reject the loop (if this is the root cause).
I noticed that my uTop hangs after typing
#require
sometimes, but not always. I've eventually tracked it down to an interaction between auto-completion, which lists available packages, and the execution of the require command itself, but adding locks didn't avoid the problem. Debugging this inside uTop was quite difficult since ^C didn't give me a decent stacktrace, but it was possible by installing a custom SIGUSR1 handler that called Prinexc.get_callstack: https://gist.github.com/edwintorok/0fddd73ae1b39dc0eaa8b7c08e4bfb83I came up with this minimal repro that doesn't depend on utop:
This doesn't seem to reproduce in other compiler switches, so probably something specific to the packages I have here. ocamlfind.list.txt opam.list.txt