Repository navigation
Closed
Description
Windows arm64 GCStress=3
Stack Trace:
F:\workspace\_work\1\s\artifacts\tests\coreclr\Windows_NT.arm64.Checked\TestWrappers\CoreMangLib.system\CoreMangLib.system.XUnitWrapper.cs(2662,0): at CoreMangLib_system._reflection_emit_DynMethodJumpStubTests_DynMethodJumpStubTests_DynMethodJumpStubTests_._reflection_emit_DynMethodJumpStubTests_DynMethodJumpStubTests_DynMethodJumpStubTests_cmd()
Output:
Assert failure(PID 15592 [0x00003ce8], Thread: 14900 [0x3a34]): Consistency check failed: AV in clr at this callstack:
------
CORECLR! WKS::gc_heap::background_sweep + 0x668 (0x00007ffc`5470d1e0)
CORECLR! WKS::gc_heap::gc1 + 0x228 (0x00007ffc`54718738)
CORECLR! WKS::gc_heap::bgc_thread_function + 0x120 (0x00007ffc`5470e1b0)
CORECLR! WKS::gc_heap::bgc_thread_stub + 0x34 (0x00007ffc`5470e424)
CORECLR! <lambda_f319653accc5ba61116de1785b12a87e>::<lambda_invoker_cdecl> + 0xA8 (0x00007ffc`5476ff28)
KERNEL32! BaseThreadInitThunk + 0x34 (0x00007ffc`8280cbc4)
NTDLL! RtlUserThreadStart + 0x44 (0x00007ffc`8406b154)
-----
.AV on tid=0x3a34 (14900), cxr=0000006CD947F1B0, exr=0000006CD947F540
FAILED: false
CORECLR! CHECK::Trigger + 0x2D0 (0x00007ffc`5442a9e8)
CORECLR! CLRVectoredExceptionHandlerPhase3 + 0x278 (0x00007ffc`54452590)
CORECLR! CLRVectoredExceptionHandlerPhase2 + 0x64 (0x00007ffc`54452124)
CORECLR! CLRVectoredExceptionHandler + 0x168 (0x00007ffc`54452098)
CORECLR! CLRVectoredExceptionHandlerShim + 0x1C4 (0x00007ffc`54452864)
NTDLL! RtlGetSaclSecurityDescriptor + 0x180 (0x00007ffc`8406ccb0)
NTDLL! LdrControlFlowGuardEnforced + 0x794 (0x00007ffc`8402cdc4)
NTDLL! KiUserExceptionDispatcher + 0x24 (0x00007ffc`84003424)
CORECLR! WKS::gc_heap::background_sweep + 0x668 (0x00007ffc`5470d1e0)
CORECLR! WKS::gc_heap::gc1 + 0x228 (0x00007ffc`54718738)
File: F:\workspace\_work\1\s\src\coreclr\src\vm\excep.cpp Line: 7494
Image: C:\h\w\BD590A95\p\CoreRun.exe
Return code: 1
Raw output file: C:\h\w\BD590A95\w\AFCC09CA\e\CoreMangLib\system\Reports\CoreMangLib.system\reflection\emit\DynMethodJumpStubTests\DynMethodJumpStubTests\DynMethodJumpStubTests.output.txt
Raw output:
BEGIN EXECUTION
"C:\h\w\BD590A95\p\corerun.exe" DynMethodJumpStubTests.dll
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=C:\h\w\BD590A95\p
> C:\h\w\BD590A95\w\AFCC09CA\e\CoreMangLib\system\reflection\emit\DynMethodJumpStubTests\DynMethodJumpStubTests\DynMethodJumpStubTests.cmd
Also seen in:
Loader\binding\tracing\BinderTracingTest.ResolutionFlow\BinderTracingTest.ResolutionFlow.cmd
JIT\\Performance\\CodeQuality\\Serialization\\Deserialize\\Deserialize.cmd
Loader\\classloader\\TypeGeneratorTests\\TypeGeneratorTest498\\Generated498\\Generated498.cmd
Loader\\classloader\\TypeGeneratorTests\\TypeGeneratorTest616\\Generated616\\Generated616.cmd
Activity
BruceForstall commentedon Jun 28, 2020
Also seen in the Windows arm64 GCStress=C run at the same link, in:
BruceForstall commentedon Jun 28, 2020
There are lots more of these failures, in additional tests, in the Windows arm64 legs of this pipeline run:
https://dev.azure.com/dnceng/public/_build/results?buildId=707897&view=ms.vss-test-web.build-test-results-tab&runId=21931994&resultId=105873&paneView=debug
Maoni0 commentedon Jun 29, 2020
how can we see when this started to fail?
BruceForstall commentedon Jun 29, 2020
I just enabled GCStress for Windows arm64 in the CI, so we don't have any history. The fact that it wasn't enabled before was a combination of lack of hardware and, more recently, an omission that wasn't noticed.
v-haren commentedon Jul 13, 2020
also failed in job: runtime-coreclr gcstress0x3-gcstress0xc 20200712.1
failed tests:
baseservices\threading\interlocked\compareexchange\compareexchangeintptr\compareexchangeintptr.cmd
Loader\classloader\generics\Instantiation\Positive\MultipleInterface14\MultipleInterface14.cmd
profiler\eventpipe\eventpipe\eventpipe.cmd
Regressions\coreclr\GitHub_35000\test35000\test35000.cmd
Loader\classloader\TypeGeneratorTests\TypeGeneratorTest951\Generated951\Generated951.cmd
Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1108\Generated1108\Generated1108.cmd
JIT\Regression\JitBlue\devdiv_911875\DevDiv_911875_r\DevDiv_911875_r.cmd
Error message
BruceForstall commentedon Jul 20, 2020
Note: more cases filed from this weekend: #39617
14 remaining items
echesakov commentedon Jul 30, 2020
It is a pretty reliably repro - takes 10s of iterations to get failed. Sure, I would appreciate any suggestion to get this further.
echesakov commentedon Aug 7, 2020
I believe I just saw these assertions fired on windows-x64
https://helix.dot.net/api/2019-06-17/jobs/45ed0b13-8b9d-4d12-b4ec-1207a37ff8a4/workitems/Interop/console
https://helix.dot.net/api/2019-06-17/jobs/b0d072cd-5260-4e63-b7ce-73063b1c1bba/workitems/JIT.IL_Conformance/console
cc @Maoni0 @PeterSolMS
Note that there are multiple tests failing in each of the test runs
echesakov commentedon Aug 7, 2020
Some of the windows-x64 failures manifests themselves as AV
v-haren commentedon Aug 10, 2020
failed again in job: runtime-coreclr gcstress-extra 20200809.1
failed tests:
Loader\binding\tracing\BinderTracingTest.ResolutionFlow\BinderTracingTest.ResolutionFlow.cmd
Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1438\Generated1438\Generated1438.cmd
ilasm\System\Runtime\CompilerServices\MethodImplOptionsTests\MethodImplOptionsTests.cmd
Error message
mangod9 commentedon Aug 14, 2020
@echesakovMSFT can this particular issue now be closed, or is this tracking other similar failures as well?
echesakov commentedon Aug 14, 2020
@mangod9 As far as I know, there are more failures in GC that manifest themselves as AVs.
We might keep this issue open to track them down, or we can close this one or open another one to specifically track the AV related issues.
mangod9 commentedon Aug 14, 2020
Ok, lets keep this one to track AVs in arm64.
v-haren commentedon Aug 17, 2020
failed again in job: runtime-coreclr gcstress-extra 20200815.2
failed test:
JIT\Directed\intrinsic\pow\pow3_cs_r\pow3_cs_r.cmd
JIT\HardwareIntrinsics\X86\Avx2_Vector128\Avx2_r\Avx2_r.cmd
JIT\Regression\JitBlue\DevDiv_359736\DevDiv_359736_r\DevDiv_359736_r.cmd
JIT\Directed\UnrollLoop\Dev10_846218\Dev10_846218.cmd
JIT\Regression\JitBlue\GitHub_19361\GitHub_19361\GitHub_19361.cmd
JIT\Regression\CLR-x86-JIT\V1-M09.5-PDC\b16896\b16896\b16896.cmd
JIT\Directed\tailcall\tailcall\tailcall.cmd
JIT\Methodical\MDArray\basics\stringarr_cs_r\stringarr_cs_r.cmd
JIT\Directed\forceinlining\Recursion\Recursion.cmd
JIT\HardwareIntrinsics\Arm\AdvSimd\AdvSimd_Part1_ro\AdvSimd_Part1_ro.cmd
Error message
v-haren commentedon Aug 18, 2020
failed again in job: runtime-coreclr gcstress-extra 20200816.1
failed tests:
JIT\Methodical\tailcall\_il_relreference_i\_il_relreference_i.cmd
JIT\Methodical\tailcall\_il_dbgreference_i\_il_dbgreference_i.cmd
JIT\HardwareIntrinsics\Arm\Crc32.Arm64\Crc32.Arm64_ro\Crc32.Arm64_ro.cmd
JIT\Methodical\eh\generics\trycatchnestedtype_r\trycatchnestedtype_r.cmd
JIT\Methodical\eh\basics\throwinfinally_do\throwinfinally_do.cmd
JIT\Methodical\tailcall\_il_relcompat_i2_bool\_il_relcompat_i2_bool.cmd
JIT\Methodical\explicit\basic\_il_relrefarg_c\_il_relrefarg_c.cmd
JIT\Regression\JitBlue\DevDiv_359737\DevDiv_359737\DevDiv_359737.cmd
JIT\Directed\cmov\Int_Or_Op_cs_r\Int_Or_Op_cs_r.cmd
JIT\Methodical\eh\nested\nonlocalexit\throwinfinallynestedintry_30_d\throwinfinallynestedintry_30_d.cmd
JIT\Directed\coverage\importer\ceeillegal\ceeillegal.cmd
CoreMangLib\system\delegate\delegate\DelegateEquals1\DelegateEquals1.cmd
Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1102\Generated1102\Generated1102.cmd
JIT\Methodical\cctor\simple\prefldinit4_il_d\prefldinit4_il_d.cmd
Loader\classloader\TypeGeneratorTests\TypeGeneratorTest70\Generated70\Generated70.cmd
JIT\Methodical\eh\generics\throwincatch_ro\throwincatch_ro.cmd
Loader\classloader\TypeGeneratorTests\TypeGeneratorTest974\Generated974\Generated974.cmd
Loader\classloader\TypeGeneratorTests\TypeGeneratorTest1344\Generated1344\Generated1344.cmd
JIT\HardwareIntrinsics\Arm\AdvSimd\AdvSimd_Part11_r\AdvSimd_Part11_r.cmd
Interop\PInvoke\Array\MarshalArrayAsField\AsByValArray\AsByValArrayTest\AsByValArrayTest.cmd
Error message
echesakov commentedon Aug 22, 2020
@PeterSolMS closed this issue in #40983
I verified this by triggering runtime-coreclr gcstress-extra #20200821.1 after his PR got merged. There were no AVs in the test runs.
Among 9 failures in win-arm64 tests - 8 were test timeouts and 1 was actual test failure.
I will open new issues to track these.
PeterSolMS commentedon Aug 24, 2020
Thanks @echesakovMSFT !
BruceForstall commentedon Aug 24, 2020
Thanks @PeterSolMS for the fix!
Our gcstress-extra pipeline is in the best shape it's ever been now. There are still a few Windows arm64 failures -- all or mostly timeouts -- so we'll have to see if there's a pattern or other problem there. But we're in much, much better shape than before!
Maoni0 commentedon Aug 24, 2020
thanks @PeterSolMS! glad it was not a product issue :)