Raygun causing Stack overflow

MDagley

Posted on
Dec 08 2021

Hi we used to use Raygun some time ago, recently we started getting stack overflow exceptions from our ASP.Net app, when we managed to catch the Stack Track for one of these and sent it to Microsoft they came back with the following See Stack Trace below

the last section at the top repeats over and over again causing the stack overflow, we have now removed references to Raygun from our config but we still seem to be having issues.

can anyone help with why Raygun al be it an inactive version would cause this?

Stack [[GCFrame]] [[HelperMethodFrame]] Raygun.Diagnostics.Settings.getClient()+73 Raygun.Diagnostics.RaygunTraceListener.WriteMessage(Raygun.Diagnostics.Models.MessageContext)+b2 Systemni!System.Diagnostics.TraceInternal.TraceEvent(System.Diagnostics.TraceEventType, Int32, System.String, System.Object[])+1e4 Raygun.Diagnostics.RaygunTraceListener.WriteMessage(Raygun.Diagnostics.Models.MessageContext)+18f [[GCFrame]] [[HelperMethodFrame]] Raygun.Diagnostics.Settings.getClient()+73 Raygun.Diagnostics.RaygunTraceListener.WriteMessage(Raygun.Diagnostics.Models.MessageContext)+b2 Systemni!System.Diagnostics.TraceInternal.TraceEvent(System.Diagnostics.TraceEventType, Int32, System.String, System.Object[])+1e4 Raygun.Diagnostics.RaygunTraceListener.WriteMessage(Raygun.Diagnostics.Models.MessageContext)+18f [[GCFrame]] [[HelperMethodFrame]] Raygun.Diagnostics.Settings.getClient()+73 Raygun.Diagnostics.RaygunTraceListener.WriteMessage(Raygun.Diagnostics.Models.MessageContext)+b2 Systemni!System.Diagnostics.TraceInternal.TraceEvent(System.Diagnostics.TraceEventType, Int32, System.String, System.Object[])+1e4 Raygun.Diagnostics.RaygunTraceListener.WriteMessage(Raygun.Diagnostics.Models.MessageContext)+18f [[GCFrame]] [[GCFrame]] [[HelperMethodFrame]] Raygun.Diagnostics.Settings.getClient()+73 Raygun.Diagnostics.RaygunTraceListener.WriteMessage(Raygun.Diagnostics.Models.MessageContext)+b2 Systemni!System.Diagnostics.TraceInternal.TraceEvent(System.Diagnostics.TraceEventType, Int32, System.String, System.Object[])+157 Microsoft.AspNet.SignalR.WebSockets.WebSocketHandler+<>c+


Deleted User

Raygun

Posted on
Dec 09 2021

Hi MDagley,

Sorry to hear you're running into issues even after you've stopped using Raygun! From the looks of it, Raygun.Diagnostics is a 3rd party package to integrate System.Diagnostics with Raygun: https://github.com/sirkirby/raygun.diagnostics

Perhaps that the readme in that Github link reveals some hints as to how to fully remove the package? I'd make sure the package has been uninstalled from the project, remove any Raygun references from config, and maybe check for occurrences in the code too, e.g the [RaygunDiagnostics] attribute?

Let us know if that helps!

Deacon


Reply