Skip to content
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

x.py sometimes panics on Windows when the build is cancelled #86499

Closed
jyn514 opened this issue Jun 21, 2021 · 1 comment · Fixed by #87185
Closed

x.py sometimes panics on Windows when the build is cancelled #86499

jyn514 opened this issue Jun 21, 2021 · 1 comment · Fixed by #87185
Assignees
Labels
C-bug Category: This is a bug. O-windows Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@jyn514
Copy link
Member

jyn514 commented Jun 21, 2021

PS C:\Users\Joshua Nelson\src\rust> x check
Updating only changed submodules
Submodules updated in 0.14 seconds
   Compiling bootstrap v0.0.0 (C:\Users\Joshua Nelson\src\rust\src\bootstrap)
    Finished dev [unoptimized + debuginfo] target(s) in 13.28s

Build completed unsuccessfully in 0:00:14
PS C:\Users\Joshua Nelson\src\rust> thread 'main' panicked at 'PID `14496` doesn't seem to exist: The parameter is incorrect. (os error 87)', src\bootstrap\job.rs:106:5

Meta

rust/src/bootstrap/job.rs

Lines 105 to 111 in e82b650

let parent = OpenProcess(PROCESS_DUP_HANDLE, FALSE, pid.parse().unwrap());
assert!(
!parent.is_null(),
"PID `{}` doesn't seem to exist: {}",
pid,
io::Error::last_os_error()
);

@jyn514 jyn514 added O-windows Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-bug Category: This is a bug. labels Jun 21, 2021
@waterlens
Copy link
Contributor

@rustbot claim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug. O-windows Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants