Skip to content

Test failure: Interop/COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.cmd #113509

Open
@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr gcstress-extra 20250312.1

Failed tests:

coreclr linux arm Checked gcstress0xc_tailcallstress @ (Debian.12.Arm32.Open)Ubuntu.2204.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
    - Interop/COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.cmd
coreclr linux arm Checked gcstress0xc_disabler2r_heapverify1 @ (Debian.12.Arm32.Open)Ubuntu.2204.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd

Error message:

 Unhandled exception. System.Exception: TrackerObject should be disconnected prior to finalization
   at ComWrappersTests.Common.ITrackerObjectWrapper.Finalize()
   at System.GC.RunFinalizers()
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/Interop/Interop/../COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/ComWrappersTestsBuiltInComDisabled.sh: line 463:    95 Aborted                 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/COM/ComWrappers/API/ComWrappersTestsBuiltInComDisabled/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Runtime.InteropServices.BuiltInComInterop.IsSupported=false -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true ComWrappersTestsBuiltInComDisabled.dll ''
Running ValidateComInterfaceCreation...
Running ValidateComInterfaceCreationRoundTrip...
Running ValidateComInterfaceUnwrapWrapperSpecific...
Running ValidateComObjectExtendsManagedLifetime...
Running ValidateCreatingAComInterfaceForObjectAfterTheFirstIsFree...
Running ValidateResurrection...
Running ValidateFallbackQueryInterface...
Running ValidateCreateObjectCachingScenario...
[createdump] Gathering state for process 95 corerun
[createdump] Crashing thread 0064 signal 6 (0006)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.95.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.95.dmp
[createdump] Written 70664192 bytes (17252 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 97ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 3/13/2025 6:13:36 AM
Processing /home/helixbot/dotnetbuild/dumps/coredump.95.dmp.crashreport.json
Printing stacktrace from '/home/helixbot/dotnetbuild/dumps/coredump.95.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:
----------------------------------
Thread Id: 0x5f
      Child SP               IP Call Site
 0xffa0e748 0xebb57654 libc.so.6!
 0xffa0e750 0xebb93502 libc.so.6!
 0xffa0e788 0xebb935e0 libc.so.6!
 0xffa0e798 0xebb9578e libc.so.6!pthread_cond_wait
 0xffa0e818 0xeba4b170 libcoreclr.so!CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:486:17
 0xffa0e878 0xeba4a892 libcoreclr.so!CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:0:0
 0xffa0e8c8 0xeba501de libcoreclr.so!CorUnix::InternalWaitForMultipleObjectsEx(CorUnix::CPalThread*, unsigned int, void* const*, int, unsigned int, int, int) at /__w/1/s/src/coreclr/pal/src/synchmgr/wait.cpp:646:13
 0xffa0e9a8 0xeba50a24 libcoreclr.so!WaitForMultipleObjectsEx at /__w/1/s/src/coreclr/pal/src/synchmgr/wait.cpp:204:5
 0xffa0e9f0 0xeb718138 libcoreclr.so!Thread::DoAppropriateWaitWorker(int, void**, int, unsigned int, WaitMode, void*) at /__w/1/s/src/coreclr/vm/threads.cpp:0:12
 0xffa0ea80 0xeb712b92 libcoreclr.so!Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode, PendingSync*)::$_0::operator()(Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode, PendingSync*)::__EEParam*) const at /__w/1/s/src/coreclr/vm/threads.cpp:3015:23
 (inlined by) Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode, PendingSync*) at /__w/1/s/src/coreclr/vm/threads.cpp:3030:5
 0xffa0eaf8 0xeb817c64 libcoreclr.so!CLREventBase::WaitEx(unsigned int, WaitMode, PendingSync*

Stack trace:

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions