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

Infinite recursion crash with use _ #105353

Closed
jruderman opened this issue Dec 6, 2022 · 1 comment
Closed

Infinite recursion crash with use _ #105353

jruderman opened this issue Dec 6, 2022 · 1 comment
Labels
C-bug Category: This is a bug. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Comments

@jruderman
Copy link
Contributor

Found with a modified fuzz-rustc

Code

use _;
use crate::*;
fn main() {}

Crash

Infinite recursion between resolve_ident_in_module_unadjusted and resolve_ident_in_module_unadjusted_ext

crash-report.txt

The base of the stack is visible when running with RUST_MIN_STACK=100000: crash-report-with-small-stack.txt

Regression

Regression in nightly-2019-10-17, perhaps from #64623 (@matthewjasper, @petrochenkov)

Version

rustc 1.67.0-nightly (e1d819583 2022-12-05)
binary: rustc
commit-hash: e1d819583f0bf13b016b119c1c2c43e6d3979450
commit-date: 2022-12-05
host: x86_64-apple-darwin
release: 1.67.0-nightly
LLVM version: 15.0.4

@rustbot label +I-crash +T-compiler

@jruderman jruderman added the C-bug Category: This is a bug. label Dec 6, 2022
@rustbot rustbot added I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Dec 6, 2022
@bvanjoi
Copy link
Contributor

bvanjoi commented Jun 2, 2023

I think this issue is same as #110164, and it had been solved, so this issue can be closed.

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. I-crash Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics. 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

3 participants