Author Topic: 1.5.9 crashes on system shutdown  (Read 14058 times)

shaunpond

  • Guest
1.5.9 crashes on system shutdown
« on: July 13, 2016, 09:30:46 AM »
Appears to be .net related - what logs/dumps/etc., would you like me to get next time it happens (I found that just starting VA then shutting the machine is fine, so there must be some function that's called during the session that causes it...)

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: 1.5.9 crashes on system shutdown
« Reply #1 on: July 13, 2016, 09:40:25 AM »
The best place to check would be the Windows event viewer:

Press the Windows key
Type, 'Event Viewer'... select and hit enter.

Click on Windows logs, select, 'application'.  Sort by date and time descending.  Over on the right, click on, 'filter current log' and the select, 'error'.  Can't recommend any other filters as I'm not at my computer.  I would just search for VoiceAttack-related errors (should be near the top).  Thanks for your help!


shaunpond

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #2 on: July 13, 2016, 09:50:40 AM »
three error - attached

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: 1.5.9 crashes on system shutdown
« Reply #3 on: July 13, 2016, 10:09:58 AM »
Hmmm... interesting.

Have you tried a system file scan to see if there are any other problems that may be related?

Press the Windows key, type, 'cmd'.  Right click on, 'command prompt' and click, 'run as administrator'.

Type, 'sfc /scannow' and hit enter.  See if there are any issues.  It's going to run for a bit, but it's good to do that every now and then anyway ;)

shaunpond

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #4 on: July 13, 2016, 10:23:11 AM »
I believe I did that a short while ago (just a bit of background, I work in tech support for a software company, but my last coding was in COBOL and 6502 assembler ;)) Will try that first...

shaunpond

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #5 on: July 13, 2016, 10:54:00 AM »
OK, errors found (no great surprise there) - will report back if the symptoms do, or do not, reoccur... thanks

DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #6 on: July 16, 2016, 03:48:18 PM »
I also have this problem - it was in 1.5.9 and is still there in 1.5.10
Event viewer shows this just before the Application Hang
Code: [Select]
Fault bucket , type 0
Event Name: AppHangB1
Response: Not available
Cab Id: 0

Problem signature:
P1: VoiceAttack.exe
P2: 1.5.9.0
P3: 577fe9d8
P4: e811
P5: 67246336
P6:
P7:
P8:
P9:
P10:

Attached files:
C:\Users\...\AppData\Local\Temp\WER6DA0.tmp.version.xml
C:\Users\...\AppData\Local\Temp\WER6DB0.tmp.xml
C:\Users\...\AppData\Local\Temp\WER6DE0.tmp.WERInternalMetadata.xml
WERGenerationLog.txt

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\Critical_VoiceAttack.exe_aa869070912f3de707bbce8c6c460a7633063e8_b3b87ac9_cab_68296e1d

Analysis symbol:
Rechecking for solution: 0
Report ID: d3a20306-4b44-11e6-8883-6cf049e7e929
Report Status: 131076
Hashed bucket:
I have to End Task to exit, it's clicking "Close" that crashes it.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: 1.5.9 crashes on system shutdown
« Reply #7 on: July 16, 2016, 03:50:03 PM »
Are you running any plugins by chance?

xondk

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #8 on: July 16, 2016, 05:39:25 PM »
Are you running any plugins by chance?
Getting the crash as well with both .9 and latest .10, no plugins, but there is a launch profile, that begins doing stuff on start but it doesn't even get to step one, which is voice feedback, something has broken, badly, and wasn't the plugin I am trying to create as I initially thought.

DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #9 on: July 17, 2016, 11:13:46 AM »
No plugins, just VA with A.S.T.R.A.

The JIT box gives:
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.IndexOutOfRangeException: Index was outside the bounds of the array.
   at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
   at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
   at System.Windows.Forms.Control.Invoke(Delegate method)
   at ..(Object , EventArgs )
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
VoiceAttack
    Assembly Version: 0.0.0.1
    Win32 Version: 1.5.10
    CodeBase: file:///D:/Program%20Files%20(x86)/VoiceAttack/VoiceAttack.exe
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1081.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1078.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    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.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Speech
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
----------------------------------------
PresentationFramework
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
PresentationCore
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1080.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
System.Management
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
{85f0e0a8-38ab-4c15-8cc2-89787831d75b}
    Assembly Version: 0.0.0.0
    Win32 Version: 1.5.10
    CodeBase: file:///D:/Program%20Files%20(x86)/VoiceAttack/VoiceAttack.exe
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Web
    Assembly Version: 4.0.0.0
    Win32 Version: 4.6.1073.0 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
VAJS
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.2
    CodeBase: file:///D:/Program%20Files%20(x86)/VoiceAttack/VAJS.DLL
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 14.6.1038.0 built by: NETFXREL2
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.6.1064.2 built by: NETFXREL3STAGE
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** 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.



shaunpond

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #10 on: July 18, 2016, 08:09:41 AM »
My crash on close was fixed with the sfc thanks. I have another crash which has just started but I will open a new thread.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: 1.5.9 crashes on system shutdown
« Reply #11 on: July 18, 2016, 10:06:54 PM »
This is another one that I'm just having the hardest time reproducing.  I moved some things around to see if it might help or maybe make things a little more clear.  I put the updated executable out in the, 'unofficial' bin if you would like to try it out:  http://www.voiceattack.com/unofficial

Just copy that file into your VoiceAttack installation folder (usually C:\Program Files (x86)\VoiceAttack).


Pfeil:  The version numbers are just going to increment from here out


DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #12 on: July 20, 2016, 05:14:23 PM »
Copied that across, will try it out tomorrow.
Well, technically today, as it's after midnight, but you get the idea ;)

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: 1.5.9 crashes on system shutdown
« Reply #13 on: July 21, 2016, 09:49:50 AM »
Question for you, DeadMeatGF...  Are you using any plugins?

Also, how frequently does this crash occur?  If you *are* using plugins, does the crash occur when you invoke commands that use the plugins?

DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #14 on: July 21, 2016, 10:35:44 AM »
Hi Gary,

Nope, no plugins, just the vanilla install of VA with the A.S.T.R.A. voicepack that I'm using, and the Midnight voicepack  that I haven't configured yet.
The software works fine, it's just on exit that the error occurs and you can't shut it down with using End Task.

Trying the modified exe now - the only thing I've noticed so far is that where I used to say "One hundred percent" etc. that is now blocked by the ((100%)) keybind - nothing that can't be worked around but I didn't know if that was helpful information!

I'll let you know how shutting this exe down works in about an hour when I take a break.

DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #15 on: July 21, 2016, 11:26:49 AM »
Closed OK this time - will keep monitoring ...

DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #16 on: July 24, 2016, 07:35:35 AM »
I've not had chance to verify this is consistent, but it feels like the issue happens when I've used "Astra, go to sleep" - regardless of whether I've subsequently woken her up.
Of course, these generally correspond to long sessions, so it could be having the program open for a long time that's the issue instead.

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: 1.5.9 crashes on system shutdown
« Reply #17 on: July 24, 2016, 08:41:49 PM »
Thanks for all that.

Which version of VA are you using?  I've moved some of the shutdown code around to see if I can get a handle on this, so if you are still on v1.5.10, you may want to see if it's still happening in the later stuff:  http://www.voiceattack.com/beta

Sorry about that... If I can get this to where I can reproduce the error, I can usually knock it out.

DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #18 on: July 25, 2016, 11:06:00 AM »
It's happening in 1.5.10 and in the version you linked earlier in the thread.
It's not a biggie, to be honest - it's only on shutdown, actually using the program is fine!

I've established it's not (consistently, at least) use of the "Go to sleep" option, but it does seem to be happening after a lengthy session rather than a short one.

Hope that's helpful.

DeadMeatGF

  • Guest
Re: 1.5.9 crashes on system shutdown
« Reply #19 on: July 30, 2016, 02:47:55 AM »
Ugraded to v1.5.12 and have a long session planned today - will report back with any issues :D

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: 1.5.9 crashes on system shutdown
« Reply #20 on: August 09, 2016, 07:07:46 PM »
Has anybody experienced any more errors on shutdown?  Was hoping the latest beta would either reduce, eliminate or shed some light on the issue:

http://www.voiceattack.com/beta