Skip to content
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

Test failure: JIT/Regression/JitBlue/GitHub_65690/GitHub_65690/GitHub_65690.cmd #103545

Closed
v-wenyuxu opened this issue Jun 17, 2024 · 6 comments · Fixed by #103580
Closed

Test failure: JIT/Regression/JitBlue/GitHub_65690/GitHub_65690/GitHub_65690.cmd #103545

v-wenyuxu opened this issue Jun 17, 2024 · 6 comments · Fixed by #103580
Assignees
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr jitstress-isas-arm 20240615.1

Failed tests:

coreclr windows arm64 Checked jitstress_isas_nohwintrinsic @ Windows.11.Arm64.Open
    - JIT/Regression/JitBlue/GitHub_65690/GitHub_65690/GitHub_65690.cmd

Error message:

 Fatal error. 0xC0000005
   at System.Threading.Thread..cctor()
   at System.GC.RunFinalizers()

Return code:      1
Raw output file:      C:hwB1F10977wBD980A5AuploadsJitBlueGitHub_65690GitHub_65690output.txt
Raw output:
BEGIN EXECUTION
 "C:hwB1F10977pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  GitHub_65690.dll 
Expected: 100
Actual: -1073741819
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 6/15/2024 8:38:41 PM
Processing C:corescorerun.exe.1916.dmp
Unable to find cdb.exe at C:Program Files (x86)Windows Kits10Debuggers�rm64cdb.exe
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwB1F10977wBD980A5AeJITRegressionRegression_3../JitBlue/GitHub_65690/GitHub_65690/GitHub_65690.cmd

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor346|0_347(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
@v-wenyuxu v-wenyuxu added arch-arm64 os-windows JitStress CLR JIT issues involving JIT internal stress modes blocking-clean-ci-optional Blocking optional rolling runs labels Jun 17, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jun 17, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jun 17, 2024
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@jakobbotsch
Copy link
Member

@jakobbotsch
Copy link
Member

Bisected to range f69972f...d2dbdd0. #103501 seems most likely given the call stack, cc @jkotas

@jakobbotsch
Copy link
Member

The repro seems to require

$env:DOTNET_JitDoValueNumber=0
$env:DOTNET_ReadyToRun=0
$env:DOTNET_TieredCompilation=0

so not sure whether or not there is a JIT bug lurking here.

@jakobbotsch
Copy link
Member

The particular method that is sensitive to JIT optimization in the test seems to be System.Threading.ProcessorIdCache:ProcessorNumberSpeedCheck(). The failure does not repro with

$env:DOTNET_JitOnlyOptimizeRange="0-0"

but does repro with

$env:DOTNET_JitOnlyOptimizeRange="45e1fa53-45e1fa53"

(the hash of that method).

@jakobbotsch
Copy link
Member

Yeah it looks like a JIT bug when VN is disabled, exposed by the new managed code introduced in that PR which we are now compiling with VN disabled in this test.

@jakobbotsch jakobbotsch self-assigned this Jun 17, 2024
@jakobbotsch jakobbotsch removed the untriaged New issue has not been triaged by the area owner label Jun 17, 2024
jakobbotsch added a commit to jakobbotsch/runtime that referenced this issue Jun 17, 2024
IV opts have a dependency on VN since the trip count analysis was
introduced, so if VN is disabled we should skip the optimization,
otherwise we can crash on accesses to the VN store.

Fix dotnet#103545
@github-actions github-actions bot locked and limited conversation to collaborators Jul 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI blocking-clean-ci-optional Blocking optional rolling runs JitStress CLR JIT issues involving JIT internal stress modes os-windows
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants