Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign uprustc 1.30 beta 12 incremental compilation hangs on win 7 #54874
Comments
This comment has been minimized.
This comment has been minimized.
ghost
commented
Nov 17, 2018
|
I had this issue too, your fix solved the issue. Hope this gets fixed for others. |
This comment has been minimized.
This comment has been minimized.
|
Was this working fine on Rust 1.29? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
sinesc
commented
Nov 25, 2018
|
@pietroalbini I never experienced the issue with 1.29 There is also a post on reddit about the it, in case it might be helpful: https://www.reddit.com/r/rust/comments/9xseoa/rustc_hangs_on_windows_7_anyone_else/ |
This comment has been minimized.
This comment has been minimized.
|
Ok, marking this as a stable-to-stable regression. |
This comment has been minimized.
This comment has been minimized.
|
Did anyone ever see this on other platforms too? |
This comment has been minimized.
This comment has been minimized.
|
triage: Marking as P-high for now, but am not opposed to downgrading to P-medium if others think that more appropriate. |
pnkfelix
added
the
P-high
label
Nov 29, 2018
This comment has been minimized.
This comment has been minimized.
|
discussed at T-compiler meeting. Based on the End-of-Life schedule for Windows 7, we assume it is not a tier 1 platform for Rust, and therefore we are downgrading this to P-medium. |
pnkfelix
added
P-medium
and removed
I-nominated
P-high
labels
Nov 29, 2018
This comment has been minimized.
This comment has been minimized.
|
@sinesc My guess is that this is not related #54627, which @nagisa ultimately blamed on an LLVM bug. Given that your backtrace seems to include blocking on a monitor, my guess would be that it has something to do with our job queue support. I'm trying to remember if there is a way to disable the job-queue by default -- @alexcrichton do you recall? |
This comment has been minimized.
This comment has been minimized.
|
(I think disabling incremental might be doing that as a side-effect) |
This comment has been minimized.
This comment has been minimized.
|
filed #56344 to ask the question about whether we are justified in treating Windows 7 as non-tier-1. |
This comment has been minimized.
This comment has been minimized.
|
Has anyone been able to reproduce this issue on newer versions of Windows? |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Nov 29, 2018
•
|
I posted a quick stawpoll on r/rust: https://old.reddit.com/r/rust/comments/a1jskw/what_os_do_you_build_rust_on_os_census/ Probably right to determine that Win7 isn't a high enough priority. |
This comment has been minimized.
This comment has been minimized.
sinesc
commented
Nov 29, 2018
|
I updated to rustc 1.31.0-beta.19 today and so far could not reproduce the issue with it. It is probably to early to pronounce it fixed since I only had half an hour but 1.30 beta 12 would have already frozen a couple of times. I'll make another comment when or if it breaks again. As a side note, working without incremental for a while really makes you appreciate it all the more afterwards... |
This comment has been minimized.
This comment has been minimized.
|
We unearthed some numbers suggesting Win7 was 5% of the documentation downloads, which is non-trivial. Regardless, I would like to get to the bottom of this -- for all we know it's a subtle bug that's just not manifesting elsewhere. I guess the next step is to try installing Win 7 in a VM. |
This comment has been minimized.
This comment has been minimized.
|
But then again if it won't manifest, I guess we'll just have to wait =) |
This comment has been minimized.
This comment has been minimized.
rodrimati1992
commented
Nov 30, 2018
This poll suffers from only allowing one OS,meaning that if people use Linux as their main development OS,but also use Windows,it will be biased against it. |
sinesc commentedOct 6, 2018
I'm seeing frequent rustc freezes (0% CPU) with incremental compilation enabled on Windows 7. This happens about every 2nd or 3rd build attempt. Once this happens (and after killing the frozen rustc), any further attempts hang forever as well (i.e. I waited 5 minutes).
cargo cleanresolves the issue until it happens again a few builds later, setting CARGO_INCREMENTAL=0 appears to completely prevent it.This might be a duplicate of/related to #54627.
I have attached a debugger to get the traces, but I don't have any symbols for rustc, so this is probably useless: