[nvda] Re: Sapi4 crashes was Re: Re: viavoice banned?

Hi, the log below demonstrates the crash. This is a complete log right up to the complete lock up of nvda. The ini file in notepad is from another version so I can replace the one I'm using should it be required, so its not crashing due to some sharing violation.


I launch snap 403, then navigate to the voices selection. current selection is Lucy US english from Orpheus, but viavoice does the same if you want to try it.

As soon as the dowbn cursor is operated, the error occurs. It seems more like the actual data from the combo box is causing the eroor from the messages.
Its strange as no such problem occurs in 2009 1.

INFO - nvda (08:42:59):
Starting NVDA
INFO - core.main (08:42:59):
Config dir: C:\Documents and Settings\brian\Application Data\nvda
INFO - config.save (08:42:59):
Configuration saved
DEBUG - core.main (08:42:59):
setting language to Windows
INFO - core.main (08:42:59):
NVDA version main-3403
INFO - core.main (08:42:59):
Using Windows version (5, 1, 2600, 2, 'Service Pack 3')
INFO - core.main (08:42:59):
Using Python version 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)]
INFO - core.main (08:42:59):
Using comtypes version 0.6.2
DEBUG - core.main (08:42:59):
Creating wx application instance
DEBUG - core.main (08:42:59):
Speech Dictionary processing
DEBUG - speechDictHandler.SpeechDict.load (08:42:59):
Loading speech dictionary 'C:\Documents and Settings\brian\Application Data\nvda\speechDicts\default.dic'...
DEBUG - speechDictHandler.SpeechDict.load (08:42:59):
file 'C:\Documents and Settings\brian\Application Data\nvda\speechDicts\default.dic' not found.
DEBUG - speechDictHandler.SpeechDict.load (08:42:59):
Loading speech dictionary 'builtin.dic'...
DEBUG - speechDictHandler.SpeechDict.load (08:42:59):
5 loaded records.
DEBUG - core.main (08:42:59):
Initializing speech
DEBUG - speechDictHandler.SpeechDict.load (08:42:59):
Loading speech dictionary 'C:\Documents and Settings\brian\Application Data\nvda\speechDicts\sapi4-Lucy (US English) - Dolphin Orpheus.dic'...
DEBUG - speechDictHandler.SpeechDict.load (08:42:59):
file 'C:\Documents and Settings\brian\Application Data\nvda\speechDicts\sapi4-Lucy (US English) - Dolphin Orpheus.dic' not found.
INFO - synthDriverHandler.setSynth (08:42:59):
Loaded synthDriver sapi4
INFO - core.main (08:42:59):
Using wx version 2.8.10.1 (msw-unicode)
DEBUG - core.main (08:42:59):
Initializing braille
INFO - braille.initialize (08:42:59):
Using liblouis version 1.8.0
INFO - braille.BrailleHandler.setDisplayByName (08:42:59):
Loaded braille display driver noBraille
DEBUG - core.main (08:42:59):
Initializing NVDAHelper
DEBUG - core.main (08:42:59):
Initializing GUI
DEBUG - core.main (08:42:59):
Initializing appModule Handler
DEBUG - appModuleHandler.getAppNameFromProcessID (08:42:59):
appName: csrss
DEBUG - appModuleHandler.getKeyMapFileName (08:42:59):
Found keymap file for _default at .\appModules\_default_desktop.kbd
DEBUG - appModuleHandler.AppModule.loadKeyMap (08:42:59):
added 80 bindings to appModule <_default (appName csrss, process ID 512) at address 214fe10> from file .\appModules\_default_desktop.kbd
DEBUG - api.setDesktopObject (08:42:59):
Desktop window
DEBUG - api.setNavigatorObject (08:42:59):
Desktop window
DEBUG - api.setFocusObject (08:42:59):
Desktop window
DEBUG - api.setNavigatorObject (08:42:59):
Desktop window
DEBUG - api.setMouseObject (08:42:59):
Desktop window
DEBUG - core.main (08:42:59):
initializing Java Access Bridge support
DEBUG - core.main (08:42:59):
Initializing winConsole support
DEBUG - core.main (08:42:59):
Initializing IAccessible support
DEBUG - appModuleHandler.getAppNameFromProcessID (08:42:59):
appName: explorer
DEBUG - appModuleHandler.getKeyMapFileName (08:42:59):
Found keymap file for _default at .\appModules\_default_desktop.kbd
DEBUG - appModuleHandler.AppModule.loadKeyMap (08:42:59):
added 80 bindings to appModule <explorer (appName explorer, process ID 1252) at address 21b2ab0> from file .\appModules\_default_desktop.kbd
DEBUG - appModuleHandler.getKeyMapFileName (08:42:59):
No keymapFile for explorer
DEBUG - core.main (08:42:59):
Initializing UIA support
WARNING - core.main (08:42:59):
UIA not available
DEBUG - core.main (08:42:59):
Initializing keyboard handler
DEBUG - core.main (08:42:59):
initializing mouse handler
DEBUG - api.setMouseObject (08:42:59):
FolderView list
DEBUG - core.main (08:42:59):
starting core pump
DEBUG - core.CorePump.__init__ (08:42:59):
Core pump starting
DEBUG - core.main (08:42:59):
Initializing watchdog
INFO - core.main (08:42:59):
NVDA initialized
DEBUG - core.main (08:42:59):
entering wx application main loop
DEBUG - api.setNavigatorObject (08:42:59):
nvda.ini list item
DEBUG - api.setFocusObject (08:42:59):
nvda.ini list item
DEBUG - api.setForegroundObject (08:42:59):
C:\Documents and Settings\brian\Application Data\nvda pane
IO - keyboardHandler.internal_keyDownEvent (08:43:22):
key press: nvda+n
DEBUG - appModuleHandler.getKeyMapFileName (08:43:22):
Found keymap file for _default at .\appModules\_default_desktop.kbd
DEBUG - appModuleHandler.AppModule.loadKeyMap (08:43:22):
added 80 bindings to appModule <nvda (appName nvda, process ID 1524) at address 21c01b0> from file .\appModules\_default_desktop.kbd
DEBUG - appModuleHandler.getKeyMapFileName (08:43:22):
No keymapFile for nvda
DEBUG - api.setNavigatorObject (08:43:22):
pane
DEBUG - api.setFocusObject (08:43:22):
pane
DEBUG - api.setForegroundObject (08:43:22):
pane
DEBUG - api.setNavigatorObject (08:43:22):
NVDA menu
DEBUG - api.setFocusObject (08:43:22):
NVDA menu
DEBUG - api.setForegroundObject (08:43:22):
pane
IO - keyboardHandler.internal_keyDownEvent (08:43:24):
key press: extendeddown
DEBUG - api.setNavigatorObject (08:43:24):
Preferences menu item
DEBUG - api.setFocusObject (08:43:24):
Preferences menu item
IO - keyboardHandler.internal_keyDownEvent (08:43:25):
key press: extendedright
DEBUG - api.setNavigatorObject (08:43:25):
General settings... menu item
DEBUG - api.setFocusObject (08:43:25):
General settings... menu item
IO - keyboardHandler.internal_keyDownEvent (08:43:26):
key press: extendeddown
DEBUG - api.setNavigatorObject (08:43:26):
Synthesizer... menu item
DEBUG - api.setFocusObject (08:43:26):
Synthesizer... menu item
IO - keyboardHandler.internal_keyDownEvent (08:43:27):
key press: extendeddown
DEBUG - api.setNavigatorObject (08:43:27):
Voice settings... menu item
DEBUG - api.setFocusObject (08:43:27):
Voice settings... menu item
IO - keyboardHandler.internal_keyDownEvent (08:43:28):
key press: return
DEBUG - api.setNavigatorObject (08:43:28):
Voice settings dialog
DEBUG - api.setFocusObject (08:43:28):
Voice settings dialog
DEBUG - api.setForegroundObject (08:43:28):
Voice settings dialog
DEBUG - api.setNavigatorObject (08:43:29):
Voice: combo box Lucy (US English) - Dolphin Orpheus
DEBUG - api.setFocusObject (08:43:29):
Voice: combo box Lucy (US English) - Dolphin Orpheus
IO - keyboardHandler.internal_keyDownEvent (08:43:35):
key press: extendeddown
DEBUG - speechDictHandler.SpeechDict.load (08:43:35):
Loading speech dictionary 'C:\Documents and Settings\brian\Application Data\nvda\speechDicts\sapi4-Brad (US English) - Dolphin Orpheus.dic'...
DEBUG - speechDictHandler.SpeechDict.load (08:43:35):
file 'C:\Documents and Settings\brian\Application Data\nvda\speechDicts\sapi4-Brad (US English) - Dolphin Orpheus.dic' not found.
ERROR - eventHandler.executeEvent (08:43:35):
error executing event: valueChange on <NVDAObjects.IAccessible.ComboBox object at 0x021C8710> with extra args of {}
Traceback (most recent call last):
 File "eventHandler.pyc", line 80, in executeEvent
 File "eventHandler.pyc", line 128, in executeEvent_appModuleLevel
 File "eventHandler.pyc", line 135, in executeEvent_virtualBufferLevel
 File "eventHandler.pyc", line 139, in executeEvent_NVDAObjectLevel
File "NVDAObjects\IAccessible\__init__.pyc", line 996, in event_valueChange
 File "NVDAObjects\__init__.pyc", line 594, in event_valueChange
 File "speech.pyc", line 255, in speakObjectProperties
 File "speech.pyc", line 326, in speakText
 File "synthDrivers\sapi4.pyc", line 76, in speakText
 File "synthDrivers\sapi4.pyc", line 73, in performSpeak
WindowsError: exception: access violation reading 0xFFFFFFFF

This was a complete crash so nvda could not close down, I had to boot another copy over the top of it.

Sometimes the machine will carry on boinging away and you can get back to espeak, but this time the error appears to have been instantaly fatal.


I'd love to know what the difference is between those who get these errors and those who don't.
Brian


bglists@xxxxxxxxxxxxxxxx
Sent via blueyonder.
Please address personal email to:-
briang1@xxxxxxxxxxxxxxxx, putting 'Brian Gaff'
in the display name field.
----- Original Message ----- From: "Brian's Mail list account BY" <bglists@xxxxxxxxxxxxxxxx>
To: <nvda@xxxxxxxxxxxxx>
Sent: Tuesday, March 16, 2010 8:29 AM
Subject: [nvda] Sapi4 crashes was Re: Re: viavoice banned?


Some are having problems though. the number of machines here with sapi4
errors is now three, on this group there are at least another three people
with the same issues when switching voices.

