[Bug 40229] Custom Text to speech program using SAPI 5.1 does not work (broken native SAPI install)

WineHQ Bugzilla wine-bugs at winehq.org
Sun Apr 12 14:41:07 CDT 2020


https://bugs.winehq.org/show_bug.cgi?id=40229

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download, source
                 CC|                            |focht at gmx.net
            Summary|Text to speech program does |Custom Text to speech
                   |not work                    |program using SAPI 5.1 does
                   |                            |not work (broken native
                   |                            |SAPI install)
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #4 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

run with Wine 1.9.4, no native SAPI5 installed:

--- snip ---
$ wine ./Speech5.exe 
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not
registered
err:ole:CoGetClassObject class {96749377-3391-11d2-9ee3-00c04f797396} not
registered
err:ole:create_server class {96749377-3391-11d2-9ee3-00c04f797396} not
registered
err:ole:CoGetClassObject no class object {96749377-3391-11d2-9ee3-00c04f797396}
could be created for context 0x7
wine: Unhandled page fault on read access to 0x00000000 at address 0x40103f
(thread 0009), starting debugger...
--- snip ---

This exactly matches OP's backtrace which is contained in the ZIP archive from
comment #0

The crash is expected since builtin SAPI was introduced first with Wine 2.18

With SAPI 5.1 installed via 'winetricks -q speechsdk', the example app properly
synthesizes speech. I've tested even with old Wine 1.9.4 release this bug was
reported against.

Since OP claimed "SAPI is installed", the only conclusion is that OP's native
SAPI install was broken (Windows version matters! Needs to be Win2K, he used
XP) 

-> INVALID bug report.

Otherwise it would have been a dupe of bug 18104 ("Multiple TTS applications
using Microsoft SAPI runtime report 'Speech engine not installed'
(CLSID_SpVoice '{96749377-3391-11D2-9EE3-00C04F797396}')(Final Draft,
TactileView, Vocaboly 3.0)")

$ du -sh Speech5.*
4.0K    Speech5.Asm
4.0K    Speech5.exe
4.0K    Speech5.zip

$ sha1sum Speech5.*
e3ad303843753a2f47bb1aa72221461bdb784354  Speech5.Asm
98844e206214b3d66d806cd7c0aeaf6000ada8ae  Speech5.exe
a5ac72cacf5ff92c31a9e85bb2d76c4f0a9dcbd1  Speech5.zip

$ wine --version
wine-1.9.4

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list