-
Notifications
You must be signed in to change notification settings - Fork 893
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
reqwest http handler causes silent failure on AAarch64 Windows #3334
Comments
@Alovchin91 @naixx would either you be game to try to chase this down? The way I would do it is just by injecting a bunch of |
@djc Sure, I would be happy to help! Sorry, I was busy with a new job so I didn’t get to it just yet. If you’d have a branch, I could clone it and run it this week. I’m not sure though if @naixx was facing this issue on an Arm64 machine though? 🤔 If not, I don’t have an x64 machine to test on, so I can only help with the Arm64 part. It does reproduce on Arm64 for me quite reliably though. |
@Alovchin91 no need to apologize! Let's dig out the AArch64 issue, please try the branch from #3462. |
@djc Sorry for a late reply; I was trying to reproduce the issue with a Rustup version built from your branch to no avail 🤷♂️ I could however reproduce it again (after quite a number of attempts) using Rustup 1.26.0 and record a crash dump using Procdump. The issue seems to be a null pointer somewhere in the |
One thing to note though is that with the build from your branch, downloads do sometimes become very slow. In those cases I see debug messages like the following:
-- with Rustup waiting for a few seconds after reading those 128 bytes before proceeding to download. So maybe in a build without |
Huh, that seems pretty surprising! Would be happy to inspect the crash dump. You should be able to find my email address online, can you send me an email with it? |
@djc I have sent you an email with 3 types of dumps I've recorded, and here's an error message I've caught once at some point while trying to do Time-Travel Debugging:
|
@djc A heads-up: I haven't encountered this issue for a while now. Could have been fixed in Windows or in |
@Alovchin91 thanks for letting us know, and I feel very bad for having failed to follow up on your email with debug stuff. Note that, given that the error makes it look like this failure might have been related to the use of native-tls on Windows, rustup 1.28 will default to using rustls which makes it even less likely to trigger issues like this. |
@Alovchin91 Thanks for the update! Would you mind if I close this as stale until the issue resurfaces? |
@rami3l Sure, feel free to! Thanks for asking 😊 |
Problem
When I run
rustup-init.exe
it doesn't download any toolchains.Steps
rustup default stable
Possible Solution(s)
Kinnison from discord suggested to use
RUSTUP_USE_CURL=1
And that helped
His comments are:
Notes
No response
Rustup version
1.26
Installed toolchains
no toolchains
The text was updated successfully, but these errors were encountered: