[Bug 46610] New: pdfelement 6 failing to start with error: typelib_ps_CreateStub Failed to create stub
https://bugs.winehq.org/show_bug.cgi?id=46610 Bug ID: 46610 Summary: pdfelement 6 failing to start with error: typelib_ps_CreateStub Failed to create stub Product: Wine Version: 4.1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs(a)winehq.org Reporter: tinywrkbee(a)gmail.com Distribution: --- Created attachment 63510 --> https://bugs.winehq.org/attachment.cgi?id=63510 pdfelement output App: Wondershare PDFElement Pro 6, latest trial version, can be downloaded freely from https://pdf.wondershare.com/ Wine: version 4.1, WINARCH=win32, Window 7, no change except winetrick riched20. Behavior: Installation finished successfully, application's window failing to load after installation and the application crashes. With winetricks dotnet40 the application work (though has other issues). See full output in the attachment. 003a:fixme:ole:get_param_info unhandled kind 0x4 003a:fixme:ole:write_type_tfs unhandled kind 4 003a:err:ole:typelib_ps_CreateStub Failed to create stub, hr 0x80004001. 003a:err:ole:marshal_object Failed to create an IRpcStubBuffer from IPSFactory for {4d3609d2-1d8a-4e9f-884b-438afddecb86} with error 0x80004001 003a:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004001 003a:err:ole:CoMarshalInterface Failed to marshal the interface {4d3609d2-1d8a-4e9f-884b-438afddecb86}, 80004001 0045:err:rpc:I_RpcReceive we got fault packet with status 0x80004001 -- 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=46610 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de URL| |https://pdf.wondershare.com | |/ Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |download --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- I'm not sure this is the issue, could also be a red herring. -- 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=46610 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|pdfelement 6 failing to |PDFelement 6 crashes on |start with error: |startup |typelib_ps_CreateStub | |Failed to create stub | Component|ole32 |-unknown --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Actually, after "winetricks -q dotnet40" the error message persists - so pretty sure that's not it. Sidenote: The program doesn't install in a 64bit WINEPREFIX. Then you also need "winetricks riched20" or you get a different crash. The problematic C# code is:
[DllImport("MSFTEDIT.DLL", EntryPoint = "CreateTextServices", ExactSpelling = true)] private static extern int a([MarshalAs(UnmanagedType.Interface)] object A_0, [In] IntPtr A_1, [MarshalAs(UnmanagedType.Interface)] out object A_2);
[DllImport("MSFTEDIT.DLL", EntryPoint = "CreateTextServices", ExactSpelling = true)] private static extern int a([MarshalAs(UnmanagedType.Interface)] object A_0, [MarshalAs(UnmanagedType.Interface)] [In] ITextHost A_1, [MarshalAs(UnmanagedType.Interface)] out object A_2);
Maybe a problem with marshalling in mono? -- 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=46610 --- Comment #3 from Zebediah Figura <z.figura12(a)gmail.com> --- It crashes in the helper service. No idea to what degree that affects the program. It's definitely an interesting one, though; the application takes the unusually creative step of passing an interface (not an interface pointer) as a parameter to one of their typelib methods. I have no idea how they even did that; MIDL certainly doesn't allow it. -- 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=46610 --- Comment #4 from Fabian Maurer <dark.shadow4(a)web.de> ---
It's definitely an interesting one, though; the application takes the unusually creative step of passing an interface (not an interface pointer) as a parameter to one of their typelib methods.
Where does it do that? -- 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=46610 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com --- Comment #5 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Fabian Maurer from comment #4)
It's definitely an interesting one, though; the application takes the unusually creative step of passing an interface (not an interface pointer) as a parameter to one of their typelib methods.
Where does it do that?
Er, not that it actually passes an interface pointer, but it declares the method as taking one, i.e. HRESULT Start(long PID, BSTR Version, IEventSink Notify); -- 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=46610 --- Comment #6 from Fabian Maurer <dark.shadow4(a)web.de> --- Interesting, but how is this related to the crash one gets with wine-mono? -- 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=46610 --- Comment #7 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Fabian Maurer from comment #6)
Interesting, but how is this related to the crash one gets with wine-mono?
It's not; I was just looking at the terminal output from the original report. -- 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=46610 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |richedit --- Comment #8 from Zebediah Figura <z.figura12(a)gmail.com> --- Still present; still crashes in riched20. -- 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=46610 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL|https://pdf.wondershare.com |https://web.archive.org/web |/ |/20190613132526/http://down | |load.wondershare.com/inst/p | |dfelement6-pro_setup_full29 | |90.exe CC| |focht(a)gmx.net -- 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=46610 --- Comment #9 from Fabian Maurer <dark.shadow4(a)web.de> --- Still present as of wine-7.20 -- 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