-
Notifications
You must be signed in to change notification settings - Fork 13k
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
Segfault in evaluating associated trait constants for deeply nested types #93775
Labels
C-bug
Category: This is a bug.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
Aplet123
added
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
Feb 8, 2022
Fixed by #96591, marking as E-needs-test. |
JohnTitor
added
the
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
label
Jun 15, 2022
JohnTitor
added a commit
to JohnTitor/rust
that referenced
this issue
Jun 15, 2022
Signed-off-by: Yuki Okushi <jtitor@2k36.org>
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Jun 15, 2022
…iler-errors Add regression test for rust-lang#93775 Closes rust-lang#93775, also closes rust-lang#93022 as it should have the same root cause r? `@compiler-errors` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Jun 15, 2022
…iler-errors Add regression test for rust-lang#93775 Closes rust-lang#93775, also closes rust-lang#93022 as it should have the same root cause r? ``@compiler-errors`` Signed-off-by: Yuki Okushi <jtitor@2k36.org>
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Jun 15, 2022
Rollup of 7 pull requests Successful merges: - rust-lang#97202 (os str capacity documentation) - rust-lang#97964 (Fix suggestions for `&a: T` parameters) - rust-lang#98053 (Fix generic impl rustdoc json output) - rust-lang#98059 (Inline `const_eval_select`) - rust-lang#98092 (Fix sidebar items expand collapse) - rust-lang#98119 (Refactor path segment parameter error) - rust-lang#98135 (Add regression test for rust-lang#93775) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
DianQK
added a commit
to DianQK/rust
that referenced
this issue
Dec 21, 2024
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Dec 21, 2024
Move test rust-lang#93775 to crashes Closes rust-lang#132111. Closes rust-lang#133432. Re-opens rust-lang#93775. I think this test case is flaky because the recursive calls happen to hit the upper limit of the call stack. IMO, this may not be an issue, as it's reasonable for overly complex code to require additional build configurations (such as increasing the call stack size). r? jieyouxu try-job: x86_64-msvc try-job: i686-msvc
DianQK
added a commit
to DianQK/rust
that referenced
this issue
Dec 21, 2024
Move test rust-lang#93775 to crashes Closes rust-lang#132111. Closes rust-lang#133432. Re-opens rust-lang#93775. I think this test case is flaky because the recursive calls happen to hit the upper limit of the call stack. IMO, this may not be an issue, as it's reasonable for overly complex code to require additional build configurations (such as increasing the call stack size). r? jieyouxu try-job: x86_64-msvc try-job: i686-msvc
GuillaumeGomez
added a commit
to GuillaumeGomez/rust
that referenced
this issue
Dec 21, 2024
Move test rust-lang#93775 to crashes Closes rust-lang#132111. Closes rust-lang#133432. Re-opens rust-lang#93775. I think this test case is flaky because the recursive calls happen to hit the upper limit of the call stack. IMO, this may not be an issue, as it's reasonable for overly complex code to require additional build configurations (such as increasing the call stack size). r? jieyouxu try-job: x86_64-msvc try-job: i686-msvc
bors
added a commit
to rust-lang-ci/rust
that referenced
this issue
Dec 21, 2024
Rollup of 6 pull requests Successful merges: - rust-lang#131072 (Win: Use POSIX rename semantics for `std::fs::rename` if available) - rust-lang#134325 (Correctly document CTFE behavior of is_null and methods that call is_null.) - rust-lang#134526 (update `rustc_index_macros` feature handling) - rust-lang#134581 (Bump Fuchsia toolchain for testing) - rust-lang#134607 (on pair → on par) - rust-lang#134608 (Move test rust-lang#93775 to crashes) r? `@ghost` `@rustbot` modify labels: rollup
DianQK
added a commit
to DianQK/rust
that referenced
this issue
Dec 21, 2024
DianQK
added a commit
to DianQK/rust
that referenced
this issue
Dec 22, 2024
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.
E-needs-test
Call for participation: An issue has been fixed and does not reproduce, but no test has been added.
glacier
ICE tracked in rust-lang/glacier.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
The following code segfaults rustc (tested on rustc 1.60.0-nightly (5e57faa 2022-01-19) and rustc 1.58.1 (db9d1b2 2022-01-20)):
The type is nested 1000 times. Note that this only segfaults for associated constants. Functions are fine:
This successfully compiles and prints
1000
.The text was updated successfully, but these errors were encountered: