-
Notifications
You must be signed in to change notification settings - Fork 4.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
Runtime_76346 fails in jitstress on arm64 #76910
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsThe test added for #76346 seems to fail under jitstress. Works fine when not jitstress. Starting: JIT.Regression.XUnitWrapper (parallel test collections = on, max threads = 8)
JIT\Regression\JitBlue\Runtime_76346\Runtime_76346\Runtime_76346.cmd [FAIL]
Return code: 1
Raw output file: D:\h\w\AD9809AF\w\B39E099D\uploads\Reports\JIT.Regression\JitBlue\Runtime_76346\Runtime_76346\Runtime_76346.output.txt
Raw output:
BEGIN EXECUTION
"D:\h\w\AD9809AF\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" Runtime_76346.dll
Running... 0
In finally1
try2... 0
finally2... 0
Expected: 100
Actual: -2147483645
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=D:\h\w\AD9809AF\p
> D:\h\w\AD9809AF\w\B39E099D\e\JIT\Regression\JitBlue\Runtime_76346\Runtime_76346\Runtime_76346.cmd
Expected: True
Actual: False
Stack Trace:
at JIT_Regression._JitBlue_Runtime_76346_Runtime_76346_Runtime_76346_._JitBlue_Runtime_76346_Runtime_76346_Runtime_76346_cmd()
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Output:
Return code: 1
Raw output file: D:\h\w\AD9809AF\w\B39E099D\uploads\Reports\JIT.Regression\JitBlue\Runtime_76346\Runtime_76346\Runtime_76346.output.txt
Raw output:
BEGIN EXECUTION
"D:\h\w\AD9809AF\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" Runtime_76346.dll
Running... 0
In finally1
try2... 0
finally2... 0
Expected: 100
Actual: -2147483645
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=D:\h\w\AD9809AF\p
> D:\h\w\AD9809AF\w\B39E099D\e\JIT\Regression\JitBlue\Runtime_76346\Runtime_76346\Runtime_76346.cmd
|
Repros with just
|
This is a bug in the Additionally, the code adds alignment in the |
The Runtime_76346 test exposed a case where, in the case of STRESS_EMITTER, we were inserting breakpoint instructions instead of NOPs for loop alignment when the alignment followed an unconditional branch. However, it wasn't considering the case of a BBJ_CALLFINALLY/BBJ_ALWAYS pair immediately followed by a loop head. This pointed out that alignment instructions should never be inserted in that BBJ_ALWAYS block, since that block shouldn't contain any code. Inserting the alignment NOPs affected the reported range of the EH cloned finally region in the FEATURE_EH_CALLFINALLY_THUNKS case. In these special cases, we simply give up on trying to align the loop. Fixes dotnet#76910
The Runtime_76346 test exposed a case where, in the case of STRESS_EMITTER, we were inserting breakpoint instructions instead of NOPs for loop alignment when the alignment followed an unconditional branch. However, it wasn't considering the case of a BBJ_CALLFINALLY/BBJ_ALWAYS pair immediately followed by a loop head. This pointed out that alignment instructions should never be inserted in that BBJ_ALWAYS block, since that block shouldn't contain any code. Inserting the alignment NOPs affected the reported range of the EH cloned finally region in the FEATURE_EH_CALLFINALLY_THUNKS case. In these special cases, we simply give up on trying to align the loop. No diffs. Fixes #76910
The test added for #76346 seems to fail under jitstress=2. Works fine without jitstress.
Run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=48223&view=ms.vss-test-web.build-test-results-tab&runId=976374&resultId=109511&paneView=dotnet-dnceng.dnceng-anon-build-release-tasks.helix-anon-test-information-tab
cc @BruceForstall
The text was updated successfully, but these errors were encountered: