Author Topic: VA Crashes After Mass Update Confirmation  (Read 1860 times)

Bailey

  • Newbie
  • *
  • Posts: 7
VA Crashes After Mass Update Confirmation
« on: April 02, 2019, 04:00:59 PM »
When I get to this part, pressing NumEnter crashes VA. Taking the screenshot also crashed VA.
~Bailey

Pfeil

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4761
  • RTFM
Re: VA Crashes After Mass Update Confirmation
« Reply #1 on: April 02, 2019, 04:06:39 PM »
This appears to happen with any keyboard key on the final dialog.

If I may hazard a guess, I'd say it's something like the event handler for keyboard keys remaining active while the window has already closed(which happens between the confirmation dialog and the final dialog, which would be why it only happens with the latter), thus pressing a keyboard key leads to it attempting to access disposed resources.


Quote from: VoiceAttackFault.txt
System.NullReferenceException: Object reference not set to an instance of an object.
   at VoiceAttack.frmKeyPress.(UInt16 )
   at VoiceAttack.frmKeyPress.(Object , KeyEventArgs )
   at ..( )
   at ..(Int32 , IntPtr )
   at ‚..(Int32 , Int32 , IntPtr )

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2826
Re: VA Crashes After Mass Update Confirmation
« Reply #2 on: April 10, 2019, 09:23:58 PM »
I think this one has been wrapped up and will be in the next release.  The underlying form was getting the key down event from the dialog (the bad part about this is it refuses to exhibit this in debug).

Good catch!