https://bugs.winehq.org/show_bug.cgi?id=50846
Bug ID: 50846 Summary: Enterprise Architect EA.Interop.DLL generate OLE/RPC error when accessing SQL databas (MySQL ODBC driver) Product: Wine Version: 6.4 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: comsvcs Assignee: wine-bugs@winehq.org Reporter: johannes.beisswenger@cetitec.com CC: bunglehead@gmail.com Regression SHA1: c9cc098ccd7f0cdb82b8e52d00c415042c5ff717 Distribution: ArchLinux
Created attachment 69656 --> https://bugs.winehq.org/attachment.cgi?id=69656 Log of failure
I have a C# program which uses the EA.Interop.dll(shipped with Enterprise Architect 14) for automating Enterprise Architect which generates the following error
0140:err:ole:get_stub_manager_from_ipid not found for ipid {00000006-0124-0120-b03d-2405ea237388} 0140:err:ole:dispatch_rpc no apartment found for ipid {00000006-0124-0120-b03d-2405ea237388} 013c:err:rpc:I_RpcReceive we got fault packet with status 0x80010108 0024:fixme:ole:NdrClearOutParameters (0032F0B4,001DF0FC,0032F800): stub
followed by a System.Runtime.InteropServices.COMException (0x80010108) which is (HRESULT RPC_E_DISCONNECTED).
The error only appears while using a SQL database and the Exception is thrown as soon as you access any object in the SQL backed project through Enterprise Architects COM interface.
Accessing the database through the Enterprise Architect GUI works as expected.
I bisected the issue to
#first bad commit: [c9cc098ccd7f0cdb82b8e52d00c415042c5ff717] comsvcs: Create MTA without initialization thread.
commit c9cc098ccd7f0cdb82b8e52d00c415042c5ff717 Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon Oct 19 12:43:04 2020 +0300
comsvcs: Create MTA without initialization thread.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49679 Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Reverting the commit on master (wine-6.4) fixes the issue.
The prefix is a 32bit prefix with "winetricks msxml3 msxml4 msxml6 mdac28", mysql-connector-odbc-5.3.6, and Enterprise Architect 14.