dotnet / runtime

.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
https://docs.microsoft.com/dotnet/core/
MIT License
15.05k stars 4.69k forks source link

Test Failure: JIT/Methodical/cctor/xassem/xprecise1_cs_do/xprecise1_cs_do.cmd #108375

Open WangyangZhou90 opened 2 days ago

WangyangZhou90 commented 2 days ago

Failed in:runtime-cet 20240925.1 Error message:

05:24:40.400 Running test: JIT/Methodical/cctor/xassem/xprecise1_cs_do/xprecise1_cs_do.cmd

Assert failure(PID 7732 [0x00001e34], Thread: 9652 [0x25b4]): LoaderHeap must return zero-initialized memory

CORECLR! UnlockedLoaderHeap::UnlockedAllocMem_NoThrow + 0x3B2 (0x00007ffabee00242) CORECLR! UnlockedLoaderHeap::UnlockedAllocMem + 0x103 (0x00007ffabedfef53) CORECLR! LoaderHeap::RealAllocMemUnsafe + 0x68 (0x00007ffabe6770e8) CORECLR! MethodTableBuilder::AllocAndInitMethodDescChunk + 0x212 (0x00007ffabeab2762) CORECLR! MethodTableBuilder::AllocAndInitMethodDescs + 0x4B8 (0x00007ffabeab3068) CORECLR! MethodTableBuilder::BuildMethodTableThrowing + 0x13AC (0x00007ffabeab7cec) CORECLR! ClassLoader::CreateTypeHandleForTypeDefThrowing + 0x186F (0x00007ffabeabeabf) CORECLR! ClassLoader::CreateTypeHandleForTypeKey + 0x6E5 (0x00007ffabe713d35) CORECLR! ClassLoader::DoIncrementalLoad + 0x631 (0x00007ffabe715b31) CORECLR! ClassLoader::LoadTypeHandleForTypeKey_Body + 0x1064 (0x00007ffabe722da4) File: D:\a_work\1\s\src\coreclr\utilcode\loaderheap.cpp:1476 Image: C:\h\w\BFB30A25\p\corerun.exe

Return code: 1 Raw output file: C:\h\w\BFB30A25\w\AA2708D2\uploads\cctor\xassem\xprecise1_cs_do\output.txt Raw output: BEGIN EXECUTION "C:\h\w\BFB30A25\p\corerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true" xprecise1_cs_do.dll Expected: 100 Actual: -1073740286 END EXECUTION - FAILED FAILED Test failed. Trying to see if dump file was created in D:\cores since 9/25/2024 5:24:40 AM Test Harness Exitcode is : 1

dotnet-policy-service[bot] commented 2 days ago

Tagging subscribers to this area: @dotnet/gc See info in area-owners.md if you want to be subscribed.

mangod9 commented 1 day ago

just checking that this is a consistent failure in the CET runs?

janvorli commented 1 day ago

@mangod9 I have tried to repro it locally and I was unable to. Even from exactly the same commit as the one the failing test in the CI was run with and with the same DOTNET_ variables settings. The issue doesn't seem to be related to CET based on the call stack.