-
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
JIT assertion failure when running tests in OSX #40195
Comments
@dotnet/jit-contrib , @erozenfeld |
Marking as 5.0. |
This assert also fires when running Windows x64 pmi on FSharp.Core.dll:
|
I'll take a look. |
Think the repro is an object field feeding a degenerate switch. Haven't tracked down the source yet; based on IL, trying to come up with some simple C# for this. Roslyn is surprisingly aggressive at turning switches into if then trees. Seems like perhaps way too aggressive. |
The method being jitted in CI also comes from FSharp.Core.dll, issue looks similar... we are not properly handling a switch flow opt that happens before statement lists are threaded. Fix seems simple. |
Don't try rethreading statement lists if we're doing and early flow opt. Fixes dotnet#40195.
I'm curious though why CI only surfaced this issue in OSX builds? |
Don't try rethreading statement lists if we're doing and early flow opt. Fixes #40195.
…#40434) Don't try rethreading statement lists if we're doing and early flow opt. Fixes dotnet#40195.
I'm seeing the following assertion failure when running a new set of tests in Coreclr OSX x64 Debug:
The issue seems to reproduce consistently (I triggered CI twice) and only happens in OSX. I don't currently have access to an OSX device, so wasn't able to further drill down into the problem.
Relevant PR: #40135 (comment) cc @kunalspathak
The text was updated successfully, but these errors were encountered: