Skip to content

Test failure: Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd #115460

@SakeTao

Description

@SakeTao

Failed in: runtime-coreclr r2r-extra 20250510.1

Failed tests:

R2R-CG2 windows x64 Checked gcstress0xc @ Windows.10.Amd64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd
R2R-CG2 windows x86 Checked gcstress0xc @ Windows.10.Amd64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd
R2R-CG2 windows arm64 Checked gcstress0xc @ Windows.11.Arm64.Open
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd

Error message:

 
Assert failure(PID 6160 [0x00001810], Thread: 9796 [0x2644]): ThreadStore::HoldingThreadStore()

CORECLR! ThreadSuspend::SuspendAllThreads + 0x191 (0x00007ffe`b3728861)
CORECLR! ThreadSuspend::SuspendEE + 0x488 (0x00007ffe`b3728ea8)
CORECLR! GCToEEInterface::SuspendEE + 0x48 (0x00007ffe`b3598b58)
CORECLR! WKS::GCHeap::GarbageCollectGeneration + 0x315 (0x00007ffe`b389e195)
CORECLR! WKS::GCHeap::StressHeap + 0x6B5 (0x00007ffe`b38a1985)
CORECLR! MethodDesc::DoPrestub + 0x4FF (0x00007ffe`b3427f3f)
CORECLR! PreStubWorker_Preemptive + 0x1E1 (0x00007ffe`b342e911)
CORECLR! PreStubWorker + 0x5CA (0x00007ffe`b34323ba)
CORECLR! ThePreStub + 0x55 (0x00007ffe`b38dd665)
MOCKREFERENCETRACKERRUNTIME! WrapQueryInterface + 0x57C6A (0x00007ffe`aeadc8fa)
    File: D:�_work1ssrccoreclr�m	hreadsuspend.cpp:2480
    Image: C:hwAAFD0970pcorerun.exe


Return code:      1
Raw output file:      C:hwAAFD0970wB64609BAuploadsCOMComWrappersAPIComWrappersTestsoutput.txt
Raw output:
BEGIN EXECUTION
ComWrappersTests.dll
MockReferenceTrackerRuntime.dll
TestLibrary.dll
        3 file(s) copied.
 4:24:05.11
Response file: C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.rsp
C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsIL-CG2ComWrappersTests.dll
-O
-o:C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwAAFD0970pSystem.*.dll
-r:C:hwAAFD0970pMicrosoft.*.dll
-r:C:hwAAFD0970p\xunit.*.dll
-r:C:hwAAFD0970pmscorlib.dll
-r:C:hwAAFD0970p
etstandard.dll
"Running CrossGen2:  "C:hwAAFD0970pcrossgen2crossgen2.exe" @"C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.rsp"   -r:C:hwAAFD0970wB64609BAeInteropInteropIL-CG2*.dll  -r:C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
Emitting R2R PE file: C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll
"Running R2RDump:  "dotnet" "C:hwAAFD0970p
2rdump
2rdump.dll" --header --sc --in C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll --out C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsComWrappersTests.dll.r2rdump --val"
 4:24:05.73
 4:24:05.73
Response file: C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll.rsp
C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsIL-CG2MockReferenceTrackerRuntime.dll
-O
-o:C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwAAFD0970pSystem.*.dll
-r:C:hwAAFD0970pMicrosoft.*.dll
-r:C:hwAAFD0970p\xunit.*.dll
-r:C:hwAAFD0970pmscorlib.dll
-r:C:hwAAFD0970p
etstandard.dll
"Running CrossGen2:  "C:hwAAFD0970pcrossgen2crossgen2.exe" @"C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsMockReferenceTrackerRuntime.dll.rsp"   -r:C:hwAAFD0970wB64609BAeInteropInteropIL-CG2*.dll  -r:C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
No input files are loadable
 4:24:05.77
 4:24:05.78
Response file: C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.rsp
C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsIL-CG2TestLibrary.dll
-O
-o:C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll
--targetarch:x64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwAAFD0970pSystem.*.dll
-r:C:hwAAFD0970pMicrosoft.*.dll
-r:C:hwAAFD0970p\xunit.*.dll
-r:C:hwAAFD0970pmscorlib.dll
-r:C:hwAAFD0970p
etstandard.dll
"Running CrossGen2:  "C:hwAAFD0970pcrossgen2crossgen2.exe" @"C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsTestLibrary.dll.rsp"   -r:C:hwAAFD0970wB64609BAeInteropInteropIL-CG2*.dll  -r:C:hwAAFD0970wB64609BAeInteropCOMComWrappersAPIComWrappersTestsIL-CG2*.dll"
Emitting R2R PE file: C:hwAAFD097

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor203|25_204(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions