Eric Steiner Posted September 26, 2021 at 05:08 AM Posted September 26, 2021 at 05:08 AM Good Evening When monitoring a student, i have noticed when i add the frequency to AVF and TX/RX, if 2 airplanes call up at the same time i get the attached unhandled exception. This is a common problem when trying to monitor students with many of our mentors and instructors. Any help is apricated! See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.AggregateException: One or more errors occurred. ---> System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at NAudio.Utils.CircularBuffer..ctor(Int32 size) at NAudio.Wave.BufferedWaveProvider.AddSamples(Byte[] buffer, Int32 offset, Int32 count) at GeoVR.Client.CallsignSampleProvider.AddSilentSamples(IAudioDto audioDto) at GeoVR.Client.ReceiverSampleProvider.AddSilentSamples(IAudioDto audioDto, UInt32 frequency, Single distanceRatio) at GeoVR.Client.SoundcardSampleProvider.AddOpusSamples(IAudioDto audioDto, List`1 rxTransceivers) at GeoVR.Client.UserClient.TaskAudioPlayback(Logger logger, CancellationToken cancelToken, BlockingCollection`1 queue) at GeoVR.Client.UserClient.<Start>b__43_0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken) at GeoVR.Client.UserClient.Stop() at GeoVR.VATSIM.VATSIMClient.WinForms.MainForm.Disconnect() at GeoVR.VATSIM.VATSIMClient.WinForms.MainForm.btnConnect_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ---> (Inner Exception #0) System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at NAudio.Utils.CircularBuffer..ctor(Int32 size) at NAudio.Wave.BufferedWaveProvider.AddSamples(Byte[] buffer, Int32 offset, Int32 count) at GeoVR.Client.CallsignSampleProvider.AddSilentSamples(IAudioDto audioDto) at GeoVR.Client.ReceiverSampleProvider.AddSilentSamples(IAudioDto audioDto, UInt32 frequency, Single distanceRatio) at GeoVR.Client.SoundcardSampleProvider.AddOpusSamples(IAudioDto audioDto, List`1 rxTransceivers) at GeoVR.Client.UserClient.TaskAudioPlayback(Logger logger, CancellationToken cancelToken, BlockingCollection`1 queue) at GeoVR.Client.UserClient.<Start>b__43_0() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()<--- ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- AudioForVATSIM Assembly Version: 1.8.1.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.8.4360.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Ninject Assembly Version: 3.3.4.0 Win32 Version: 3.3.4.0 CodeBase: file:///C:/AudioForVATSIM/Ninject.DLL ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- Ninject.Extensions.Factory Assembly Version: 3.3.2.0 Win32 Version: 3.3.2.0 CodeBase: file:///C:/AudioForVATSIM/Ninject.Extensions.Factory.DLL ---------------------------------------- Castle.Core Assembly Version: 4.0.0.0 Win32 Version: 4.4.0 CodeBase: file:///C:/AudioForVATSIM/Castle.Core.DLL ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- GeoVR.Client Assembly Version: 1.1.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.DLL ---------------------------------------- DynamicProxyGenAssembly2 Assembly Version: 0.0.0.0 Win32 Version: 4.4.0 CodeBase: file:///C:/AudioForVATSIM/Castle.Core.dll ---------------------------------------- Anonymously Hosted DynamicMethods Assembly Assembly Version: 0.0.0.0 Win32 Version: 4.8.4400.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll ---------------------------------------- Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll ---------------------------------------- MetroFramework Assembly Version: 1.2.0.3 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- GeoVR.Shared Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/AudioForVATSIM/GeoVR.Shared.DLL ---------------------------------------- netstandard Assembly Version: 2.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/netstandard/v4.0_2.0.0.0__cc7b13ffcd2ddd51/netstandard.dll ---------------------------------------- SharpDX.DirectInput Assembly Version: 4.2.0.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- SharpDX Assembly Version: 4.2.0.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- NAudio Assembly Version: 1.9.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- GeoVR.Connection Assembly Version: 1.0.0.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- FSUIPCClient Assembly Version: 3.1.11.313 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- NLog Assembly Version: 4.0.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.ServiceModel Assembly Version: 4.0.0.0 Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll ---------------------------------------- System.Runtime.Serialization Assembly Version: 4.0.0.0 Win32 Version: 4.8.4250.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll ---------------------------------------- Concentus Assembly Version: 1.1.6.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- System.Runtime Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll ---------------------------------------- System.Runtime.Extensions Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll ---------------------------------------- StreamDeckSharp Assembly Version: 0.1.10.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- PresentationCore Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll ---------------------------------------- WindowsBase Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll ---------------------------------------- Newtonsoft.Json Assembly Version: 12.0.0.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll ---------------------------------------- AutoUpdater.NET Assembly Version: 1.4.11.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- MetroFramework.Fonts Assembly Version: 1.2.0.3 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- RestSharp Assembly Version: 106.6.10.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- System.IdentityModel.Tokens.Jwt Assembly Version: 5.6.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- Microsoft.IdentityModel.Tokens Assembly Version: 5.6.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- System.Web Assembly Version: 4.0.0.0 Win32 Version: 4.8.4330.0 built by: NET48REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll ---------------------------------------- Microsoft.IdentityModel.Logging Assembly Version: 5.6.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- Microsoft.IdentityModel.JsonWebTokens Assembly Version: 5.6.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- MessagePack.CryptoDto Assembly Version: 1.0.0.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- MessagePack.Annotations Assembly Version: 2.1.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- System.Runtime.InteropServices.RuntimeInformation Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.InteropServices.RuntimeInformation/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.InteropServices.RuntimeInformation.dll ---------------------------------------- System.Memory Assembly Version: 4.0.1.1 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- System.Memory Assembly Version: 4.0.1.1 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- System.Runtime.CompilerServices.Unsafe Assembly Version: 4.0.6.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- MessagePack Assembly Version: 2.1.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- PresentationFramework Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll ---------------------------------------- System.Xaml Assembly Version: 4.0.0.0 Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll ---------------------------------------- PresentationFramework.Aero2 Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 built by: NET48REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll ---------------------------------------- System.Reflection.Emit Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Emit/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Emit.dll ---------------------------------------- MessagePack.Resolvers.DynamicEnumResolver Assembly Version: 0.0.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- MessagePack.Resolvers.DynamicUnionResolver Assembly Version: 0.0.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- MessagePack.Resolvers.DynamicObjectResolver Assembly Version: 0.0.0.0 Win32 Version: CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll ---------------------------------------- System.Buffers Assembly Version: 4.0.3.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- System.ValueTuple Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ValueTuple/v4.0_4.0.0.0__cc7b13ffcd2ddd51/System.ValueTuple.dll ---------------------------------------- System.Reflection.Emit.ILGeneration Assembly Version: 4.0.0.0 Win32 Version: 4.8.4084.0 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Reflection.Emit.ILGeneration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Reflection.Emit.ILGeneration.dll ---------------------------------------- NaCl.Core Assembly Version: 1.2.0.0 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- XPlaneConnector Assembly Version: 1.1.6673.28421 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- InputBox Assembly Version: 1.0.0.1 Win32 Version: 1.8.1.0 CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Very Respectfully, Eric Steiner VATSIM Pilot Training Department Leadership VATSIM Supervisor Link to comment Share on other sites More sharing options...
Nestor Perez Posted September 26, 2021 at 10:17 AM Posted September 26, 2021 at 10:17 AM Could you please provide your system’s details together with a list of all other running programs you had at the time? Cheers, Me. Link to comment Share on other sites More sharing options...
Eric Steiner Posted September 26, 2021 at 11:08 AM Author Posted September 26, 2021 at 11:08 AM 43 minutes ago, Nestor Perez said: Could you please provide your system’s details together with a list of all other running programs you had at the time? Cheers, Nestor!!!!! i have the following Specs: Intel i7-9700k CPU RTX 2060 32GB Ram I had the following programs open: Google Chrome (2 windows hidden) vERAM (6 displays) Discord Team Speak 3 One thing i do want to note, the way our facility is setup is that if you are not the primary controller on AFV (meaning you need to add the frequency using the plus button) it tends to throw this error. Also when i tried to go into event viewer, the program only seemed to throw a local exception and did not throw a windows error. Also nothing is the log file either. i can provide any further documentation and or info if need be. 1 Very Respectfully, Eric Steiner VATSIM Pilot Training Department Leadership VATSIM Supervisor Link to comment Share on other sites More sharing options...
Eric Steiner Posted September 27, 2021 at 08:32 PM Author Posted September 27, 2021 at 08:32 PM On 9/26/2021 at 6:17 AM, Nestor Perez said: Could you please provide your system’s details together with a list of all other running programs you had at the time? Cheers, Any Luck? Very Respectfully, Eric Steiner VATSIM Pilot Training Department Leadership VATSIM Supervisor Link to comment Share on other sites More sharing options...
Eric Steiner Posted September 28, 2021 at 05:34 PM Author Posted September 28, 2021 at 05:34 PM I still need help. Someone please. I want to be able to train my students without having to restart AFV 12 times in an hour..... Very Respectfully, Eric Steiner VATSIM Pilot Training Department Leadership VATSIM Supervisor Link to comment Share on other sites More sharing options...
Eric Steiner Posted January 19, 2022 at 01:02 PM Author Posted January 19, 2022 at 01:02 PM So I still have this issue. This happens to some of my other controllers quite a bit. If anyone is able to help still, please let me know! Very Respectfully, Eric Steiner VATSIM Pilot Training Department Leadership VATSIM Supervisor Link to comment Share on other sites More sharing options...
Recommended Posts