AFV Client Support

Kyle Sanders

  • Instructors
  • 230
    • View Profile
AFV Client Support
« on: January 25, 2020, 06:12:34 PM »
Tried posting in the support forums on VATSIM.NET but it won't let me make a new topic.

The client crashes when I deselect my RX button and then select it again sometime after.


Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
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__35_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.4075.0 built by: NET48REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
AudioForVATSIM
    Assembly Version: 1.6.32.0
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4042.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.4001.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.3752.0 built by: NET48REL1
    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.4110.0 built by: NET48REL1LAST_B
    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.2.0
    CodeBase: file:///C:/AudioForVATSIM/Castle.Core.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.0 built by: NET48REL1
    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.3752.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.0.0.0
    Win32 Version:
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.DLL
----------------------------------------
DynamicProxyGenAssembly2
    Assembly Version: 0.0.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/AudioForVATSIM/Castle.Core.dll
----------------------------------------
DynamicProxyGenAssembly2
    Assembly Version: 0.0.0.0
    Win32 Version: 4.2.0
    CodeBase: file:///C:/AudioForVATSIM/Castle.Core.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    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.3752.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.3752.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.6.32.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.3752.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.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
SharpDX
    Assembly Version: 4.2.0.0
    Win32 Version: 1.6.32.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.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
FSUIPCClient
    Assembly Version: 3.1.11.313
    Win32 Version: 1.6.32.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.3752.0 built by: NET48REL1
    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.3825.0 built by: NET48REL1LAST_B
    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.3825.0 built by: NET48REL1LAST_B
    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.3752.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.3752.0
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Extensions/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Extensions.dll
----------------------------------------
Newtonsoft.Json
    Assembly Version: 12.0.0.0
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Numerics
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.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.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
MetroFramework.Fonts
    Assembly Version: 1.2.0.3
    Win32 Version: 1.6.32.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.5.0.0
    Win32 Version:
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
Microsoft.IdentityModel.Tokens
    Assembly Version: 5.5.0.0
    Win32 Version:
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4075.0 built by: NET48REL1LAST
    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.5.0.0
    Win32 Version:
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
Microsoft.IdentityModel.JsonWebTokens
    Assembly Version: 5.5.0.0
    Win32 Version:
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
MessagePack.CryptoDto
    Assembly Version: 1.0.0.0
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
MessagePack
    Assembly Version: 1.7.3.7
    Win32 Version:
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Runtime.InteropServices.RuntimeInformation
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.3752.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.0
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Memory
    Assembly Version: 4.0.1.0
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
System.Runtime.CompilerServices.Unsafe
    Assembly Version: 4.0.4.1
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
NaCl.Core
    Assembly Version: 1.2.0.0
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
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.Threading.Tasks.Extensions
    Assembly Version: 4.1.0.0
    Win32 Version:
    CodeBase: file:///C:/AudioForVATSIM/GeoVR.Client.dll
----------------------------------------
System.Buffers
    Assembly Version: 4.0.2.0
    Win32 Version: 1.6.32.0
    CodeBase: file:///C:/AudioForVATSIM/AudioForVATSIM.exe
----------------------------------------
InputBox
    Assembly Version: 1.0.0.1
    Win32 Version: 1.6.32.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.


Best Regards,
Kyle Sanders

Simon Ramirez

  • Mentors
  • 13
    • View Profile
Re: AFV Client Support
« Reply #1 on: May 11, 2020, 12:41:52 AM »
I've had the same problems and to make it even worse I've also had AFV corrupt it's own files. so far i completely wiped my AFV folder and redownloaded
VATUSA Social Media Team
Local Canadian

Aidan Deschene

  • Members
  • 92
    • View Profile
    • VATSIM Cleveland ARTCC
Re: AFV Client Support
« Reply #2 on: May 13, 2020, 04:53:30 PM »
I didn't get luck in the forums on VATSIM either, but I've had similar issues except when launching the application. I had to personally message a member of the AFV Team and they told me I had to disable my "McAfee Anti-Virus" (silly me for getting a new laptop with McAfee)... this may be affecting some of the internals of the program.

If you haven't tried already to reinstall AFV from scratch that is always the first step of debugging. Then, make sure my silly mistake from above is looked at (uninstall MAV). If all of those are scratched off and the issue is still occuring I'd go and e-mail (or find on Discord) a member of the AFV team. I think more documentation needs to come out for debugging the program, or just fix some of the common issues (but I am not one to say).
Aidan Deschene
Air Traffic Manager
VATSIM Cleveland ARTCC
[email protected]