[Bug 52557] New: GetNetworkParams loops forever on musl
https://bugs.winehq.org/show_bug.cgi?id=52557 Bug ID: 52557 Summary: GetNetworkParams loops forever on musl Product: Wine Version: 7.2 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: iphlpapi Assignee: wine-bugs(a)winehq.org Reporter: me(a)atiltedtree.dev Distribution: --- On musl, res_getservers does not exist and dnsapi/resolv_get_serverlist will fall back to res_state.nsaddr_list. But musl also does not set res_state.nsaddr_list causing dnsapi/resolv_get_serverlist to always return DNS_ERROR_NO_DNS_SERVERS. iphlpapi/get_dns_server_list will call DnsQueryConfig( DnsConfigDnsServerList, ...), which calls dnsapi/resolv_get_serverlist, until it does not return an error, but on musl it will always return an error causing iphlpapi/get_dns_server_list to loop infinitely. This means that any application that calls iphlpapi.GetNetworkParams or iphlpapi.GetPerAdapterInfo will loop infinitely, if wine was built on musl. -- 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=52557 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mjevans1983(a)gmail.com --- Comment #1 from Hans Leidekker <hans(a)meelstraat.net> --- *** Bug 54251 has been marked as a duplicate of this bug. *** -- 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=52557 --- Comment #2 from Hans Leidekker <hans(a)meelstraat.net> --- Is there no way to get the list of DNS servers on musl? -- 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=52557 --- Comment #3 from Michael J Evans <mjevans1983(a)gmail.com> --- As was the case in bug #54251 and bug #24252 even with working DNS servers generally (E.G. curl and ping work just fine), on a system with multiple interfaces that are usable but not presently connected to a network with a DNS server it will still loop forever. Be that a videogame or ipconfig /all As in the patch Hans linked in https://bugs.winehq.org/show_bug.cgi?id=54251#c3 the correct action is to fail when there is no specific reason to retry. -- 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=52557 --- Comment #4 from Michael J Evans <mjevans1983(a)gmail.com> --- Typed bug #54252 -- 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=52557 --- Comment #5 from Michael J Evans <mjevans1983(a)gmail.com> --- *** Bug 54252 has been marked as a duplicate of this bug. *** -- 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=52557 --- Comment #6 from Michael J Evans <mjevans1983(a)gmail.com> --- Can this please get tagged, correctly, as a Bug Fix "Bug fixes only, we are in code freeze." -- 8.0-rc2 release announcement, this is actually, a bug fix and SHOULD be included in 8.0 -- 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=52557 Hans Leidekker <hans(a)meelstraat.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |fbf4544f7d49fab5bc00b972cd6 | |c9441004cf3e0 Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Hans Leidekker <hans(a)meelstraat.net> --- Should be fixed with fbf4544f7d49fab5bc00b972cd6c9441004cf3e0. -- 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=52557 --- Comment #8 from Michael J Evans <mjevans1983(a)gmail.com> --- It looks like the patch has been accepted, it seems appropriate to close this as soon as 8.0 releases with the fix. Thank you, hopefully it's in RC4 or 8.0 soon. https://gitlab.winehq.org/wine/wine/-/merge_requests/1920 -- 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=52557 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 8.0-rc4. -- 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