You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Bump System.Threading.Tasks.Extensions to 4.6.0 for .NET Fx.
Expected behavior
All tests are passing
Runtime environment (please complete the following information):
Our CI.
Additional context
Add any other context about the problem here.
Reproduce
Steps to reproduce the behavior:
Bump System.Threading.Tasks.Extensions to 4.6.0 for .NET Fx., execute our CI. Exactly as in #3837
Findings
Event log from ASP.NET docker image. It is failing on trying to export data through OTLP:
PS C:\inetpub\wwwroot> Get-EventLog -LogName Application -EntryType Error -Index 74 | Select -ExpandProperty Message
An unhandled exception occurred and the process was terminated.
Application ID: /LM/W3SVC/1/ROOT
Process ID: 2708
Exception: System.IO.FileLoadException
Message: Loading this assembly would produce a different grant set from other instances. (Exception from HRESULT: 0x80131401)
StackTrace: at OpenTelemetry.Proto.Collector.Trace.V1.ExportTraceServiceRequest..ctor()
at OpenTelemetry.Exporter.OtlpTraceExporter.Export(Batch`1& activityBatch)
at OpenTelemetry.BatchExportProcessor`1.ExporterProc()
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
Result of loaded libraries from ASP.NET application (pre crash). Only system threading extensions is duplicated
Application is not crashing when I add LoaderOptimization with 1 as a value under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework and restart IIS/docker image.
The text was updated successfully, but these errors were encountered:
Bug Report
Symptom
Describe the bug
Bump
System.Threading.Tasks.Extensions
to 4.6.0 for .NET Fx.Expected behavior
All tests are passing
Runtime environment (please complete the following information):
Additional context
Add any other context about the problem here.
Reproduce
Steps to reproduce the behavior:
Bump
System.Threading.Tasks.Extensions
to 4.6.0 for .NET Fx., execute our CI. Exactly as in #3837Findings
Event log from ASP.NET docker image. It is failing on trying to export data through OTLP:
Result of loaded libraries from ASP.NET application (pre crash). Only system threading extensions is duplicated
Application is not crashing when I add
LoaderOptimization
with1
as a value underHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
and restart IIS/docker image.The text was updated successfully, but these errors were encountered: