Closed mgorven closed 1 month ago
Hi @mgorven, thanks for the detailed investigation! Sorry for the trouble here. I'll look into this.
This is still on my radar. Since you are able to reproduce and build Pyre locally, could you also try on b247db1890372df6a46f2addc07ac9d710497da5? The revisions leading up to that one improve on the error output when things go wrong.
I think I have been running in to a similar issue though I have not been able to find time to debug as thoroughly as what has already been done. Anecdotally, I have had cases where I could get incremental type checking to work multiple times in a row, but have noticed that as soon as I make changes in the code, incremental checks will begin to hang.
Will try and find time to get some debug logs sometime soon™
Pyre Bug
Bug description Since v0.9.21 incremental check (
pyre
) hangs on OS X. Incremental check works on Linux on the same codebase. Non-incremental check (pyre check
) works on OS X, as does sequential check (pyre --sequential
). Output displaysƛ [188.6s]
and continues counting.I built Pyre from source to bisect the problem. Everything works on 219981180. On d7ddc4088 it fails quickly and displays a stacktrace. This continues until 090e07967 where it just hangs.
Reproduction steps Run
pyre
.Expected behavior Expect it to work in ~20s.
Logs Stacktrace on d7ddc4088:
Rage on d7ddc4088: rage-d7ddc408.txt Rage on 090e07967: rage-090e0796.txt