-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
stack overflow/infinite recursion in rustc #86784
Comments
Easiest MCVE of my live 😂 Huge file incoming
|
searched nightlies: from nightly-2021-01-01 to nightly-2021-07-01 bisected with cargo-bisect-rustc v0.6.0Host triple: x86_64-unknown-linux-gnu cargo bisect-rustc --end=2021-07-01 --access=github --regress=error --without-cargo -- build @rustbot modify labels: -E-needs-mcve |
Hey @JohnTitor this seems to be a problem with the LLVM12 upgrade. Would you think pinging the LLVM ice breaker crew is worth it? |
Thanks for bisecting! |
Hey LLVM ICE-breakers! This bug has been identified as a good cc @camelid @comex @cuviper @DutchGhost @hdhoang @henryboisdequin @heyrutvik @higuoxing @JOE1994 @jryans @mmilenko @nagisa @nikic @Noah-Kennedy @SiavoshZarrasvand @spastorino @vertexclique |
Issue: rust-lang/rust#86784
Assigning priority as discussed in the Zulip thread of the Prioritization Working Group. @rustbot label -I-prioritize +P-medium |
If no one hasn't been assigned to this issue yet, may I try taking on this issue? |
@hellow554 Stableerror message
|
Intereseting. Why did glacier then said it is fixed :D So feel free to investigate the issue ;) |
Tried building @hellow554 's MCVE with the following setting
|
No longer occurs since #93577, this time it doesn't appear to be spurious either |
…askrgr Rollup of 5 pull requests Successful merges: - rust-lang#98501 (rustc_passes/src/entry.rs: De-duplicate more code with `fn throw_attr_err()`) - rust-lang#98774 (rustdoc: make source sidebar toggle a real button) - rust-lang#98806 (Fix long declaration trailing whitespace) - rust-lang#98823 (Fix rust-call ICE in mir-inliner) - rust-lang#98870 (Add regression test for rust-lang#86784) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
I uploaded the code that causes the issue to rust-stack-overflow. The stack overflow occurs on both the nightly and stable compilers only when building in debug mode.
I dumped the process, and it appears that the recursion is occurring inside the regex_automata crate in the rustc_driver.
The text was updated successfully, but these errors were encountered: