https://bugs.winehq.org/show_bug.cgi?id=47922
Bug ID: 47922 Summary: Speech synthesis does not start in Logos Bible Software Product: Wine Version: 4.17 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: sapi Assignee: wine-bugs@winehq.org Reporter: johnpgoodman@gmail.com Distribution: ---
Logos Bible Software will read audio using sapi from almost any of the books except those published by Zondervan. Using wine starting speech causes a crash. Installing sapi there is no long a crash but there is no audio.
0040:fixme:path:parse_url failed to parse L"System.Speech" 0040:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00030084
https://bugs.winehq.org/show_bug.cgi?id=47922
m0rvj johnpgoodman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |logos.com
--- Comment #1 from m0rvj johnpgoodman@gmail.com --- Logos Bible software is a free download. Books must be added by 'purchasing' the free collection called Logos Basic. The free basic package is here:https://www.logos.com/basic
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #2 from m0rvj johnpgoodman@gmail.com --- Do we need a reg key to set the system default voice?
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #3 from Alistair Leslie-Hughes leslie_alistair@hotmail.com --- Can you please attached the console output?
https://bugs.winehq.org/show_bug.cgi?id=47922
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x@gmail.com
--- Comment #4 from Louis Lenders xerox.xerox2000x@gmail.com --- Created attachment 65454 --> https://bugs.winehq.org/attachment.cgi?id=65454 see attachment
see attachment
https://bugs.winehq.org/show_bug.cgi?id=47922
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Keywords| |dotnet, download
--- Comment #5 from Louis Lenders xerox.xerox2000x@gmail.com --- confirming
https://bugs.winehq.org/show_bug.cgi?id=47922
Frank franksauer@cox.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |franksauer@cox.net
https://bugs.winehq.org/show_bug.cgi?id=47922
Nick nick.andrewes@phonecoop.coop changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nick.andrewes@phonecoop.coo | |p
--- Comment #6 from Nick nick.andrewes@phonecoop.coop --- Created attachment 67568 --> https://bugs.winehq.org/attachment.cgi?id=67568 Terminal Log
Terminal log for crash when I select passage, and hit "read aloud" >> "System Narrator"
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #7 from Nick nick.andrewes@phonecoop.coop --- Created attachment 67569 --> https://bugs.winehq.org/attachment.cgi?id=67569 Backtrace
Backtrace for crash when I select passage, and hit "read aloud" >> "System Narrator"
https://bugs.winehq.org/show_bug.cgi?id=47922
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL|logos.com |https://web.archive.org/web | |/20210209172851/https://dow | |nloads.logoscdn.com/LBS8/In | |staller/8.7.0.0039/Logos-x8 | |6.msi Summary|Speech synthesis does not |Logos 8 Bible Software |start in Logos Bible |(.NET 4.7 app) crashes when |Software |using 'Read Aloud / System | |Narrator' on selected | |passage
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #8 from Frank franksauer@cox.net --- Issue still persistent in Logos 9:
Here is the crash information from the error log generated by Logos 9 itself
Program Version: 9.2 (9.2.0.0014) Time: 2021-02-16 09:05:59 -06:00 (2021-02-16T15:05:59Z) Failed to create BitmapFrame. System.IO.IOException: Cannot locate resource 'images/wrenchicon.png'. at MS.Internal.AppModel.ResourcePart.GetStreamCore(FileMode mode, FileAccess access) at System.IO.Packaging.PackagePart.GetStream(FileMode mode, FileAccess access) at System.IO.Packaging.PackWebResponse.CachedResponse.GetResponseStream() at System.IO.Packaging.PackWebResponse.get_ContentType() at System.Windows.Media.Imaging.BitmapDecoder.SetupDecoderFromUriOrStream(Uri uri, Stream stream, BitmapCacheOption cacheOption, Guid& clsId, Boolean& isOriginalWritable, Stream& uriStream, UnmanagedMemoryStream& unmanagedMemoryStream, SafeFileHandle& safeFilehandle) at System.Windows.Media.Imaging.BitmapDecoder.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy, Boolean insertInDecoderCache) at System.Windows.Media.Imaging.BitmapFrame.CreateFromUriOrStream(Uri baseUri, Uri uri, Stream stream, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy) at System.Windows.Media.Imaging.BitmapFrame.Create(Uri bitmapUri, BitmapCreateOptions createOptions, BitmapCacheOption cacheOption, RequestCachePolicy uriCachePolicy) at Libronix.Utility.Windows.BitmapSourceUtility.<>c__DisplayClass10_0.<CreateThreadAffinedFromLocalUri>b__0() at Libronix.Utility.Windows.BitmapSourceUtility.NullIfFailedCreation[T](Func`1 fn, Exception& exception)
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #9 from Frank franksauer@cox.net --- Checking another of the Logos 9 logs I came across this entry that was from the program crash when attempting Read Aloud (This was purposely done without SAPI installed to get the information from Logos 9, rather than L8 history)
2021-02-16 09:08:30.9201 INFO 1 AudioPlayer | ToggleAudioPlayback - Loading audio 2021-02-16 09:08:30.9217 INFO 1 AudioPlayer | ReadFromAudioResource - Loading audio for Jn 6:37 2021-02-16 09:08:30.9904 INFO 1 LogosContentDisplayElement | OnGotFocus 2021-02-16 09:08:31.0147 INFO 16 AudioTimingInformation | Didn't find an exact match for this position [9223372036854775807] in this resource [LLS:ESVAUDIO] 2021-02-16 09:08:31.5608 ERROR 1 AudioPlayer | Error playing media from http://resources.logoscdn.com/lls_esvaudio/audio/1/128/64john006.mp3. DirectoryNotFoundException: Path not found. (Exception from HRESULT: 0x80070003)
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #10 from Frank franksauer@cox.net --- Created attachment 69394 --> https://bugs.winehq.org/attachment.cgi?id=69394 Logos 9 backtrace
Backtrace from Logos 9 attempt to use Read Aloud
https://bugs.winehq.org/show_bug.cgi?id=47922
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Logos 8 Bible Software |Logos 8/9 Bible Software |(.NET 4.7 app) crashes when |(.NET 4.7 app) crashes when |using 'Read Aloud / System |using 'Read Aloud / System |Narrator' on selected |Narrator' on selected |passage |passage
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello Frank,
well the crash report information from comment #10 is only of limited use in case of crashes in .NET (managed) code. The more important part of the crash is the managed backtrace as shown in comment #8. When you press 'close' in the crash reporter does the console output match comment #8 logs?
Regards
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #12 from Frank franksauer@cox.net --- Created attachment 69400 --> https://bugs.winehq.org/attachment.cgi?id=69400 Logos 9 WINEDEBUG Console Crash
WINEDEBUG Console output when choosing Read Aloud in Logos 9
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #13 from Anastasius Focht focht@gmx.net --- Hello Frank
from your log:
--- snip --- ... 0218:fixme:wmp:WMPSettings_put_enableErrorDialogs (0000000041A682C0)->(0) 0218:fixme:wmp:WMPSettings_put_invokeURLs (0000000041A682C0)->(0) 0108:err:seh:dispatch_exception Fatal unknown exception (code=e0434352) raised 0218:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub 0218:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x00000402,0000000000000000,0x0001,0x00000000,000000004943DC00,0000000000000000): stub 0218:err:eventlog:ReportEventW L"Application: Logos.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: exception code c0000005, exception address 000000006D8080BD\n" 0218:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub wine: Unhandled page fault on read access to 0000000000000000 at address 000000006D8080BD (thread 0218), starting debugger... --- snip ---
my bet would be .NET Framework and/or 3rd party .NET component chokes on Windows Media Player stubs. Normally a managed backtrace should be shown in console in case of CLR Exception (0xe0434352). But here it leads to a page fault. Maybe the app's own crash handler does something weird.
Bug 47905 mentions the stub https://bugs.winehq.org/show_bug.cgi?id=47905#c8 (and following comments). We should not mix things in multiple bugs.
I was rather expecting something related to SAPI insufficiencies here unless you installed native SAPI components/overrides.
Regards
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #14 from Frank franksauer@cox.net --- I do have SAPI installed via Winetricks
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #15 from m0rvj johnpgoodman@gmail.com --- There are actually two issues here. The read aloud feature mostly uses SAPI but for some resources, where there is an audio book resource attached, it is an audio player. Neither works.
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #16 from m0rvj johnpgoodman@gmail.com --- I put the question to the devs: I can get speech sdk working and other apps with voices working but not Logos. Any hint which particular api is used?
Response: It's https://docs.microsoft.com/en-us/dotnet/api/system.speech.synthesis.speechsy... I assume that maps to SAPI underneath but I don't know for sure.
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #17 from m0rvj johnpgoodman@gmail.com --- When choosing to read aloud with system narrator.
Still got this problem in wine 6.7 with the microsoft speech runtime installed.
Crash with output:
0108:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub 0108:fixme:advapi:ReportEventW (00000000CAFE4242,0x0001,0x0000,0x00000402,0000000000000000,0x0001,0x00000000,0000000000419650,0000000000000000): stub 0108:err:eventlog:ReportEventW L"Application: Logos.exe\nFramework Version: v4.0.30319\nDescription: The process was terminated due to an unhandled exception.\nException Info: System.PlatformNotSupportedException\n at System.Speech.Internal.Synthesis.VoiceSynthesis..ctor(System.WeakReference)\n at System.Speech.Synth"... 0108:fixme:advapi:DeregisterEventSource (00000000CAFE4242) stub
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #18 from m0rvj johnpgoodman@gmail.com --- Thanks, your help is much appreciated!
The app is a bit like kindle in so much as the engine is free but the resources cost so there is a free download. Unlike kindle it has many advanced research features and books link together etc. The main app is free but there are paid features, resources and subscriptions. To use the app you need a free account https://www.logos.com/product/194909/logos-9-basic. It uses a downloader app which last I tried doesn't work with wine. The actual msi link is https://downloads.logoscdn.com/LBS9/Installer/9.6.0.0024/Logos-x64.msi
Manual Install Procedure: 1 Install wine 6 or newer 2 winetricks corefonts 3 winetricks settings fontsmooth=rgb 4 winetricks dotnet48 5 winetricks settings renderer=gdi (you might need to set the reg key manually) 6 Install the Logos.msi download but don't run it. 7 wine64 reg add "HKCU\Software\Wine\AppDefaults\LogosIndexer.exe" /v Version /t REG_SZ /d vista /f 8 Run Logos and sign in with your free account.
There is a script which downloads a preconfigured wine bottle and sets it all up in $USER/Logos_BibleP directory which you can then easily remove etc. https://github.com/ferion11/LogosLinuxInstaller/releases Choose fast install without wine AppImage.
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #19 from Frank franksauer@cox.net --- Just revisiting some of the bugs in Logos running via Wine.
In relation to this bug:
I tried the wine ping command on the web address in Comment 9 that Logos tries to access for the Read Aloud option. It does not connect.
I entered the same address into Chrome and it connects immediately
Could this bug be centered on not being able to connect to the audio file web address more than an issue with SAPI?
Are there any settings within wine that may be blocking access?
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #20 from Frank franksauer@cox.net --- Created attachment 70932 --> https://bugs.winehq.org/attachment.cgi?id=70932 Updated Log for Logos 9.9 Running on Wine-Staging 6.20
This log was taken with the attempt to use System Narrator to Read Aloud.
https://bugs.winehq.org/show_bug.cgi?id=47922
Bradley Grainger bgrainger@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bgrainger@gmail.com
--- Comment #21 from Bradley Grainger bgrainger@gmail.com --- The crash in https://bugs.winehq.org/show_bug.cgi?id=47922#c17 is a "PlatformNotSupportedException" from "System.Speech.Internal.Synthesis.VoiceSynthesis". This indicates that the version of .NET running on Wine can't provide the necessary speech synthesis features. This doesn't seem like a Logos issue, per se, but would affect any .NET Framework program that tries to use that feature.
The crash in https://bugs.winehq.org/show_bug.cgi?id=47922#c20 is "Retrieving the COM class factory for component with CLSID {D9F6EE60-58C9-458B-88E1-2F908FD7F87C} failed". This is also being thrown by the System.Speech.Internal.Synthesis.VoiceSynthesis constructor, but is a slightly different error.
On a Windows 10 system, that CLSID has an InprocServer32 (Computer\HKEY_CLASSES_ROOT\CLSID{D9F6EE60-58C9-458B-88E1-2F908FD7F87C}\InprocServer32) of %SystemRoot%\System32\Speech\Common\sapi.dll.
The underlying problem appears to be that the Win32 SAPI subsystem and/or .NET's wrapper of it are not functioning correctly.
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #22 from Frank franksauer@cox.net --- Created attachment 70991 --> https://bugs.winehq.org/attachment.cgi?id=70991 Log.txt Microsoft Speech
This log is without Speech or sapi installed from winetricks. This is a clean install of Wine-Staging 6.20 and Logos 9.9
I then installed the following two .msi from Microsoft SpeechPlatformRuntime.msi (both 32 and 64) MSSpeech_SR_en-US_TELE.msi
After install of these two files
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #23 from Frank franksauer@cox.net --- (In reply to Frank from comment #22)
Created attachment 70991 [details] Log.txt Microsoft Speech
This log is without Speech or sapi installed from winetricks. This is a clean install of Wine-Staging 6.20 and Logos 9.9
I then installed the following two .msi from Microsoft SpeechPlatformRuntime.msi (both 32 and 64) MSSpeech_SR_en-US_TELE.msi
After install of these two files
My post was truncated - here's the whole comment:
This log is without Speech or sapi installed from winetricks. This is a clean install of Wine-Staging 6.20 and Logos 9.9
I then installed the following two .msi from Microsoft SpeechPlatformRuntime.msi (both 32 and 64) MSSpeech_SR_en-US_TELE.msi
After install of these two files - System Narrator selection from Read Aloud does not crash - The Read Aloud module opens in the Logos Taskbar as it should - The Read Aloud module no longer sticks on the starting verse or sentence. It now starts and at a non-stop fast rate navigates through an entire resources and cannot be cancelled until it completes.
No TTS Voices are listed in the Registry - could this be the issue? No voices, so nothing to read - thus leading to the non-stop navigation through the resource?
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #24 from Frank franksauer@cox.net --- Also tried to install a voice, but it never shows in the Registry
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #25 from Ken Sharp imwellcushtymelike@gmail.com --- Please retry in Wine 7.9 (or later).
https://bugs.winehq.org/show_bug.cgi?id=47922
m0rvj johnpgoodman@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |besentv@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #26 from m0rvj johnpgoodman@gmail.com --- Problem persists with 7.15, I've added Bernhard Kölbl because I saw he has worked on speech api recently and might have the expertise to help... I hope that's ok?
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #27 from m0rvj johnpgoodman@gmail.com --- Terminal output: 011c:fixme:wtsapi:WTSQuerySessionInformationW Unimplemented class 8 011c:fixme:wtsapi:WTSRegisterSessionNotification Stub 00000000000700F8 0x00000000 0144:fixme:d3d:wined3d_check_device_format_conversion output 0000000000610DD0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 011c:fixme:uiautomation:UiaReturnRawElementProvider (00000000000700F8, 0, fffffffffffffffc, 0000000046E340B0) stub! 011c:fixme:wtsapi:WTSQuerySessionInformationW Unimplemented class 8 011c:fixme:wtsapi:WTSRegisterSessionNotification Stub 00000000000300F6 0x00000000 0144:fixme:d3d:wined3d_check_device_format_conversion output 0000000000610DD0, device_type WINED3D_DEVICE_TYPE_HAL, src_format WINED3DFMT_B8G8R8A8_UNORM, dst_format WINED3DFMT_B8G8R8X8_UNORM stub! 011c:fixme:uiautomation:UiaReturnRawElementProvider (00000000000300F6, 0, fffffffffffffffc, 00000000374E68B0) stub! 011c:fixme:wtsapi:WTSUnRegisterSessionNotification Stub 00000000000300F6 011c:fixme:sapi:class_factory_QueryInterface interface {b196b28f-bab4-101a-b69c-00aa00341d07} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {ecc8691b-c1db-4dc0-855e-65f6c551af49} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {ecc8691b-c1db-4dc0-855e-65f6c551af49} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {ecc8691b-c1db-4dc0-855e-65f6c551af49} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {ecc8691b-c1db-4dc0-855e-65f6c551af49} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {ecc8691b-c1db-4dc0-855e-65f6c551af49} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {94ea2b94-e9cc-49e0-c0ff-ee64ca8f5b90} not implemented 011c:fixme:sapi:data_key_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 011c:fixme:sapi:data_key_GetStringValue 000000005464D430, L"DefaultTokenId", 000000000019C4D8
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #28 from Bernhard Kölbl besentv@gmail.com --- I have no idea of sapi.dll, unfortunately. I only work on Windows.Media.Speech.dll right now and even then, this seems to need speech synthesis(?), which isn't even really in the works for that dll. I guess the first approach would be to implement b196b28f-bab4-101a-b69c-00aa00341d07 (IClassFactory2) into sapi's class factory.
https://bugs.winehq.org/show_bug.cgi?id=47922
--- Comment #29 from Nikolay Sivov bunglehead@gmail.com --- Everything before data_key_GetStringValue() is likely optional, and could probably be downgraded to warnings.