I have a function, that terminates fine if I run it.
f() # terminates after ~10s
However if I profile it, it does not:
using Profile @profile f()
CPU usage goes down to 0% after a few seconds while and the function does not terminate anymore. Also, I cannot interrupt using CTRL+C.
Is this something people have run into before? Any ideas on how to approach this?