facebook / facebook/relay

Compiler hangs or exits silently

Open
#4,454 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

I've been noticing an issue on my machine and of a team member, where sometimes `relay-compiler` exits without failure and without doing anything, or it will hang during startup.

When this occurs, I can see continuous [crashes of a process called `chrome_crashpad_handler`](https://gist.github.com/alloy/bd1dd30607329ac9d9e62b54bacb4e15), which is spawn by vscode. Killing vscode makes the crashes go away, and with it makes `relay-compiler` work again.

Running with `--output debug` does not print anything either, so it must fail very early in the life-cycle. I have not yet dug in further, my assumption is I will need to create a debug build or `relay-compiler` and dump its state when it hangs, to get some clue of the interplay here.

I'm on a Silicon macOS machine.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.