-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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 'value != 0' in 'System.Tests.DoubleTests_GenericMath:GetExponentShortestBitLengthTest()' during 'Do value numbering' #81460
Comments
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue Details
This is failing the NativeAOT System.Runtime tests in runtime-extra-platform runs with checked runtime/release framework combo. Looks to be related to #80789 cc @tannergooding
|
Presumably assert should just be removed from those helpers (or special cased to return value for 0) |
@EgorBo, the issue for Which is why all the usages in managed have an explicit path handling Likewise in So it's unclear what is occurring that could lead to this and why it is only showing up in |
@MichalStrehovsky, what's the easiest way to repro this and see get a JIT dump? |
Could this be because NativeAOT targets the minimum x64 we support and this is untested in libs tests outside NativeAOT? We had several of those.
Follow this workflow:
obj . Invoke the compiler again with the rsp file and pass --codegenopt:JitDump=blah . Alternatively, you can add <ItemGroup><IlcArg Include="--codegenopt:JitDump=blah" /></ItemGroup> to the test project file.
|
We also hit this for crossgen since lzcnt is "opportunistic" and we validate this path in the outerloop with the various It's possible its getting masked via some other env variable being set (maybe one of the JitStress ones?), but I don't initially see what could trigger it.
Thanks! Will give this a try. |
I think we don't run libs tests with crossgen - this is asserting while compiling a test in src/libraries. We'll do some limited crossgenning of libs tests after #80946, but likely not with extra |
This is failing the NativeAOT System.Runtime tests in runtime-extra-platform runs with checked runtime/release framework combo.
https://dev.azure.com/dnceng-public/public/_build/results?buildId=155217&view=logs&jobId=62c84a0c-1188-56fe-6938-e058a633beb1&j=62c84a0c-1188-56fe-6938-e058a633beb1&t=e508e8f5-7a40-5591-4aae-9625248f10c0
Looks to be related to #80789 cc @tannergooding
The text was updated successfully, but these errors were encountered: