-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Description
Summary:
System.Net.Http.WinHttpHandler.Functional.Tests crashes with a fatal AccessViolationException (0xC0000005) under jitosr_stress_random on windows-x64. This is a new failure not previously tracked.
Failed in:
Failed tests:
- net11.0-windows-Release-x64-jitosr_stress_random-Windows.10.Amd64.Open
- System.Net.Http.WinHttpHandler.Functional.Tests
Error Message:
Fatal error.
System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
Stack Trace:
at System.Net.Http.Functional.Tests.HttpClientHandler_Proxy_Test.ProxyTunnelRequest_MaxConnectionsSetButDoesNotApplyToProxyConnect_Success()
at System.RuntimeMethodHandle.InvokeMethod(System.Runtime.CompilerServices.ObjectHandleOnStack, Void**, System.Runtime.CompilerServices.ObjectHandleOnStack, BOOL, System.Runtime.CompilerServices.ObjectHandleOnStack)
Analysis:
This is a new failure where System.Net.Http.WinHttpHandler.Functional.Tests crashes with a fatal AccessViolationException (0xC0000005) on windows-x64 under jitosr_stress_random. The AV occurs during WinHttpHandler functional tests, which involve native interop with the Windows WinHTTP library. Under JIT OSR stress with random configuration, miscompiled code at OSR entry points could produce invalid pointers when calling into native WinHTTP APIs, leading to access violations. This is a critical failure as it indicates potential memory safety issues in JIT-compiled code under stress. Investigation should focus on obtaining a crash dump to identify the exact OSR transition point causing the AV.