Author Topic: VoiceAttack - process terminated due to an unhandled exception  (Read 6581 times)

JedCaliber

  • Posts: 2
So I am not sure what is going on here. I had installed the latest stable build about 2 weeks ago, but only once started VA to add my license(which went well). I also bought and installed 2 HCS voicepacks, Astra and Orion. Today I went to run VA and immediately after I close the help screen, BAM! VA stops working with an "unhandled exception".

I disabled both my antivirus AVG and my spyware (SpyBot S&D) and still nothing. Then I upgraded to VoiceAttack Beta and same behavior. I am running Windows10 Pro, patched and updated to the latest. System specs are Intel i7-5820K, 16GB Ram, ASRock X99 Extreme4 and MSI GTX980Ti.

I am seeing some entries in the Windows Application log

.NET Runtime error
Quote
Application: VoiceAttack.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
   at SharpDX.DirectInput.Device.GetDeviceState(Int32, IntPtr)
   at SharpDX.DirectInput.CustomDevice`3[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[SharpDX.DirectInput.RawJoystickState, SharpDX.DirectInput, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null],[SharpDX.DirectInput.JoystickUpdate, SharpDX.DirectInput, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null]].GetCurrentState(System.__Canon ByRef)
   at VAJS.VAJS.(System.Guid, Int32)
   at VAJS.VAJS.()
   at System.Threading.ThreadHelper.ThreadStart_Context(System.Object)
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

Application Error
Quote
Faulting application name: VoiceAttack.exe, version: 1.5.8.27, time stamp: 0x575dcf24
Faulting module name: dinput8.dll, version: 10.0.10586.0, time stamp: 0x5632d687
Exception code: 0xc0000005
Fault offset: 0x00012713
Faulting process id: 0x1b1c
Faulting application start time: 0x01d1c7bad5ea0bc1
Faulting application path: D:\Program Files (x86)\VoiceAttack\VoiceAttack.exe
Faulting module path: C:\Windows\SYSTEM32\dinput8.dll
Report Id: b86d219d-c4bd-47fd-833c-dd432fc54e47
Faulting package full name:
Faulting package-relative application ID:


Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: VoiceAttack - process terminated due to an unhandled exception
« Reply #1 on: June 16, 2016, 09:36:23 AM »
Quote
Faulting module name: dinput8.dll
That's an interesting exception, as it looks like it's trying to access DirectX components through SharpDX.  There's an underlying issue in your system that VA is not expecting (this is the first time I've seen this since the joystick stuff came out about two years ago).  Has anything changed in your system recently or have you experienced a crash?

Try this, if you would...  hold down CTRL + SHIFT when you launch VA.  You will see an option box that says, 'Disable Joysticks'.  Select that and see if it fixes the issue.  I can't recall if that is a per-session option (I'm not at my desk). If it is per-session and you don't want to do that every time you launch VA, you will want to just delete the VAJS.dll in the VoiceAttack installation directory.  This is only preventing VA from accessing joystick information from DirectX to get things going and does not solve the problem with your system.  You might want to check this out, too :

https://technet.microsoft.com/en-us/magazine/ff184577.aspx

JedCaliber

  • Posts: 2
Re: VoiceAttack - process terminated due to an unhandled exception
« Reply #2 on: June 19, 2016, 05:00:18 AM »
The CTRL + SHIFT allowed VA to stay active long enough for me to get into the settings and disable the joysticks (X55 Rhino HOTAS) and now it seems to be working again.

THANK YOU SO MUCH!

I just got my Oculus Rift CV1 and really needed VA to make E:D playable  :) You know...the important things in life!  :P