Uh oh!
There was an error while loading. Please reload this page.
std: Move a process test out of libstd - #62183
Conversation
This commit moves a test out of libstd which is causing deadlocks on musl on CI. Looks like the recent update in musl versions brings in some internal updates to musl which makes `setgid` and `setuid` invalid to call after a `fork` in a multithreaded program. The issue seen here is that the child thread was attempting to grab a lock held by a nonexistent thread, meaning that the child process simply deadlocked causing the whole test to deadlock. This commit moves the test to its own file with no threads which should work.
rust-highfive
commented
Jun 27, 2019
(rust_highfive has picked a reviewer for you, use r? to override) |
alexcrichton
commented
Jun 27, 2019
For reference, this is the commit that I believe is the change of behavior in musl. |
RalfJung
commented
Jun 29, 2019
However this also means |
alexcrichton
commented
Jun 30, 2019
That is true, yes, but I don't really want to get in the business of fixing all platforms everywhere. At some point we just need our CI to work, and that's what this does. |
RalfJung
commented
Jun 30, 2019
Fair. Is there an issue tracking this? Or don't we track such issues in the rustc repo? |
alexcrichton
commented
Jun 30, 2019
There is not currently, no, since it appears musl doesn't have an issue tracker, just a mailing list. |
smaeul
commented
Jul 1, 2019
@alexcrichton musl patch sent upstream: https://www.openwall.com/lists/musl/2019/07/01/2. I think a new release is planned to be out soon, or you can take the patch. |
alexcrichton
commented
Jul 1, 2019
@smaeul we can update when a new release comes out, yes |
emilyalbini
commented
Jul 1, 2019
@bors r+ |
bors
commented
Jul 1, 2019
📌 Commit 2a37582 has been approved by |
nikomatsakis
commented
Jul 1, 2019
@bors r+ rollup |
bors
commented
Jul 1, 2019
💡 This pull request was already approved, no need to approve it again.
|
bors
commented
Jul 1, 2019
📌 Commit 2a37582 has been approved by |
nikomatsakis
commented
Jul 1, 2019
@bors rollup- just saw this was reassigned to @pietroalbini =) I'll leave it as they had it |
std: Move a process test out of libstd This commit moves a test out of libstd which is causing deadlocks on musl on CI. Looks like the recent update in musl versions brings in some internal updates to musl which makes `setgid` and `setuid` invalid to call after a `fork` in a multithreaded program. The issue seen here is that the child thread was attempting to grab a lock held by a nonexistent thread, meaning that the child process simply deadlocked causing the whole test to deadlock. This commit moves the test to its own file with no threads which should work.
std: Move a process test out of libstd This commit moves a test out of libstd which is causing deadlocks on musl on CI. Looks like the recent update in musl versions brings in some internal updates to musl which makes `setgid` and `setuid` invalid to call after a `fork` in a multithreaded program. The issue seen here is that the child thread was attempting to grab a lock held by a nonexistent thread, meaning that the child process simply deadlocked causing the whole test to deadlock. This commit moves the test to its own file with no threads which should work.
std: Move a process test out of libstd This commit moves a test out of libstd which is causing deadlocks on musl on CI. Looks like the recent update in musl versions brings in some internal updates to musl which makes `setgid` and `setuid` invalid to call after a `fork` in a multithreaded program. The issue seen here is that the child thread was attempting to grab a lock held by a nonexistent thread, meaning that the child process simply deadlocked causing the whole test to deadlock. This commit moves the test to its own file with no threads which should work.
Rollup of 15 pull requests Successful merges: - #62021 (MSVC link output improve) - #62064 (nth_back for chunks_exact) - #62128 (Adjust warning of -C extra-filename with -o.) - #62161 (Add missing links for TryFrom docs) - #62183 (std: Move a process test out of libstd) - #62186 (Add missing type urls in Into trait) - #62196 (Add Vec::leak) - #62199 (import gdb for explicit access to gdb.current_objfile()) - #62229 (Enable intptrcast for explicit casts) - #62250 (Improve box clone doctests to ensure the documentation is valid) - #62255 (Switch tracking issue for `#![feature(slice_patterns)]`) - #62285 (Fix michaelwoerister's mailmap) - #62304 (HashMap is UnwindSafe) - #62319 (Fix mismatching Kleene operators) - #62327 (Fixed document bug, those replaced each other) Failed merges: r? @ghost
This commit moves a test out of libstd which is causing deadlocks on
musl on CI. Looks like the recent update in musl versions brings in some
internal updates to musl which makes
setgidandsetuidinvalid tocall after a
forkin a multithreaded program. The issue seen here isthat the child thread was attempting to grab a lock held by a
nonexistent thread, meaning that the child process simply deadlocked
causing the whole test to deadlock.
This commit moves the test to its own file with no threads which should
work.