-
Notifications
You must be signed in to change notification settings - Fork 1.8k
proc macro server repeatedly crashes on rustc code base #5773
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
Comments
Which rustc version are you using? If nightly, then #5651 will likely fix this once 1.47.0 becomes stable. |
I was using We should probably handle these cases better than dumping core multiple times per second and printing thousands of lines to stderr though. |
The rustc metadata in the |
I believe I encountered this same issue while rearranging a crate from having a top-level The terminal popped up and dumped several backtraces while I was midway through the operation. At the time I had an empty $ rustc --version --verbose
rustc 1.48.0-nightly (5099914a1 2020-09-08)
binary: rustc
commit-hash: 5099914a16a215794ad243df0cc7a05d91d168e0
commit-date: 2020-09-08
host: x86_64-pc-windows-msvc
release: 1.48.0-nightly
LLVM version: 11.0 Rust Analyzer version: Full backtrace and rust-analyzer output
Interestingly, the second backtrace ends with "thread panicked while panicking. aborting" so it looks like this bug was able to bring down the whole rust-analyzer process. |
That is only the proc-macro server process. |
These two panics repeat indefinitely.
The text was updated successfully, but these errors were encountered: