-
Notifications
You must be signed in to change notification settings - Fork 5k
JIT: Assertion failed '!fgRngChkThrowAdded' #114985
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
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
looks like the issue is in fgRemoveEmptyTryCatchOrTryFault |
@AndyAyersMS does it ring a bell to you? it seems like late try-catch removal (PHASE_EMPTY_TRY_CATCH_FAULT_3) removes an EH region (0) and messes up with fgAddCodeDscMap cache so we no longer can find an entry for BB8 + RNGCHK_FAIL pair (seems like lookup is based on bbTryIndex and bbHndIndex and previously BB8 was in EH region 1, now in 0) - perhaps, the bug is in |
Yeah if we mess up the ACDs it could lead to this error. I can take a look. |
Is there some special config needed to repro this? |
@AndyAyersMS repoes for me as is on Main with Checked JIT and TC=0, I just run it and it hits an assert |
Looks like I was using an older build, I can repro now. |
This test has a filter-inspired ACD, looks like we don't update those properly. |
Fixed by #115054 |
@dotnet/jit-contrib
The text was updated successfully, but these errors were encountered: