-
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
Crossgen outerloop regression: Missing unhandled exception header in unhandledTester #109203
Comments
@kg is this is wasm specific or am I just mislead by the folder name in the log above? |
The problem is that the tester expects to get
But it gets
If the issue is WASM only and it is expected that WASM would generate a different exception, then the src/tests/baseservices/exceptions/unhandled/unhandledTester.cs should be modified to check for a different exception on WASM. I was not able to repro this on Linux x64. |
This is regular CoreCLR. The tests only fails when compiled as R2R. I think the problem is that the test is not properly compensating for variance in behavior that is allowed due to optimizations. From https://learn.microsoft.com/en-us/dotnet/api/system.runtime.interopservices.suppressgctransitionattribute :
It can fixed by moving code around and applying NoInline attributes to ensure that the behavior is not affected by optimizations. |
I was actually trying to repro it on Linux x64 release build with R2R enabled and it didn't repro. So I wonder which DOTNET_xxx variables need to be set to get it repro. |
This is my repro script, though it doesn't match CI for some reason: rm -rf ./artifacts
rm -rf ./artifacts/tests
rm -rf ./.dotnet
./build.sh Clr+Tools+Libs -c Release -rc $1 --os linux
./src/tests/build.sh $1 -priority1 -crossgen2 -p:LibrariesConfiguration=Release
PATH=/home/kate/Projects/dotnet-runtime-wasm/.dotnet/:$PATH RunCrossGen2=1 CompositeBuildMode=1 src/tests/run.sh $1 With 'Checked' passed as $1 since a lot of the CI lanes are Checked. For me this repros around half of the CI failures. |
Thank you @kg, the |
I should have been more precise, sorry for wasting your time. I think the CI lanes are also composite. |
No worries |
The text was updated successfully, but these errors were encountered: