-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Borrowing an i32 an obscene amount of times (4770) results in SIGSEGV #135553
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
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
well, how many ampersands was it? |
ah, 4770 |
Hm. If I delete enough
So even if I fixed the stack overflow here, I'd hit another stack overflow. That or the overflow is already in inference. |
this is probably a duplicate of #121808 |
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.
I was curious to see what was gonna happen if I borrowed something a stupid amount of times. Turns out at the very least rustc in playground (as well as mine under Ubuntu WSL) crashes.
Code
Here's a playground link to all of the amperands
Meta
rustc --version --verbose
:Bug is also reproducible on nightly:
Error output
Backtrace
If this bug is stupid then I'm sorry for wasting your time. Many thanks for your work!
The text was updated successfully, but these errors were encountered: