Author Topic: crashing when running a global hotkey for balabolka  (Read 7014 times)

axonMagnus

  • Jr. Member
  • **
  • Posts: 62
crashing when running a global hotkey for balabolka
« on: June 03, 2016, 08:33:15 PM »
Am sorry i dont know if i have already reported the issue am not quite sure if its the same .

■■■■Here is the command


■■■■

Bare in mind this command doesn't have a specific process to target its designed to be used on a window in focus

■ Balabolka a software for converting text into speech using system voices or any downloaded voices it reads selected text or reads from clipboard.

[1] shortcut for saving.

[2] it attachs the word saving to the clip board.

[3] is a global hotkey for balabolka to Text to speech the text in the clipboard.

So inconclusion this sometimes crashes voice attack and momentarily hanging windows 10 then making the mouse move in slow motion and i regain control maybe after a minute or so.

I have to keep trying the same command and restarting voice attack untill after about 4 attemps of restarting and trying the command it works without crashing even when am running voice attack in admin privilages.

And it works after a few attemps bare in mind this happens with all the previous voice attack versions even the beta one right now am on the latest beta :).

Yes i know instead i could use the voice attack's text to speech. the reason i use balbolka is i can switch between text to speech voices , so anything that goes in the clipboard will be read by the voice i have switched to :) plus i with balabolka i can choose where the audio output goes to which virtual cable / speaker so i can reroute it to voip so my buddies can here the tts :) in other words when i show off how wonderfull voice attack is :)


 I know our wonder full Gary is working of a global tts voice changing almost like profile switching but for voices and this is whats the best i can use right now :)

Thank you very much i look forward to hearing from you , keep up the brilliant work . You guys are the best :).



"Doubts kill more dreams than failure ever will"



I happen to have visual studio and this is the debug log

Code: [Select]
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Program Files (x86)\VoiceAttack\VoiceAttack.exe'. Module was built without symbols.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Speech\v4.0_4.0.0.0__31bf3856ad364e35\System.Speech.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\PresentationFramework\v4.0_4.0.0.0__31bf3856ad364e35\PresentationFramework.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded '{a4707211-3aa3-4418-a2e0-a156c68b9144}'. Module was built without symbols.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'Microsoft.GeneratedCode'.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'Microsoft.GeneratedCode'.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll'. Cannot find or open the PDB file.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Program Files (x86)\VoiceAttack\VAJS.dll'. Module was built without symbols.
'VoiceAttack.exe' (CLR v4.0.30319: VoiceAttack.exe): Loaded 'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll'. Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The program '[7824] VoiceAttack.exe' has exited with code 0 (0x0).

« Last Edit: June 03, 2016, 08:37:40 PM by axonMagnus »

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: crashing when running a global hotkey for balabolka
« Reply #1 on: June 04, 2016, 12:54:33 AM »
I was looking at this issue and the other issue regarding the clipboard and I found that they are actually the same problem.  So, I thought I would grab Balabolka and throw it in with VA and see what happens.  I was able to reproduce the problem without a long delay.  I was trapping the exception in the UI thread and not the thread where the clipboard is accessed, so moving the trap fixed it.  I also took Pfeil's advice and added information on what is pinning down the clipboard (in this case it reports Balabolka).  Not sure why that app needs to latch on to the clipboard like that, as it will peg the clipboard even if you just move its main window around.  It lets go at some point (I tested in a loop). 

This fix will be in the next release... it's not going to solve the problem with Balabolka, however I found that if I try like 3 or more times in a row it gets the value in there.

axonMagnus

  • Jr. Member
  • **
  • Posts: 62
Re: crashing when running a global hotkey for balabolka
« Reply #2 on: June 04, 2016, 01:18:14 AM »
wow very impressive , once again our one and only savior G man delivers us from evil bugs :D , i truely  appreciate what you have done for us , thank you Gary tonight i will sleep sound looking forward to the release :)  ;D

Gary

  • Administrator
  • Hero Member
  • *****
  • Posts: 2832
Re: crashing when running a global hotkey for balabolka
« Reply #3 on: June 04, 2016, 12:57:12 PM »
The latest beta should handle this a little better:

http://www.voiceattack.com/beta


Let me know how it goes!