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

rustc panics when trying to get session directory when building project on ramdisk #62631

Closed
jamclema opened this issue Jul 12, 2019 · 3 comments
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@jamclema
Copy link

Seems similar to #52440, but no cross platform weirdness is in play. Project builds fine on a normal C drive on windows, but when the same repo is cloned to a ramdisk (created by imdisk driver) on windows, rustc panics.
First incremental compilation gives an error so it appears to be handled, but then the compiler panics.

`
error: incremental compilation: error canonicalizing path : Incorrect function. (os error 1)

thread 'rustc' panicked at 'src\librustc\session\mod.rs:813: Trying to get session directory from IncrCompSession NotInitialized', src\librustc\util\bug.rs:37:26
`

Platform info:
rustc 1.36.0-nightly (50a0defd5 2019-05-21) running on x86_64-pc-windows-msvc compiler flags: -C debuginfo=2 -C incremental --crate-type bin

@jonas-schievink jonas-schievink added A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Jul 14, 2019
@jscarrott
Copy link

I'm also getting this issue using imdisk

@Stzx
Copy link

Stzx commented Sep 3, 2020

Is there any progress?

@Enselic
Copy link
Member

Enselic commented Aug 28, 2023

Triage: Closing as duplicate of #48249

@Enselic Enselic closed this as not planned Won't fix, can't repro, duplicate, stale Aug 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-incr-comp Area: Incremental compilation C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

No branches or pull requests

5 participants