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

ykd_opt_off test fails very occasionally #1589

Open
ltratt opened this issue Feb 6, 2025 · 0 comments
Open

ykd_opt_off test fails very occasionally #1589

ltratt opened this issue Feb 6, 2025 · 0 comments
Assignees

Comments

@ltratt
Copy link
Contributor

ltratt commented Feb 6, 2025

Once in a while (I've now seen it twice, including on b13 when trying to merge #1585 -- it failed the first time), the innocuous-seeming ykd_opt_off test segfaults. It's not at all obvious to me why, and I'm not even sure how to recreate the crash. At least one case was in a BB build with RUST_TEST_SHUFFLE=1 cargo test. Is the shuffle aspect critical? I have no idea!

Having looked at the jit-asm output, the "normal" parts of the codegen are very short and simple, and look correct to me. I'm less sure about the sidetrace aspects or deopt.

So in a sense this is a terrible bug report: but there is something wrong that can be triggered by this tiny test, and sidetraces and deopt are my initial guesses as to what.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants