-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Assertion failed 'block->bbCodeOffs <= succBlock->bbCodeOffs' #88348
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue Detailsruntime-coreclr libraries-jitstress-random
|
@hoyosjs I assume it was an oversight to mark this as blocking-clean-ci? This test only fails libraries-jitstress-random as far as I can see. |
Seems like *************** Starting PHASE Expand runtime lookups
Expanding runtime lookup for [000121] in BB04:
N004 ( 18, 13) [000121] --C-GO----- ▌ CALL help int CORINFO_HELP_RUNTIMEHANDLE_CLASS $207
N002 ( 3, 2) [000122] #----O----- arg0 in ecx ├──▌ IND int $205
N001 ( 1, 1) [000123] !---------- │ └──▌ LCL_VAR ref V00 this u:1 $80
N003 ( 1, 4) [000124] H------N--- arg1 in edx └──▌ CNS_INT(h) int 0x11C2DF04 global ptr $182
lvaGrabTemp returning 8 (V08 rat0) called for Spilling to split statement for tree.
Splitting BB04 after statement STMT00025
New Basic Block BB08 [0010] created.
...
-----------------------------------------------------------------------------------------------------------------------------------------
BBnum BBid ref try hnd preds weight IBC lp [IL range] [jump] [EH region] [flags]
-----------------------------------------------------------------------------------------------------------------------------------------
...
BB08 [0010] 2 BB10,BB11 3.60 18 [057..020) i hascall nullcheck IBC
... |
Through loop inversion and FG optimizations we end up with STMT00019 ( 0x057[E-] ... ??? ) inside BB04 that has IL ranges |
In release, code motion/compaction may lead to statements ending up in blocks that don't contain their IL offset. This can cause splitting of blocks to create meaningless IL ranges such as [057..020). Since we maintain these IL ranges on a best-effort basis, just clamp them when we do the splitting. Fix dotnet#88348
In release, code motion/compaction may lead to statements ending up in blocks that don't contain their IL offset. This can cause splitting of blocks to create meaningless IL ranges such as [057..020). Since we maintain these IL ranges on a best-effort basis, just clamp them when we do the splitting. Fix #88348
runtime-coreclr libraries-jitstress-random
net8.0-windows-Release-x86-CoreCLR_checked-jitstress_random_1-Windows.10.Amd64.Open
https://dev.azure.com/dnceng-public/public/_build/results?buildId=327184&view=ms.vss-test-web.build-test-results-tab&runId=6736812&paneView=debug
Known Issue Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=327184
Error message validated:
Assertion failed 'block->bbCodeOffs <= succBlock->bbCodeOffs'
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/4/2023 1:24:51 AM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: