Skip to content

[x86/arm32] _exceptionstacktrace::Program.DynamicMethodsWithRethrow fails with unexpected System.Runtime.ExceptionServices.InternalCalls.<RhpSfiNext>g____PInvoke|1_0 in stack trace #120436

@jakobbotsch

Description

@jakobbotsch

This failure is from gcstress-extra and also has jitstress on, so inlining may be different from normal.

Pipeline run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1166121&view=results
Test failure: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1166121&view=ms.vss-test-web.build-test-results-tab&runId=32262426&resultId=169602&paneView=debug
Console log: https://helixr1107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-heads-main-1a00bbf163f44f5487/baseservices-exceptions.0.1/1/console.19b8a2e4.log?helixlogtype=result

C:\h\w\AE400980\w\B1A90A10\e>type C:\h\w\AE400980\w\B1A90A10\u\SetStressModes_gcstress0xc_disabler2r_jitstress2.cmd 
set DOTNET_TieredCompilation=0
set DOTNET_GCStress=0xC
set DOTNET_JitStress=2
set DOTNET_ReadyToRun=0
...
22:44:00.907 Running test: _exceptionstacktrace::Program.DynamicMethodsWithRethrow()
System.Exception: My exception
   at Program.ThrowHelper()
   at MyMethod4()
   at System.Runtime.ExceptionServices.InternalCalls.<RhpSfiNext>g____PInvoke|1_0(StackFrameIterator* __pThis_native, UInt32* __uExCollideClauseIdx_native, Boolean* __fUnwoundReversePInvoke_native, Boolean* __fIsExceptionIntercepted_native)
   at Program.AppendDynamicFrame()
   at Program.ThrowHelper()
   at MyMethod3()
   at System.Runtime.ExceptionServices.InternalCalls.<RhpSfiNext>g____PInvoke|1_0(StackFrameIterator* __pThis_native, UInt32* __uExCollideClauseIdx_native, Boolean* __fUnwoundReversePInvoke_native, Boolean* __fIsExceptionIntercepted_native)
   at Program.AppendDynamicFrame()
   at Program.ThrowHelper()
   at MyMethod2()
   at System.Runtime.ExceptionServices.InternalCalls.<RhpSfiNext>g____PInvoke|1_0(StackFrameIterator* __pThis_native, UInt32* __uExCollideClauseIdx_native, Boolean* __fUnwoundReversePInvoke_native, Boolean* __fIsExceptionIntercepted_native)
   at Program.AppendDynamicFrame()
   at Program.ThrowHelper()
   at MyMethod1()
   at System.Runtime.ExceptionServices.InternalCalls.<RhpSfiNext>g____PInvoke|1_0(StackFrameIterator* __pThis_native, UInt32* __uExCollideClauseIdx_native, Boolean* __fUnwoundReversePInvoke_native, Boolean* __fIsExceptionIntercepted_native)
   at Program.AppendDynamicFrame()
   at Program.ThrowHelper()
   at MyMethod0()
   at System.Runtime.ExceptionServices.InternalCalls.<RhpSfiNext>g____PInvoke|1_0(StackFrameIterator* __pThis_native, UInt32* __uExCollideClauseIdx_native, Boolean* __fUnwoundReversePInvoke_native, Boolean* __fIsExceptionIntercepted_native)
   at Program.AppendDynamicFrame()
   at Program.ThrowHelper()
   at Program.DynamicMethodsWithRethrow()
Xunit.Sdk.EqualException: Assert.Equal() Failure: Values differ
Expected: 17
Actual:   22
   at Xunit.Assert.Equal[T](T expected, T actual, IEqualityComparer`1 comparer) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 174
   at Xunit.Assert.Equal[T](T expected, T actual) in /_/src/arcade/src/Microsoft.DotNet.XUnitAssert/src/EqualityAsserts.cs:line 96
   at Program.VerifyStackTrace(Exception e, String[] templateStackTrace)
   at Program.DynamicMethodsWithRethrow()
   at Program.<<Main>$>g__TestExecutor15|0_16(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
22:44:08.989 Failed test: _exceptionstacktrace::Program.DynamicMethodsWithRethrow()

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions