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

With a ridiculous amount of errors, ICE (capacity overflow) #24955

Closed
strega-nil opened this issue Apr 29, 2015 · 9 comments
Closed

With a ridiculous amount of errors, ICE (capacity overflow) #24955

strega-nil opened this issue Apr 29, 2015 · 9 comments
Labels
C-bug Category: This is a bug. I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️

Comments

@strega-nil
Copy link
Contributor

check out the gist: https://gist.github.com/GBGamer/e5e6b049fd715b219db4

This is my own modification of the compiler which has no bounds checks (but which makes it unsafe to index). This is an issue whenever you have a ridiculous amount of errors, however.

@strega-nil
Copy link
Contributor Author

This should never be encountered normally, but, you know, still an ICE.

@pnkfelix
Copy link
Member

is this really actionable without a backtrace?

Update: oh sorry, I guess you put the backtrace at the top of the file.

@pnkfelix pnkfelix changed the title With a ridiculous amount of errors, ICE With a ridiculous amount of errors, ICE (capacity overflow) Apr 29, 2015
@sanxiyn sanxiyn added the I-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️ label Apr 29, 2015
@strega-nil
Copy link
Contributor Author

@pnkfelix I just copy-pasted the output RUST_BACKTRACE=1 make

@pnkfelix
Copy link
Member

@GBGamer funny, okay. I'm used to seeing the backtraces at the bottom after my error listings. (And thus I instinctively scrolled to the bottom of your gist.)

@strega-nil
Copy link
Contributor Author

@pnkfelix yeah, I know, I was weirded out too :P

@steveklabnik
Copy link
Member

updated link https://gist.github.com/ubsan/e5e6b049fd715b219db4

This is an issue whenever you have a ridiculous amount of errors, however.

@ubsan do you happen to have a good way to trigger this error?

@Mark-Simulacrum Mark-Simulacrum added C-bug Category: This is a bug. and removed C-bug Category: This is a bug. labels Jul 22, 2017
@kennytm
Copy link
Member

kennytm commented Sep 1, 2017

Both links are dead 😢.

@bstrie
Copy link
Contributor

bstrie commented Nov 11, 2018

Given that we can no longer access the code to reproduce and that it seems to suggest that it requires bespoke modifications to the compiler, I'm inclined to close this unless @ubsan or someone can recreate the test case to show it's still relevant on today's compiler.

@pnkfelix
Copy link
Member

I agree with @bstrie

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-ICE Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Projects
None yet
Development

No branches or pull requests

7 participants