microsoft / ApplicationInsights-dotnet-server

Microsoft Application Insights for .NET Web Applications
https://azure.microsoft.com/services/application-insights/
133 stars 67 forks source link

Deadlock/hang in RequestTrackingTelemetryModule.IsHandlerToFilter #1227

Closed LeMaciek closed 5 years ago

LeMaciek commented 5 years ago

Deadlock/hang in RequestTrackingTelemetryModule.IsHandlerToFilter

Repro Steps

We've just upgraded to ai 2.10 from 2.8 and... On one of the webapplications - a webapi controller (Classic Asp.Mvc) was timing out,after looking into it, i saw this: image and in dumps this: image

This led me to #1211, which might be helpful :) It would be nice of You to release a 2.10.1 with this fix...

Version Info

SDK Version : 2.10 .NET Version : 4.7.2
How Application was onboarded with SDK(VisualStudio/StatusMonitor/Azure Extension) : VisualStudio OS : Windows server 2012 Hosting Info (IIS/Azure WebApps/ etc) : IIS

cijothomas commented 5 years ago

This does not appear to be a regression in 2.10 to release 2.10.1 to address this. From what I can see, this existed for older versions as well. The fix is coming in 2.11.0-beta1 to be released this week.