Skip to content

Test failure: System.Diagnostics.Tests.StackTraceTests.ToString_ShowILOffset #122690

Closed

Description

@SakeTao

Failed in: runtime-coreclr libraries-jitstress2-jitstressregs 20251220.1

Failed tests:

net11.0-windows-Release-x86-jitstress2_jitstressregs1-Windows.10.Amd64.Open
    - System.Diagnostics.Tests.StackTraceTests.ToString_ShowILOffset

Error message:

Microsoft.DotNet.RemoteExecutor.RemoteExecutionException : Half-way through waiting for remote process.
Memory load: 13

Image Name                     PID Services                                    
========================= ======== ============================================
svchost.exe                    768 BrokerInfrastructure, DcomLaunch, LSM,      
                                   PlugPlay, Power, SystemEventsBroker         
svchost.exe                    828 RpcEptMapper, RpcSs                         
svchost.exe                    936 Appinfo, CertPropSvc, DsmSvc, gpsvc,        
                                   iphlpsvc, ProfSvc, sacsvr, Schedule, SENS,  
                                   SessionEnv, ShellHWDetection, Themes,       
                                   UserManager, Winmgmt, wlidsvc, WpnService,  
                                   wuauserv                                    
svchost.exe                    944 TermService                                 
svchost.exe                    996 NcbService, PcaSvc, TrkWks, UmRdpService,   
                                   vmickvpexchange, vmicshutdown               
svchost.exe                    332 Dhcp, EventLog, lmhosts, NgcCtnrSvc,        
                                   TimeBrokerSvc, vmictimesync                 
svchost.exe                    716 vmicheartbeat                               
svchost.exe                   1140 CDPSvc, EventSystem, FontCache, netprofm,   
                                   nsi, RemoteRegistry, W32Time,               
                                   WinHttpAutoProxySvc                         
svchost.exe                   1324 CryptSvc, Dnscache, LanmanWorkstation,      
                                   NlaSvc, WinRM                               
svchost.exe                   1368 BFE, CoreMessagingRegistrar, DPS, MpsSvc,   
                                   pla                                         
svchost.exe                   1376 Wcmsvc                                      
svchost.exe                   1304 AppHostSvc                                  
svchost.exe                   1484 StateRepository, tiledatamodelsvc           
svchost.exe                   1568 DiagTrack                                   
svchost.exe                   2108 W3SVC, WAS                                  
svchost.exe                   2172 LanmanServer                                
svchost.exe                   3452 CDPUserSvc_4f95d, OneSyncSvc_4f95d          
svchost.exe                   3200 AppReadiness                                
svchost.exe                   3292 AppXSvc, ClipSVC                            
svchost.exe                   5692 WerSvc                                      
svchost.exe                   1048 MapsBroker                                  
Timed out at 12/20/2025 10:07:42 AM after 60000ms waiting for remote process.
Wrote mini dump to: C:\h\w\BF0B0A83\w\A9EF0923\uploads\2420.i2jdbr1u.elx.dmp
	Process ID: 2420
	Handle: 1040
	Name: dotnet
	MainModule: C:\h\w\BF0B0A83\p\dotnet.exe
	StartTime: 12/20/2025 10:06:41 AM
	TotalProcessorTime: 00:00:01.3906250
	Threads:
		Thread #1 (OS 0x338) [Finalizer] [Background] 
			[DebuggerU2MCatchHandlerFrame]
		Thread #2 (OS 0x9E8)   [MTA]
			[InlinedCallFrame]
			[InlinedCallFrame]
			System.Runtime.Loader.AssemblyLoadContext.InternalLoad(System.ReadOnlySpan`1<Byte>, System.ReadOnlySpan`1<Byte>)
			System.Reflection.Assembly.Load(Byte[], Byte[])
			System.Diagnostics.Tests.StackTraceTests+<>c.<ToString_ShowILOffset>b__27_1(System.String, System.String, System.String)
			[InlinedCallFrame]
			[InlinedCallFrame]
			System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(System.Object, IntPtr*)
			System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(System.Object, System.Span`1<System.Object>, System.Reflection.BindingFlags)
			System.Reflection.MethodBaseInvoker.InvokeWith

Stack trace:

   at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing) in /_/src/arcade/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs:line 225
   at System.Diagnostics.Tests.StackTraceTests.ToString_ShowILOffset() in /_/src/libraries/System.Diagnostics.StackTrace/tests/StackTraceTests.cs:line 368
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args) in /_/src/coreclr/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.CoreCLR.cs:line 36
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) in /_/src/libraries/System.Private.CoreLib/src/System/Reflection/MethodBaseInvoker.cs:line 57

Activity

  1. added
    JitStress
    blocking-clean-ci-optional
    on Dec 22, 2025
  2. added
    untriaged
    on Dec 22, 2025
  3. added
    needs-area-label
    on Dec 22, 2025
  4. jkotas commented on Dec 22, 2025

    @jkotas
    Member

    Hang in antivirus scan:

    00 0077d204 74596801     ntdll!NtAlpcConnectPort+0xc
    01 0077d254 7458f541     rpcrt4!I_RpcReceive+0x4ae1
    02 0077d2c4 7459a54d     rpcrt4!RpcBindingFree+0x1f91
    03 0077d344 745764eb     rpcrt4!I_RpcReceive+0x882d
    04 0077d800 74575294     rpcrt4!NdrClientCall2+0x8eb
    05 0077d814 71a88da6     rpcrt4!NdrClientCall4+0x14
    06 0077d964 71b15117     MpClient!MpAmsiScan+0x416
    07 0077d994 71b34e27     MpOAV!DllRegisterServer+0x907
    08 0077da60 71b341a1     amsi!AmsiUacScan+0x9e7
    09 0077da9c 73cb5ca2     amsi!AmsiScanBuffer+0xa1
    0a 0077db3c 73db831b     coreclr!Amsi::IsBlockedByAmsiScan+0x1a8 [D:\a\_work\1\s\src\coreclr\vm\amsi.cpp @ 115] 
    0b 0077dbe4 73db9343     coreclr!FlatImageLayout::FlatImageLayout+0x113 [D:\a\_work\1\s\src\coreclr\vm\peimagelayout.cpp @ 791] 
    0c 0077dc6c 73a453f1     coreclr!PEImageLayout::CreateFromByteArray+0xc0 [D:\a\_work\1\s\src\coreclr\vm\peimagelayout.cpp @ 46] 
    0d 0077dd3c 73adf2de     coreclr!PEImage::CreateFromByteArray+0x17e [D:\a\_work\1\s\src\coreclr\vm\peimage.cpp @ 721] 
    0e 0077de4c 72159f04     coreclr!AssemblyNative_LoadFromStream+0x13e [D:\a\_work\1\s\src\coreclr\vm\assemblynative.cpp @ 237] 
    
  5. added
    tracking-external-issue
    and removed
    needs-area-label
    on Dec 22, 2025
  6. jkotas commented on Dec 22, 2025

    @jkotas
    Member

    Windows OS issue. There is not much we can do about this.

  7. removed
    untriaged
    on Dec 22, 2025
  8. locked and limited conversation to collaborators on Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    JitStressarch-x86blocking-clean-ci-optionalos-windowstracking-external-issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions