Repository navigation
Closed
Labels
Milestone
Description
Run: runtime-coreclr gcstress-extra 20210502.1
Failed test:
CoreCLR OSX arm64 Checked gcstress0xc_jitminopts_heapverify1 @ OSX.1100.ARM64.Open
-JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part3_r/AdvSimd.Arm64_Part3_r.sh
Error message:
Process terminated. Assertion failed.
at System.Diagnostics.Tracing.EventSource.InitializeProviderMetadata() in System.Private.CoreLib.dll:token 0x6005d49+0x16b
at System.Diagnostics.Tracing.EventSource.Initialize(Guid eventSourceGuid, String eventSourceName, String[] traits) in System.Private.CoreLib.dll:token 0x6005d11+0x6a
at System.Diagnostics.Tracing.EventSource..ctor(Guid eventSourceGuid, String eventSourceName, EventSourceSettings settings, String[] traits) in System.Private.CoreLib.dll:token 0x6005d10+0x2f
at System.Diagnostics.Tracing.EventSource..ctor(Guid eventSourceGuid, String eventSourceName) in System.Private.CoreLib.dll:token 0x6005d0f+0x0
at System.Buffers.ArrayPoolEventSource..ctor() in System.Private.CoreLib.dll:token 0x6002556+0x2b
at System.Buffers.ArrayPoolEventSource..cctor() in System.Private.CoreLib.dll:token 0x6002558+0x0
at System.Buffers.TlsOverPerCoreLockedStacksArrayPool`1.Rent(Int32 minimumLength) in System.Private.CoreLib.dll:token 0x6002586+0x18
at Interop.Sys.ReadLink(String path) in System.Private.CoreLib.dll:token 0x6000086+0x6
at System.TimeZoneInfo.FindTimeZoneIdUsingReadLink(String tzFilePath) in System.Private.CoreLib.dll:token 0x60019d8+0x2
at System.TimeZoneInfo.TryLoadTzFile(String tzFilePath, Byte[]& rawData, String& id) in System.Private.CoreLib.dll:token 0x60019d7+0x19
at System.TimeZoneInfo.TryGetLocalTzFile(Byte[]& rawData, String& id) in System.Private.CoreLib.dll:token 0x60019d5+0xf
at System.TimeZoneInfo.GetLocalTimeZoneFromTzFile() in System.Private.CoreLib.dll:token 0x60019dd+0x0
at System.TimeZoneInfo.GetLocalTimeZone(CachedData cachedData) in System.Private.CoreLib.dll:token 0x60019d2+0xb
at System.TimeZoneInfo.CachedData.CreateLocal() in System.Private.CoreLib.dll:token 0x6001a19+0x18
at System.TimeZoneInfo.CachedData.get_Local() in System.Private.CoreLib.dll:token 0x6001a1a+0xc
at System.TimeZoneInfo.get_Local() in System.Private.CoreLib.dll:token 0x60019a2+0x0
at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc(DateTime time, Boolean& isAmbiguousLocalDst) in System.Private.CoreLib.dll:token 0x60019e1+0x0
at System.DateTime.get_Now() in System.Private.CoreLib.dll:token 0x6000cb8+0x6
at TestLibrary.TestFramework.BeginTestCase(String title) in TestLibrary.dll:token 0x6000075+0x53
at JIT.HardwareIntrinsics.Arm.Program.Main(String[] args) in AdvSimd.Arm64_Part3_r.dll:token 0x6000066+0x20
task_for_pid(875) FAILED 5 (os/kern) failure
/private/tmp/helix/working/A836095C/w/ADCC0966/e/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part3_r/AdvSimd.Arm64_Part3_r.sh: line 377: 875 Abort trap: 6 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
Return code: 1
Raw output file: /private/tmp/helix/working/A836095C/w/ADCC0966/e/JIT/HardwareIntrinsics/Reports/JIT.HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part3_r/AdvSimd.Arm64_Part3_r.output.txt
Raw output:
BEGIN EXECUTION
/tmp/helix/working/A836095C/p/corerun AdvSimd.Arm64_Part3_r.dll ''
Supported ISAs:
AdvSimd: True
Aes: False
ArmBase: True
Crc32: True
Dp: False
Rdm: False
Sha1: False
Sha256: False
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/tmp/helix/working/A836095C/p
> /private/tmp/helix/working/A836095C/w/ADCC0966/e/JIT/HardwareIntrinsics/Arm/AdvSimd.Arm64/AdvSimd.Arm64_Part3_r/AdvSimd.Arm64_Part3_r.sh
Expected: True
Actual: False
Stack trace
at JIT_HardwareIntrinsics._Arm_AdvSimd_Arm64_AdvSimd_Arm64_Part3_r_AdvSimd_Arm64_Part3_r_._Arm_AdvSimd_Arm64_AdvSimd_Arm64_Part3_r_AdvSimd_Arm64_Part3_r_sh()
Activity
VincentBu commentedon May 6, 2021
Historical failures of this test:
BruceForstall commentedon May 6, 2021
@sdmaclea OSX arm64 gcstress failure
josalem commentedon May 10, 2021
This looks to be the assert that is failing (it's the only assert in the method at the top of the stack short of any inlining):
runtime/src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/TraceLogging/TraceLoggingEventSource.cs
Lines 844 to 850 in 01b7e73
CC @benaadams @sywhang
benaadams commentedon May 10, 2021
Suggests
ArrayPoolEventSourcereflection generated providerMetadata doesn't agree with its source generated providerMetadata in some way. Assume that's not aDesignTimeBuildwhich disables the source generator #50741; as the project probably wouldn't compile either.benaadams commentedon May 11, 2021
e.g. it should either be failing in Debug for everything or its an issue with
SequenceEqualorEncoding.UTF8.GetBytesis producing different outputs between build and runtime?josalem commentedon May 11, 2021
I spot checked the other failures, and those appear to be crossgen failures:
I'm inclined to believe those are unrelated to the assert failure in the most recent report, though.
CC @mangod9
josalem commentedon May 11, 2021
Of the failures listed, the most recent seems to be the only one that has the assert failing. For what it's worth, it's from a GCStress0xc run on AppSi for hardware intrinsics. It is quite possible that the assert is due to an issue deeper down as you're imply.
sdmaclea commentedon May 11, 2021
I would guess this is the common Apple Silicon instability we are experiencing. Typical symptom is this NullReferenceException.
noahfalk commentedon Jul 21, 2021
@janvorli - since @sdmaclea has left are you the main one investigating Apple Silicon issues? Based on discussion above it appears this issue is unlikely a bug in the EventSource library. I'm going to move it to 7.0 for now and you can feel free to move it wherever else it should go or send it back if I've got it wrong : )
janvorli commentedon Jul 21, 2021
@noahfalk, this is most likely yet another dup of a known spurious null reference issue, closing it as dup of #51250