https://bugs.winehq.org/show_bug.cgi?id=34515
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #10 from Sebastian Lackner sebastian@fds-team.de --- The real issue most likely has nothing to do with msvcrt. Relay log from shortly before the crash:
--- snip --- 0027:Call ole32.CoCreateInstance(00591810,00000000,00000017,00591820,0033f3b4) ret=004aee90 0027:Call ntdll.RtlInitUnicodeString(0033f120,0033f172 L"CLSID\{BCDE0395-E52F-467C-8E3D-C4579291692E}") ret=7e44485e 0027:Ret ntdll.RtlInitUnicodeString() retval=0033f120 ret=7e44485e [...] 0027:err:ole:CoCreateInstance apartment not initialised 0027:Ret ole32.CoCreateInstance() retval=800401f0 ret=004aee90 [...] 0027:Call msvcr90.wcsncpy_s(0154cbc0,0000020a,0000020a,00000102) ret=004523ca 0027:trace:seh:raise_exception code=c0000005 flags=0 addr=0x7e1f7313 ip=7e1f7313 tid=0027 --- snip ---
Adding a CoInitialize() call to make CoCreateInstance() succeed also lets the application proceed and it gets past the crash.