[Bug 52722] New: Winetricks dotnet installation hangs at wineserver -w
https://bugs.winehq.org/show_bug.cgi?id=52722 Bug ID: 52722 Summary: Winetricks dotnet installation hangs at wineserver -w Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ole32 Assignee: wine-bugs(a)winehq.org Reporter: tatidev1454(a)protonmail.com Distribution: --- Created attachment 72082 --> https://bugs.winehq.org/attachment.cgi?id=72082 Logs of the affected function create_surrogate_server with 32 bits wine and WoW64 This bug only happens with 13064f991408ea5fa5e999705b13bda7bbd50e5b commit. 1. Run `winetricks dlls dotnet45` having a 32 bits build of wine in the PATH (or any other dotnet version which requires the installation of an older one) 2. Wait until dotnet40 installs. 3. Winetricks executes wineserver -w and it just hangs there. -- 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=52722 Santino Mazza <tatidev1454(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |13064f991408ea5fa5e999705b1 | |3bda7bbd50e5b Keywords| |dotnet -- 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=52722 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish(a)gmail.com, | |dmitry(a)baikal.ru Version|unspecified |7.4 Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Keywords| |download, regression --- Comment #1 from Austin English <austinenglish(a)gmail.com> --- CC'ing patch author. I've noticed slightly different issues with this commit. With a 32-bit mingw build, as well as with wow64 mingw builds (win32 and win64 prefixes), winetricks dotnet45 hangs, but not in wineserver -w, rather it loops with this terminal output for a while, and then hangs: 0688:fixme:advapi:DeregisterEventSource (CAFE4242) stub 06f4:err:ole:CoReleaseMarshalData StdMarshal ReleaseMarshalData failed with error 0x8001011d 0700:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION 0700:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub 0700:fixme:heap:RtlSetHeapInformation 00000000 1 00000000 0 stub 0688:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub 0688:fixme:advapi:DeregisterEventSource (CAFE4242) stub 0700:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework\\v4.0.30319\\mscordacwks.dll", 79140000) stub 05b8:err:ole:CoGetContextToken apartment not initialised 0700:fixme:nls:LCIDToLocaleName unsupported flags 8000000 0700:fixme:virtual:NtFlushProcessWriteBuffers stub 0688:fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime Optimization Service"): stub 0688:fixme:advapi:ReportEventW (CAFE4242,0x0001,0x0000,0x0000044d,00000000,0x0002,0x00000000,01DFF2C8,00000000): stub 0688:err:eventlog:ReportEventW L".NET Runtime Optimization Service (clr_optimization_v4.0.30319_32) - 1>Failed to compile: System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a . Error code = 0x80070003 \n" 0688:err:eventlog:ReportEventW L"System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" 0688:fixme:advapi:DeregisterEventSource (CAFE4242) stub 0700:err:ole:CoReleaseMarshalData StdMarshal ReleaseMarshalData failed with error 0x8001011d -- 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=52722 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1|13064f991408ea5fa5e999705b1 |f9cd4c915f1929db439aa527dc9 |3bda7bbd50e5b |22cbfd9953327 --- Comment #2 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- As was noted in https://bugs.winehq.org/show_bug.cgi?id=20296#c74 one of the remaning tasks is proper termination of dllhost.exe. That task itself consists of at least two sub-tasks: call ISurrogate::FreeSurrogate() from ole32 when CoFreeUnusedLibraries() deems that appropriate, and CoFreeUnusedLibraries() relies on proper implementation of DllCanUnloadNow() in the loaded COM server, and most (if not all) Wine DLLs simply return S_FALSE preventing them from being unloaded, and as a result CoFreeUnusedLibraries() won't call ISurrogate::FreeSurrogate(). So, while this bug is probably correctly marked as a regression, it actually revealed a bunch of bugs in Wine, which need their own fixes. Correct regression id should be f9cd4c915f1929db439aa527dc922cbfd9953327, since this also affects not wow64 setups. -- 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=52722 Santino Mazza <tatidev1454(a)protonmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tatidev1454(a)protonmail.com -- 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=52722 Huw Davies <huw.davies(a)physics.ox.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |huw.davies(a)physics.ox.ac.uk --- Comment #3 from Huw Davies <huw.davies(a)physics.ox.ac.uk> --- I think commit 2192f2de1b983d7e05f2251096c733dbcf56a8b4 should fix this. Please retest with the current git (or wait for Wine 7.6). -- 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=52722 --- Comment #4 from Austin English <austinenglish(a)gmail.com> --- (In reply to Huw Davies from comment #3)
I think commit 2192f2de1b983d7e05f2251096c733dbcf56a8b4 should fix this. Please retest with the current git (or wait for Wine 7.6).
With this commit I can now install dotnet452 (did 20 installs in a loop without issue). Reverting the commit reintroduced the same hang I saw in comment #1. Since Santino was seeing a different result than me though, I'll wait for their results before marking this fixed. Thanks Dmitry/Huw! -- 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=52722 --- Comment #5 from Santino Mazza <tatidev1454(a)protonmail.com> --- Yep, now it's working for me. -- 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=52722 Huw Davies <huw.davies(a)physics.ox.ac.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Fixed by SHA1| |2192f2de1b983d7e05f2251096c | |733dbcf56a8b4 Status|NEW |RESOLVED --- Comment #6 from Huw Davies <huw.davies(a)physics.ox.ac.uk> --- Thanks. Fixed by 2192f2de1b983d7e05f2251096c733dbcf56a8b4 -- 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=52722 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.6. -- 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 (1)
-
WineHQ Bugzilla