https://bugs.winehq.org/show_bug.cgi?id=44502
Bug ID: 44502 Summary: Fortnight 7.x installer reports 'Error: Initialization failed while advising the language notification sink to the TSF source. (0x80004001)' (unsupported ITfActiveLanguageProfileNotifySink) Product: Wine Version: 3.1 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: msctf Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
as it says. It is not critical (msi installer doesn't roll back) but should not happen.
Trace log:
--- snip --- $ WINEDEBUG=+tid,+seh,+relay,+msi wine msiexec -i EpicInstaller-7.2.1-fortnite.msi >>log.txt 2>&1 ... 0068:fixme:msctf:ThreadMgrSource_AdviseSink (0x17f518) Unhandled Sink: {b246cb75-a93e-4652-bf8c-b3fe0cfd7e57} ... 0068:Call ucrtbase.__stdio_common_vswprintf(000000005,01e5cef8,000001ff,013b7820 L"Initialization failed while advising the language notification sink to the TSF source. %s (0x%08x)",00000000,01e5f318) ret=0051fb5c 0068:Ret ucrtbase.__stdio_common_vswprintf() retval=00000064 ret=0051fb5c ... 0068:Call KERNEL32.OutputDebugStringW(01e5c9c8 L"[2018.02.11-17.59.22:064][ 0]LogWindowsTextInputMethodSystem: Error: Initialization failed while advising the language notification sink to the TSF source. (0x80004001)\r\n") ret=00593b7a ... LogWindows: Error: === Critical error: === LogWindows: Error: LogWindows: Error: Assertion failed: Count >= 0 [File:D:\Build++Portal+Release-Live+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/UnrealString.h] [Line: 1167] LogWindows: Error: LogWindows: Error: LogWindows: Error: LogWindows: Error: RaiseException() [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/except.c:84] LogWindows: Error: 0x0000000000599460 --- snip ---
Source:
https://source.winehq.org/git/wine.git/blob/354fa7eb7921c3317e7943c18871febe...
--- snip --- 602 /***************************************************** 603 * ITfSource functions 604 *****************************************************/ 605 static HRESULT WINAPI ThreadMgrSource_AdviseSink(ITfSource *iface, 606 REFIID riid, IUnknown *punk, DWORD *pdwCookie) 607 { 608 ThreadMgr *This = impl_from_ITfSource(iface); 609 610 TRACE("(%p) %s %p %p\n",This,debugstr_guid(riid),punk,pdwCookie); 611 612 if (!riid || !punk || !pdwCookie) 613 return E_INVALIDARG; 614 615 if (IsEqualIID(riid, &IID_ITfThreadMgrEventSink)) 616 return advise_sink(&This->ThreadMgrEventSink, &IID_ITfThreadMgrEventSink, COOKIE_MAGIC_TMSINK, punk, pdwCookie); 617 618 if (IsEqualIID(riid, &IID_ITfThreadFocusSink)) 619 { 620 WARN("semi-stub for ITfThreadFocusSink: sink won't be used.\n"); 621 return advise_sink(&This->ThreadFocusSink, &IID_ITfThreadFocusSink, COOKIE_MAGIC_THREADFOCUSSINK, punk, pdwCookie); 622 } 623 624 FIXME("(%p) Unhandled Sink: %s\n",This,debugstr_guid(riid)); 625 return E_NOTIMPL; 626 } --- snip ---
$ sha1sum EpicInstaller-7.2.1-fortnite.msi e87bbdf52c8889acb988ec2b7435ed955a8d0e2a EpicInstaller-7.2.1-fortnite.msi
$ du -sh EpicInstaller-7.2.1-fortnite.msi 31M EpicInstaller-7.2.1-fortnite.msi
$ wine --version wine-3.1-193-g354fa7eb79
Regards
https://bugs.winehq.org/show_bug.cgi?id=44502
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, Installer URL| |https://download-dynamic.ep | |icgames.com/Builds/UnrealEn | |gineLauncher/Installers/Epi | |cInstaller-7.2.1.msi
https://bugs.winehq.org/show_bug.cgi?id=44502
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|Installer | Summary|Fortnight 7.x installer |Epic Games Launcher |reports 'Error: |(Fortnight 7.x) reports |Initialization failed while |'Error: Initialization |advising the language |failed while advising the |notification sink to the |language notification sink |TSF source. (0x80004001)' |to the TSF source. |(unsupported |(0x80004001)' (unsupported |ITfActiveLanguageProfileNot |ITfActiveLanguageProfileNot |ifySink) |ifySink)
--- Comment #1 from Anastasius Focht focht@gmx.net --- Hello folks,
correction it's actually the client/launcher itself, correcting summary.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Epic Games/Launcher/Portal/Binaries/Win32
$ wine ./EpicGamesLauncher.exe ... 0009:fixme:msctf:ThreadMgrSource_AdviseSink (0x161a70) Unhandled Sink: {71c6e74e-0f28-11d8-a82a-00065b84435c} LogWindowsTextInputMethodSystem: Error: Initialization failed while advising the profile notification sink to the TSF source. (0x80004001) 0009:fixme:win:EnumDisplayDevicesW ((null),0,0x1e5f4e4,0x00000000), stub! 0009:fixme:win:EnumDisplayDevicesW (L"\\.\DISPLAY1",0,0x1e5f82c,0x00000000), stub! 0028:fixme:dbghelp:elf_search_auxv can't find symbol in module 0048:fixme:win:DisableProcessWindowsGhosting : stub 0048:fixme:msctf:ThreadMgrSource_AdviseSink (0x15c818) Unhandled Sink: {71c6e74e-0f28-11d8-a82a-00065b84435c} 0048:fixme:win:EnumDisplayDevicesW ((null),0,0x16ff488,0x00000000), stub! 0048:fixme:win:EnumDisplayDevicesW (L"\\.\DISPLAY1",0,0x16ff7d0,0x00000000), stub! LogWindows: Error: === Critical error: === LogWindows: Error: LogWindows: Error: Assertion failed: Count >= 0 [File:D:\Build++Portal+Release-Live+Compile\Sync\Engine\Source\Runtime\Core\Public\Containers/UnrealString.h] [Line: 1167] LogWindows: Error: LogWindows: Error: LogWindows: Error: LogWindows: Error: RaiseException() [/home/focht/projects/wine/wine.repo/src/dlls/kernel32/except.c:84] LogWindows: Error: 0x0000000000599460 LogWindows: Error: --- snip ---
Regards
https://bugs.winehq.org/show_bug.cgi?id=44502
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello again,
on a second glance the 'LogWindowsTextInputMethodSystem' warning seems scary but is only logged. The assertion which leads to client exit is actually bug 41258 (multi-monitor support).
It might be still worth to keep this as minor/improvement ticket since it allows to test future 'ITfActiveLanguageProfileNotifySink' support with real world app.
Downgrading severity/importance.
Regards
https://bugs.winehq.org/show_bug.cgi?id=44502
Alistair Leslie-Hughes leslie_alistair@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED Staged patchset| |https://github.com/wine-sta | |ging/wine-staging/tree/mast | |er/patches/msctf-ITfActiveL | |anguageProfileNotifySink CC| |leslie_alistair@hotmail.com
https://bugs.winehq.org/show_bug.cgi?id=44502
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|STAGED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |5d70611f305b52d75af7fca6c06 | |14dcc25af7ebe
--- Comment #3 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by: https://source.winehq.org/git/wine.git/commit/5d70611f305b52d75af7fca6c0614dcc25af7ebe
https://bugs.winehq.org/show_bug.cgi?id=44502
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.0-rc1.
https://bugs.winehq.org/show_bug.cgi?id=44502
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://download-dynamic.ep |https://web.archive.org/web |icgames.com/Builds/UnrealEn |/20180126211913/https://dow |gineLauncher/Installers/Epi |nload-dynamic.epicgames.com |cInstaller-7.2.1.msi |/Builds/UnrealEngineLaunche | |r/Installers/EpicInstaller- | |7.2.1.msi
https://bugs.winehq.org/show_bug.cgi?id=44502
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=44502
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.4.