It has nothing to do with eti, viavoice or anything like that. Its some
incompatability between code  released after 2009.1 and 2010.1.
Now are you running xp pro, and is it on a single core processor. If so then
that rules out one of the theories

The effect seems to occur the first time you move between certain voices in the voice dialogue in sapi4. If the voice was set before the problem then it
goes on working in my experience. If the voices are very  similar in name,
there seems to be no problem, but often its changing say, from lh to
viavoice, or  viavoice to Orpheous, or Microsoft to LH etc, that starts it
up. Also as there are a huge number of completely differently named voices
in Orpheus, it can hit in the middle of the list or even on the second one.

I think the real issue here is that it cannot recover the problem after the
windows exception, and thus at least this fatal condition needs to be
trapped somehow.


Brian
bglists@xxxxxxxxxxxxxxxx
Sent via blueyonder.
Please address personal email to:-
briang1@xxxxxxxxxxxxxxxx, putting 'Brian Gaff'
in the display name field.
----- Original Message ----- From: "Simon Jaeger, Laptop Edition" <simon4599@xxxxxxxxx>
To: <nvda@xxxxxxxxxxxxx>
Sent: Tuesday, March 16, 2010 8:08 AM
Subject: [nvda] Re: viavoice banned?


MessageI'm using ETI Eloquence, the same thing as viavoice, with no problem. I don't get what everyone's going on about. I'm using snap 3403 (the latest
one as of Friday), and there's no problem.
----- Original Message ----- From: Michael Cross
 To: nvda@xxxxxxxxxxxxx
 Sent: Monday, March 15, 2010 10:51 AM
 Subject: [nvda] Re: viavoice banned?


Assuming ViaVoice Outloud has been unzipped, go to the JAWS window, press ALT+L, C, arrow up to "SAPI4 detect..." and press the ENTER key. NVDA should
now show ViaVoice Outloud as the SAPI4 synth choice. Anyway that's what I
did to get it to work. I'm running XP Professional.


 Michael Cross

   -----Original Message-----
   From: nvda-bounce@xxxxxxxxxxxxx [mailto:nvda-bounce@xxxxxxxxxxxxx] On
Behalf Of Josh

    Sent: Monday, March 15, 2010 8:11 AM
   To: nvda email list
   Subject: [nvda] viavoice banned?


   Hi

   so you're saying that if NVDA sees you have viavoice installed it won't
let you use it? well its nice that there's an eloquence driver floating
around out there for those who want it then. but who knows if that will be
banned at some point also.


   Josh Kennedy jkenn337@xxxxxxxxx
my blog is at http://jkenn337.klangoblog.net (updated frequently). Tired of Microsoft Windows and paying thousands for screen-readers? try out NVDA,
get a mac--, nvda--for Windows, or try out and switch to grml, Ubuntu,
Vinux, or knoppix-adriane Linux desktops. Knoppix ubuntu and vinux-cli-max
are the most accessible for beginners. also try vinux-gui and encourage
those at www.cherrypal.com to use windows-xp and nvda knoppix-adriane
Vinux-cli-max or grml so all blind people can have an accessible computer.


--------------------------------------------------------------------------------



This is a cuddly message, no virus seen!
Checked by AVG - www.avg.com
Version: 9.0.790 / Virus Database: 271.1.1/2749 - Release Date: 03/15/10
19:33:00


Remember that open source software is community supported! Please donate if you can because even a little can help a lot:
http://www.nvaccess.org/wiki/Donate
To post messages to the list send email to
nvda@xxxxxxxxxxxxx
To modify your NVDA Email settings or view archives go to:
http://www.freelists.org/list/nvda
Thank you for your continued support of Nonvisual Desktop Access, an open source free screen reader for Microsoft Windows:
http://www.nvda-project.org/
NVDA Snapshot Downloader:
http://nvdasd.webra-system.sk/
Get SkypeTalking for NVDA:
http://skypetalking.googlecode.com/


--------------------------------------------------------------------------------



This is a cuddly message, no virus seen!
Checked by AVG - www.avg.com
Version: 9.0.790 / Virus Database: 271.1.1/2749 - Release Date: 03/15/10 19:33:00


Remember that open source software is community supported! Please donate if you 
can because even a little can help a lot:
http://www.nvaccess.org/wiki/Donate
To post messages to the list send email to
nvda@xxxxxxxxxxxxx
To modify your NVDA Email settings or view archives go to:
http://www.freelists.org/list/nvda
Thank you for your continued support of Nonvisual Desktop Access, an open 
source free screen reader for Microsoft Windows:
http://www.nvda-project.org/
NVDA Snapshot Downloader:
http://nvdasd.webra-system.sk/
Get SkypeTalking for NVDA:
http://skypetalking.googlecode.com/

Other related posts: