https://bugs.winehq.org/show_bug.cgi?id=47879
Bug ID: 47879 Summary: fixme:process:RegisterApplicationRestart (L" /RestartByRestartManager:919F30E3-C7BB-45c6-B1A2-201D3 8E2F6A1",0) Product: Wine Version: 4.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: htl10@users.sourceforge.net Distribution: ---
A proprietary application (apologies) fails to start with its own popup message about "Failed to create the console!".
000b:fixme:winediag:start_process Wine Staging 4.17 is a testing version containing experimental patches. ... 0009:fixme:process:RegisterApplicationRestart (L" /RestartByRestartManager:919F30E3-C7BB-45c6-B1A2-201D38E2F6A1",0) 0009:fixme:shell:InitNetworkAddressControl stub
I think it is kind of obvious why it does not work, as "RegisterApplicationRestart" in dlls/kernel32/process.c is just a bare stub. Is there anything quick one can try to make it go further?
https://bugs.winehq.org/show_bug.cgi?id=47879
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |infyquest@gmail.com
--- Comment #1 from Vijay Kamuju infyquest@gmail.com --- Can you please test with vanilla wine, not the wine staging and please report if it fails or not
https://bugs.winehq.org/show_bug.cgi?id=47879
--- Comment #2 from Hin-Tak Leung htl10@users.sourceforge.net --- Tried again with wine from git:
$ git describe wine-4.17-199-g89d9bcb1f1
did "WINEPREFIX=~/qpst/ WINEARCH=win32 ./wine winecfg" first, with a clean WINEPREFIX.
$ WINEPREFIX=~/qpst/ ./wine <app>.exe 0009:fixme:font:get_outline_text_metrics failed to read full_nameW for font L".\007f"! 0009:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"! 0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32f6a0, 0x32f598 0x32f694 0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32f6a0 0x32f598 0x32f694) returning a dummy value (current locale) 0009:fixme:process:RegisterApplicationRestart (L" /RestartByRestartManager:A7292C69-8641-4b9e-BF21-4AD18A503215",0) 0009:fixme:shell:InitNetworkAddressControl stub
(also tried without WINEARCH=win32 and without wincfg first, longer message but essentially the same thing).
https://bugs.winehq.org/show_bug.cgi?id=47879
Hin-Tak Leung htl10@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|4.17 |4.18
--- Comment #3 from Hin-Tak Leung htl10@users.sourceforge.net --- re-try with git HEAD:
$ git describe --tag wine-4.18
same problem, with a new prefix (just created using "WINEPREFIX=~/qc32/ WINEARCH=win32 ./wine winecfg" immediately before):
$ WINEPREFIX=~/qc32/ WINEARCH=win32 ./wine <app>.exe 0009:fixme:font:get_outline_text_metrics failed to read full_nameW for font L".\007f"! 0009:fixme:font:get_outline_text_metrics failed to read full_nameW for font L"Ani"! 0009:fixme:nls:GetThreadPreferredUILanguages 00000038, 0x32f6a0, 0x32f598 0x32f694 0009:fixme:nls:get_dummy_preferred_ui_language (0x38 0x32f6a0 0x32f598 0x32f694) returning a dummy value (current locale) 0009:fixme:process:RegisterApplicationRestart (L" /RestartByRestartManager:A83CA950-E318-409c-BB67-E194EA874544",0) 0009:fixme:shell:InitNetworkAddressControl stub
https://bugs.winehq.org/show_bug.cgi?id=47879
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|fixme:process:RegisterAppli |process:RegisterApplication |cationRestart (L" |Restart too stubby |/RestartByRestartManager:91 | |9F30E3-C7BB-45c6-B1A2-201D3 | |8E2F6A1",0) |
https://bugs.winehq.org/show_bug.cgi?id=47879
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|process:RegisterApplication |Proprietary application |Restart too stubby |fails to start Component|kernel32 |-unknown CC| |z.figura12@gmail.com
--- Comment #4 from Zebediah Figura z.figura12@gmail.com --- RegisterApplicationRestart() is used to restart an application if it crashes. Since it returns success, I don't think it's the problem here.
InitNetworkAddressControl(), on the other hand, could be the culprit. If you have the time and ability to compile Wine, returning TRUE from that function could be interesting, though I suspect it'll then go on to try to create a window of that class, which will be a little more involved to implement.
https://bugs.winehq.org/show_bug.cgi?id=47879
--- Comment #5 from Hin-Tak Leung htl10@users.sourceforge.net --- Okay, I'll give modifying InitNetworkAddressControl() a try when I find some time. Thanks for the response.
https://bugs.winehq.org/show_bug.cgi?id=47879
--- Comment #6 from Hin-Tak Leung htl10@users.sourceforge.net --- No improvement (nor noticeable difference) modifying InitNetworkAddressControl() to return TRUE. As below.
$ git describe wine-4.19-334-ga63a98c388
$ git diff diff --git a/dlls/shell32/shell32_main.c b/dlls/shell32/shell32_main.c index 034805f6fb..6684f642c8 100644 --- a/dlls/shell32/shell32_main.c +++ b/dlls/shell32/shell32_main.c @@ -1210,7 +1210,7 @@ BOOL WINAPI ExtractVersionResource16W(LPWSTR s, DWORD d) BOOL WINAPI InitNetworkAddressControl(void) { FIXME("stub\n"); - return FALSE; + return TRUE; }
/***********************************************************************