Skip to content

Test failure: Loader/ExternalAssemblyProbe/ExternalAssemblyProbe/ExternalAssemblyProbe.cmd #113117

Open
@v-wenyuxu

Description

@v-wenyuxu

Failed in: runtime-coreclr outerloop 20250303.6

Failed tests:

R2R-CG2 windows arm64 Checked no_tiered_compilation @ Windows.11.Arm64.Open
    - Loader/ExternalAssemblyProbe/ExternalAssemblyProbe/ExternalAssemblyProbe.cmd

Error message:

 
Assert failure(PID 15412 [0x00003c34], Thread: 16160 [0x3f20]): The 'LastThrownObject' should not be, but is, NULL.
The runtime may have lost track of the type of an exception in flight.
Please get a good stack trace, find the caller of Validate, and file a bug against the owner.

To suppress this assert 'set DOTNET_SuppressLostExceptionTypeAssert=1'

CORECLR! CLRLastThrownObjectException::Validate + 0x200 (0x00007fff`3d8730b0)
CORECLR! `AppDomain::LoadAssembly'::`1'::catch$17 + 0x9C (0x00007fff`3dc77798)
CORECLR! CallSettingFrame + 0x68 (0x00007fff`3d6f26a0)
CORECLR! _FrameHandler3::CxxCallCatchBlock + 0x1C0 (0x00007fff`3dbee090)
<no module>! <no symbol> + 0x0 (0x3a177fff`6f923168)
    File: D:�_work1ssrccoreclr�mclrex.cpp:2147
    Image: C:hwA0BA0910pcorerun.exe


Return code:      1
Raw output file:      C:hwA0BA0910w9E340975uploadsExternalAssemblyProbeExternalAssemblyProbeoutput.txt
Raw output:
BEGIN EXECUTION
ExternalAssemblyProbe.dll
        1 file(s) copied.
 3:07:53.50
Response file: C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeExternalAssemblyProbe.dll.rsp
C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeIL-CG2ExternalAssemblyProbe.dll
-o:C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeExternalAssemblyProbe.dll
--targetarch:arm64
--targetos:windows
--verify-type-and-field-layout
--method-layout:random
-r:C:hwA0BA0910pSystem.*.dll
-r:C:hwA0BA0910pMicrosoft.*.dll
-r:C:hwA0BA0910p\xunit.*.dll
-r:C:hwA0BA0910pmscorlib.dll
-r:C:hwA0BA0910p
etstandard.dll
"Running CrossGen2:  "C:hwA0BA0910pcrossgen2crossgen2.exe" @"C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeExternalAssemblyProbe.dll.rsp"   -r:C:hwA0BA0910w9E340975eLoaderLoaderIL-CG2*.dll  -r:C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeIL-CG2*.dll"
Emitting R2R PE file: C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeExternalAssemblyProbe.dll
"Running R2RDump:  "dotnet" "C:hwA0BA0910p
2rdump
2rdump.dll" --header --sc --in C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeExternalAssemblyProbe.dll --out C:hwA0BA0910w9E340975eLoaderExternalAssemblyProbeExternalAssemblyProbeExternalAssemblyProbe.dll.r2rdump --val"
 3:07:54.16
 "C:hwA0BA0910pcorerun.exe" -p "System.Reflection.Metadata.MetadataUpdater.IsSupported=false" -p "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true"  ExternalAssemblyProbe.dll 
Expected: 100
Actual: -1073740286
END EXECUTION - FAILED
FAILED
Test failed. Trying to see if dump file was created in C:cores since 3/4/2025 3:07:53 AM
Processing C:corescorerun.exe.15412.dmp
Unable to find cdb.exe at C:Program Files (x86)Windows Kits10Debuggers�rm64cdb.exe
Test Harness Exitcode is : 1
To run the test:
Set up CORE_ROOT and run.
> C:hwA0BA0910w9E340975eLoaderLoader../ExternalAssemblyProbe/ExternalAssemblyProbe/ExternalAssemblyProbe.cmd

Stack trace:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions