Skip to content

Test failure: baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.cmd #106602

@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr jitstress 20240817.1

Failed tests:

coreclr linux arm64 Checked jitstress2_tiered @ (Ubuntu.2004.Arm64.Open)Ubuntu.2004.Armarch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:ubuntu-20.04-helix-arm64v8
    - baseservices/RuntimeConfiguration/TestConfigTester/TestConfigTester.cmd

Error message:

 
Assert failure(PID 193 [0x000000c1], Thread: 198 [0x00c6]): (n_heaps <= heap_number) || !gc_t_join.joined()
    File: /__w/1/s/src/coreclr/gc/gc.cpp:7003
    Image: /root/helix/work/correlation/corerun

apply_reg_state: ip and cfa unchanged; stopping here (ip=0xffff8373ba58)
apply_reg_state: ip and cfa unchanged; stopping here (ip=0xffff834709f0)
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/RuntimeConfiguration/TestConfigTester/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true TestConfigTester.dll ''
Running: "/root/helix/work/workitem/e/baseservices/RuntimeConfiguration/TestConfigTester/TestConfig.dll" Verify_ServerGC_Env_Enable
    set DOTNET_gcServer=1
[createdump] Gathering state for process 193 corerun
[createdump] Crashing thread 00c6 signal 6 (0006)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.193.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.193.dmp
[createdump] Written 51478528 bytes (12568 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 250ms
System.Exception: Failed: Verify_ServerGC_Env_Enable: exit code = 134
   at TestConfigTester.RunTests()
   at __GeneratedMainWrapper.Main()
Expected: 100
Actual: 101
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 8/18/2024 5:34:04 AM
Processing /home/helixbot/dotnetbuild/dumps/coredump.193.dmp.crashreport.json
Printing stacktrace from '/home/helixbot/dotnetbuild/dumps/coredump.193.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:
----------------------------------
Thread Id: 0xc1
      Child SP               IP Call Site
 0xffffcafa3a60 0xffff838feb08 libc.so.6!memcmp
 0xffffcafa3a60 0xffff83594c3c libcoreclr.so!UnlockedLoaderHeap::UnlockedAllocMem_NoThrow(unsigned long, char const*, int) at /__w/1/s/src/coreclr/utilcode/loaderheap.cpp:1475:17
 0xffffcafa3ae0 0xffff83594ae8 libcoreclr.so!UnlockedLoaderHeap::UnlockedAllocMem(unsigned long, char const*, int) at /__w/1/s/src/coreclr/utilcode/loaderheap.cpp:1380:9
 0xffffcafa3af0 0xffff83159728 libcoreclr.so!BaseHolder<void*, FunctionBase<void*, &(ClrEnterCriticalSection(void*)), &(ClrLeaveCriticalSection(void*))>, 0ul, &(int CompareDefault<void*>(void*, void*))>::Release() at ??:0:0
 (inlined by) BaseHolder<void*, FunctionBase<void*, &(ClrEnterCriticalSection(void*)), &(ClrLeaveCriticalSection(void*))>, 0ul, &(int CompareDefault<void*>(void*, void*))>::~BaseHolder() at ??:256:9
 (inlined by) LoaderHeap::RealAllocMemUnsafe(unsigned long, char const*, int) at ??:618:5
 0xffffcafa3b50 0xffff8317e1d4 libcoreclr.so!EEClass::operator new(unsigned long, LoaderHeap*, AllocMemTracker*) at ??:0:0
 0xffffcafa3bb0 0xffff83384710 libcoreclr.so!MethodTableBuilder::CreateClass(Module*, unsigned int, int, int, int, MethodTableBuilder::bmtGenericsInfo const*, LoaderAllocator*, AllocMemTracker*) at ??:0:0
 0xffffcafa3c70 0xffff833a30c4 libcoreclr.so!ClassLoader::CreateTypeHandleForTypeDefThrowing(Module*, unsigned int, Instantiation, AllocMemTracker*) at ??:0:0
 0xffffcafa5fc0 0xffff83194144 libcoreclr.so!Nullable::IsNullableType(TypeHandle) at ??:0:0
 (inlined by) ClassLoader::CreateTypeHandleForTypeKey(TypeKey const*, AllocMemTracker*) at ??:2685:13
 0xffffcafa60e0 0xffff83193b38 libcoreclr.so!CHECK::EnterAssert() at ??:0:0
 (inlined by) ClassLoader::DoIncrementalLoad(TypeKey const*, TypeHandle, ClassLoadLevel) at ??:2614:17
 0xffffcafa61e0 0xffff831953f8 libcoreclr.so!CHECK::EnterAssert() at ??:0:0
 (inlined by) ClassLoader::LoadTypeHandleForTypeKey_Body(TypeKey const*, TypeHandle, C

Stack trace:

   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor22|0_23(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions