Repository navigation
Closed
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Milestone
Description
Around 22195 failures during asmdiffs of libraries.crossgen and libraries.pmi collection. There are some methods that pass compilation and I can see jit-analyze result of them.
- libraries.crossgen
D:\git\runtime>D:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\superpmi.exe E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.23\repro-97603.mc
Using jit(E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll) with input (D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.23\repro-97603.mc)
indexCount=-1 ()
Jit startup took 7.647100ms
ERROR: Exception thrown: SuperPMI assertion 'GetIntrinsicID != nullptr' failed ("Didn't find anything for 00007F4E5639BD48")
ERROR: main method 1 of size 276 failed to load and compile correctly.
Loaded 1 Jitted 1 FailedCompile 1 Excluded 0
Total time: 13.391300ms
D:\git\runtime>D:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\superpmi.exe E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.23\repro-97610.mc
Using jit(E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll) with input (D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.23\repro-97610.mc)
indexCount=-1 ()
Jit startup took 7.793400ms
ERROR: Exception thrown: SuperPMI assertion 'GetIntrinsicID->GetIndex(CastHandle(method)) != -1' failed ("Didn't find 00007F4E5639BD48")
ERROR: main method 1 of size 258 failed to load and compile correctly.
Loaded 1 Jitted 1 FailedCompile 1 Excluded 0
Total time: 12.885300ms
- libraries.pmi
D:\git\runtime>D:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\superpmi.exe E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.24\repro-103317.mc
Using jit(E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll) with input (D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.24\repro-103317.mc)
indexCount=-1 ()
Jit startup took 6.672300ms
ERROR: Exception thrown: SuperPMI assertion '(AsCorInfoType != nullptr) && (AsCorInfoType->GetIndex(CastHandle(cls)) != -1)' failed ("Didn't find 00007F4E56390680. Probable cached value in JIT issue")
ERROR: main method 1 of size 220 failed to load and compile correctly.
Loaded 1 Jitted 1 FailedCompile 1 Excluded 0
Total time: 9.828800ms
D:\git\runtime>D:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\superpmi.exe E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.24\repro-105963.mc
Using jit(E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll) with input (D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.24\repro-105963.mc)
indexCount=-1 ()
Jit startup took 6.164900ms
ERROR: Exception thrown: SuperPMI assertion 'GetArgType->GetIndex(key) != -1' failed ("Didn't find 00007f4e56503020, 00007f4e53be9f41. probably a missing exception in getArgType")
ERROR: main method 1 of size 1683 failed to load and compile correctly.
Loaded 1 Jitted 1 FailedCompile 1 Excluded 0
Total time: 11.376100ms
D:\git\runtime>D:\git\runtime\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root\superpmi.exe E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.24\repro-113542.mc
Using jit(E:\ehwritethru\singledef\clrjit_unix_x64_x64.dll) with input (D:\git\runtime\artifacts\spmi\repro.windows.x64.Checked.24\repro-113542.mc)
indexCount=-1 ()
Jit startup took 5.913300ms
ERROR: Exception thrown: SuperPMI assertion 'GetIntrinsicID != nullptr' failed ("Didn't find anything for 00007F4E5639BD48")
ERROR: main method 1 of size 44 failed to load and compile correctly.
Loaded 1 Jitted 1 FailedCompile 1 Excluded 0
Total time: 9.514200ms
Metadata
Metadata
Assignees
Labels
area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Activity
kunalspathak commentedon Jan 20, 2021
@dotnet/jit-contrib , @BruceForstall
BruceForstall commentedon Jan 20, 2021
Did you run with the Linux MCH file?
BruceForstall commentedon Jan 20, 2021
I tried and didn't see a failure.
Note that there was a recent change to the JIT-EE interface that did not update the GUID, so you might need to make sure you are up-to-date with the version of the MCH files collected this weekend.
kunalspathak commentedon Jan 20, 2021
Yes.
I tried with
f556df6c-b9c7-479c-b895-8e1f1959fe59. Recent superpmi libraries.crossgen collection failed to collect for couple of partitions of Linux x64/arm/arm64.Could you confirm how you ran it? May be something that I am doing wrong? Here is how I am running it:
Also, I verified that it does download the right mch files
BruceForstall commentedon Jan 20, 2021
I ran:
It used:
https://clrjit2.blob.core.windows.net/superpmi/collections/f556df6c-b9c7-479c-b895-8e1f1959fe59/Linux/x64/libraries.pmi.Linux.x64.checked.mch.zip
kunalspathak commentedon Jan 20, 2021
That seems right. Where are you running
superpmi.py? On Windows or Linux? I am running on my dev box (windows).BruceForstall commentedon Jan 20, 2021
I was running on Windows/x64
kunalspathak commentedon Apr 1, 2021
I do not see this issue anymore.