-
Notifications
You must be signed in to change notification settings - Fork 411
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dune build -w
stops with epipe after running for a while
#6870
Comments
richardlford
pushed a commit
to ivg/dune
that referenced
this issue
Feb 28, 2023
Dune would disconnect on writes to clients that suddenly disconnected because of a sigpipe. We ignore sigpipe and manually shutdown the scheduler fixes ocaml#6870 Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
anmonteiro
pushed a commit
to anmonteiro/dune
that referenced
this issue
Feb 28, 2023
Dune would disconnect on writes to clients that suddenly disconnected because of a sigpipe. We ignore sigpipe and manually shutdown the scheduler fixes ocaml#6870 Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
anmonteiro
pushed a commit
to anmonteiro/dune
that referenced
this issue
Feb 28, 2023
Dune would disconnect on writes to clients that suddenly disconnected because of a sigpipe. We ignore sigpipe and manually shutdown the scheduler fixes ocaml#6870 Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
rgrinberg
added a commit
that referenced
this issue
Mar 6, 2023
Dune would disconnect on writes to clients that suddenly disconnected because of a sigpipe. We ignore sigpipe and manually shutdown the scheduler fixes #6870 Signed-off-by: Rudi Grinberg <me@rgrinberg.com> <!-- ps-id: 2d62e5a9-470f-4df8-8f45-cbdd035142ea -->
Closed
rgrinberg
added a commit
that referenced
this issue
Mar 6, 2023
Dune would disconnect on writes to clients that suddenly disconnected because of a sigpipe. We ignore sigpipe and manually shutdown the scheduler fixes #6870 Signed-off-by: Rudi Grinberg <me@rgrinberg.com> <!-- ps-id: 2d62e5a9-470f-4df8-8f45-cbdd035142ea -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
dune build -w
should keep running forever.Actual Behavior
dune build -w
stops after a while with exit code 141 (epipe).Reproduction
Difficult, see additional information
Specifications
dune
(output ofdune --version
): 3.6.1ocaml
(output ofocamlc --version
): 5.0.0 (with musl)Additional information
It took about 20 minutes to reproduce in a big project. I ran dune under strace, and the relevant output is (the first epipe happens in a
write
syscall to_build/.rpc/dune
):The text was updated successfully, but these errors were encountered: