-
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
System.Runtime.Intrinsics.Tests crashing on Linux x64 #83917
Comments
Null pointer dereference at:
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak Issue Details
Failed in #83881 (failing in all PRs that run this leg)
|
The method being JITed is |
CC. @kunalspathak since this is in LSRA |
Working on getting a local repro. Based on the failing method, this is probably some issue with the KMASK registers. |
Looks to be an issue that only repros with a |
Looks like part of this may come down to incomplete handling of the mask register type. We in general have many places that do It's not clear what's causing this to "work" on debug/release JITs yet. Still working on figuring out which |
Going to keep this open until the underlying issue is resolved such that EVEX can be enabled by default |
This basically does an early exit of In |
Put up #83927 |
That path exists even for runtime/src/coreclr/jit/lsra.cpp Line 12076 in 95dbfc2
runtime/src/coreclr/jit/lsra.cpp Line 12085 in 95dbfc2
asssignedInterval and use it and later have code that checks for it being nullptr or not. runtime/src/coreclr/jit/lsra.cpp Line 11482 in 95dbfc2
This usually happens when we have free candidates but still execute busy register selection heusitics methods. I was running into it for consecutive registers cases and I could see why it was hitting for mask register because we were not adding that in the availableregisters. In #80297, I have put up ae2e633 for it. However, here, we should at least add an |
yes both paths have an The difference is runtime/src/coreclr/jit/lsra.h Line 1218 in 922c75c
That means this loop always executes at least once: runtime/src/coreclr/jit/lsra.cpp Lines 12044 to 12068 in 95dbfc2
and the first thing that loop does is
|
Realized that this was uncovered from my #83569 where I am skipping the free register selection heuristics and directly going to the busy selection heuristics. |
Full log: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-83881-merge-e7a7337a0eee400295/System.Runtime.Intrinsics.Tests/1/console.edf1d97e.log?helixlogtype=result
Failed in #83881 (failing in all PRs that run this leg)
The text was updated successfully, but these errors were encountered: