[Bug 43841] New: ProfitChart RT crashes at startup with wine 2.18
https://bugs.winehq.org/show_bug.cgi?id=43841 Bug ID: 43841 Summary: ProfitChart RT crashes at startup with wine 2.18 Product: Wine Version: 2.18 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: danielbermond(a)yahoo.com Distribution: --- Created attachment 59397 --> https://bugs.winehq.org/attachment.cgi?id=59397 ProfitChart RT startup log wine-staging 2.18 ProfitChart RT crashes at startup when using wine[-staging] 2.18. It works nice when downgrading wine-staging to 2.17, so it seems to be a 2.18 regression. Note1: This program needs wine-staging. It will not work under the regular wine due to wine bug #41488 (https://bugs.winehq.org/show_bug.cgi?id=41488), which has a STAGED status (fix is implemented only in wine-staging). So I'm not sure if this current bug is specific to wine or wine-staging. Note2: It also needs 'speechsdk' component to be installed in order to work. ProfitChart RT is a financial market application. Official download link: http://www.nelogica.com.br/produtos/bin/profitchart/profitchartRT_setup.exe System information: OS: Arch Linux x86_64 wine: wine-2.18 (Staging) Startup log is attached. Using a clean 32-bit wineprefix in the default ~/.wine directory, adding only the needed 'speechsdk' component. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Daniel Bermond <danielbermond(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download URL| |http://www.nelogica.com.br/ | |produtos/bin/profitchart/pr | |ofitchartRT_setup.exe -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Daniel Bermond <danielbermond(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |ArchLinux -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xerox.xerox2000x(a)gmail.com --- Comment #1 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Most likely this is caused because wine now has it`s own sapi.dll. Things you might try (after installing speechsdk): - Make sure you have sapi.dll set as native (or run with WINEDLLOVERRIDES=sapi.dll profitchart.exe ) - You might also need to (re)register the sapi.dll: WINEDLLOVERRIDES=sapi.dll regsvr32.exe sapi.dll Could you report back if things change after this? Thanks in advance -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #2 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- (In reply to Louis Lenders from comment #1)
Most likely this is caused because wine now has it`s own sapi.dll.
Things you might try (after installing speechsdk):
- Make sure you have sapi.dll set as native (or run with
WINEDLLOVERRIDES=sapi.dll profitchart.exe )
- You might also need to (re)register the sapi.dll:
WINEDLLOVERRIDES=sapi.dll regsvr32.exe sapi.dll
Could you report back if things change after this? Thanks in advance
If you try the above it should of course be WINEDLLOVERRIDES=sapi.dll=n (I forgot the =n at the end...) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #3 from Daniel Bermond <danielbermond(a)yahoo.com> --- Hi Louis. Thank you for the reply. Nothing worked, unfortunately. Firstly, trying with a new and truly clean ~/.wine directory (without installing speechsdk) did not work. The same error appears (unhandled exception). When using a new ~/.wine directory with speechsdk installed: - WINEDLLOVERRIDES=sapi.dll=n wine profitchart.exe - does not work, the same error appears (unhandled exception) - WINEDLLOVERRIDES=sapi.dll=n regsvr32 sapi.dll - regsvr32: Falha ao carregar a DLL 'sapi.dll' (translates to 'Failure while loading DLL sapi.dll'). I can only register sapi.dll when using WINEDLLOVERRIDES=sapi.dll (without '=n'). After registering it, the program does not start in any way. Neither with 'wine profitchart.exe' or 'WINEDLLOVERRIDES=sapi.dll=n wine profitchart.exe' (or even without '=n'). Also tried with another new ~/.wine directory (with speechsdk installed), but this time setting sapi.dll as native-only in the winecfg graphical interface, and it did not work. And it gives the same failure error when trying to register it with regsvr32. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 --- Comment #4 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Hi Daniel, I tried it myself and apparently, if i see it correctly, there is a problem with ``winetricks speechsdk`` (now?). It doesn`t install the native sapi.dll somehow. I was only able to get the program running by copying a (native) sapi.dll from my windows drive to ~/.wine/drive_c/windows/systems32/Speech/Common/ and then do: WINEDLLOVERRIDES=sapi=n wine regsvr32 ~/.wine/drive_c/windows/system32/Speech/Common/sapi.dll WINEDLLOVERRIDES=sapi=n wine profitchart.exe If that works for you too I suggest to leave this bugreport open for the 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 0x5 (SpResourceManager) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com --- Comment #5 from Louis Lenders <xerox.xerox2000x(a)gmail.com> --- Hi Austin, I added you to this bugreport if you don`t mind. Somehow ``winetricks speechsdk`` doesn`t work anymore as expected, if i see it correctly. If you have time, could you have look? Thanks in advance. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Daniel Bermond <danielbermond(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |danielbermond(a)yahoo.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #6 from Daniel Bermond <danielbermond(a)yahoo.com> --- (In reply to Louis Lenders from comment #4)
I was only able to get the program running by copying a (native) sapi.dll from my windows drive to ~/.wine/drive_c/windows/systems32/Speech/Common/ and then do:
WINEDLLOVERRIDES=sapi=n wine regsvr32 ~/.wine/drive_c/windows/system32/Speech/Common/sapi.dll
WINEDLLOVERRIDES=sapi=n wine profitchart.exe
I'm getting the same failure error when trying to register sapi.dll copied from a Windows 7 installation. Also tried with the graphical interface, without success. I could not get the program running using Windows sapi.dll, probably due to the registration error.
I tried it myself and apparently, if i see it correctly, there is a problem with ``winetricks speechsdk`` (now?). It doesn`t install the native sapi.dll somehow.
It really seems that winetricks is not installing sapi.dll, as the original file provided by wine 2.18 remains untouched after installation. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- (In reply to Louis Lenders from comment #5)
Hi Austin, I added you to this bugreport if you don`t mind.
Somehow ``winetricks speechsdk`` doesn`t work anymore as expected, if i see it correctly.
If you have time, could you have look? Thanks in advance.
It looks like the stub sapi.dll breaks it (in wine-2.18+). In the future, please file bugs like this against winetricks here: https://github.com/Winetricks/winetricks/ I'll try to fix it today, but if not it'll be next week as I'll be afk. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #8 from Austin English <austinenglish(a)gmail.com> --- (In reply to Austin English from comment #7)
(In reply to Louis Lenders from comment #5)
Hi Austin, I added you to this bugreport if you don`t mind.
Somehow ``winetricks speechsdk`` doesn`t work anymore as expected, if i see it correctly.
If you have time, could you have look? Thanks in advance.
It looks like the stub sapi.dll breaks it (in wine-2.18+). In the future, please file bugs like this against winetricks here: https://github.com/Winetricks/winetricks/
I'll try to fix it today, but if not it'll be next week as I'll be afk.
@Louis, Could try this commit? https://github.com/austin987/winetricks/commit/84b50038f090ec262d6cdb48ed794... path to raw file: https://raw.githubusercontent.com/austin987/winetricks/84b50038f090ec262d6cd... Works for me in a 32-bit prefix, winetricks works for 64-bit prefix, but I didn't test the app as I was too lazy to compile win64 with the staging patch. Note that the app appears to be wine aware, complaining on startup that I'm running under Wine or Crossover (I think, I don't read Portugese). If that works for you, I'll merge to master. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Louis Lenders <xerox.xerox2000x(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ProfitChart RT crashes at |ProfitChart RT crashes at |startup with wine 2.18 |startup with builtin | |sapi.dll --- Comment #9 from Louis Lenders <xerox.xerox2000x(a)gmail.com> ---
If that works for you, I'll merge to master.
Yes it works for me. Thanks for the quick fix. (Note: i`m also on 32-bit prefix) I changed title a bit. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #10 from Austin English <austinenglish(a)gmail.com> --- (In reply to Louis Lenders from comment #9)
If that works for you, I'll merge to master.
Yes it works for me. Thanks for the quick fix. (Note: i`m also on 32-bit prefix)
I changed title a bit.
Looks like OP (at least at first, didn't dig) was using 32 as well). The sdk only provides a 32 bit dll, so probably good enough. Thanks for testing. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #11 from Daniel Bermond <danielbermond(a)yahoo.com> --- (In reply to Austin English from comment #8)
Could try this commit? https://github.com/austin987/winetricks/commit/ 84b50038f090ec262d6cdb48ed7940033883c9a6 path to raw file: https://raw.githubusercontent.com/austin987/winetricks/ 84b50038f090ec262d6cdb48ed7940033883c9a6/src/winetricks
I can also confirm that applying this patch makes the program work with wine-staging 2.18. Using 32-bit prefix. Thank you Austin for the winetricks fix.
Note that the app appears to be wine aware, complaining on startup that I'm running under Wine or Crossover (I think, I don't read Portugese).
The program is aware when it is being executed under wine. The message says that it was detected to be running with wine/crossover and that it is not recommended since it can cause problems. Yes, that's sad, because they should recommend wine, don't you agree? ;) I must say a big thank you for you two for the time spent, attention and support. Thank you Louis and Austin! -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #12 from Daniel Bermond <danielbermond(a)yahoo.com> --- (In reply to Louis Lenders from comment #4)
If that works for you too I suggest to leave this bugreport open for the 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 0x5 (SpResourceManager)
As stated by Louis Lenders, although it works by installing speechsdk with winitricks, this bug should remain opened because the program crashes when using the wine builtin sapi.dll. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 --- Comment #13 from Austin English <austinenglish(a)gmail.com> --- (In reply to Daniel Bermond from comment #12)
(In reply to Louis Lenders from comment #4)
If that works for you too I suggest to leave this bugreport open for the 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 0x5 (SpResourceManager)
As stated by Louis Lenders, although it works by installing speechsdk with winitricks, this bug should remain opened because the program crashes when using the wine builtin sapi.dll.
Of course. That's why I wanted a separate winetricks bug on github, so they don't get mixed up ;). -- 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Summary|ProfitChart RT crashes at |ProfitChart RT crashes at |startup with builtin |startup with Wine 2.18 or |sapi.dll |later and native SAPI 5.1 | |installed via 'winetricks | |-q speechsdk' (winetricks | |needs to take builtin | |sapi.dll into account) Resolution|--- |NOTOURBUG CC| |focht(a)gmx.net --- Comment #14 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, this issue should not be recycled for '{96749377-3391-11d2-9ee3-00c04f797396}' as suggested by comment #4. This would automatically result in 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)"). The original issue was a problem with Winetricks 'speechsdk' verb being insufficient due to the addition of builtin 'sapi.dll' with Wine 2.18. It was fixed in Winetricks -> upstream = NOTOURBUG. It makes sense to track it on both sides, Wine and Winetricks tracker. https://github.com/austin987/winetricks/commit/84b50038f090ec262d6cdb48ed794... ("speechsdk: wine-2.18 ships a stub sapi.dll, work around it") --- BTW the 'speechsdk' verb is still not really proper. You can't set the Windows version back to default 'Windows 7'. SAPI 5.1 doesn't exist on Windows Vista+ or later because it's shipped as part of OS. * SAPI 5.3 = shipped with Windows Vista * SAPI 5.4 = shipped with Windows 7 or later There are apps that check the Windows version and automatically assume SAPI 5.3 or later. I've tracked/analyzed one of these in bug 48919 ("Balabolka (TTS app) reports SAPI Error Code 0x80045004 since Wine 2.18 with native SAPI 5.1 via 'winetricks -q speechsdk'"). 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|ProfitChart RT crashes at |ProfitChart RT crashes at |startup with Wine 2.18 or |startup with Wine 2.18 or |later and native SAPI 5.1 |later and native SAPI 5.1 |installed via 'winetricks |installed with winetricks < |-q speechsdk' (winetricks |20171018 (winetricks needs |needs to take builtin |to take builtin sapi.dll |sapi.dll into account) |into account) --- Comment #15 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, the upstream fix is here: https://github.com/Winetricks/winetricks/commit/b66560de246c7d2a7a52bbab5934... ("speechsdk: wine-2.18 ships a stub sapi.dll, work around it") Part of winetricks 20171018 The commit sha1 in earlier comments was from Austin's own non-official winetricks. 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.
https://bugs.winehq.org/show_bug.cgi?id=43841 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #16 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Closing long fixed winetricks bug. -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla