https://bugs.winehq.org/show_bug.cgi?id=46140
Bug ID: 46140 Summary: .NET applications using 'WebRequest' API with MS .NET Framework crash when IPv4/6 is disabled in Linux kernel Product: Wine Version: 3.20 Hardware: x86-64 OS: Linux Status: NEW Severity: normal Priority: P2 Component: winsock Assignee: wine-bugs@winehq.org Reporter: focht@gmx.net Distribution: ---
Hello folks,
to track:
https://www.winehq.org/pipermail/wine-devel/2018-November/135021.html
Copy/pasta from mailing list, courtesy of Brendan McGrath
https://gist.github.com/redmcg/7d81ef833c77bee6965b5f441006f697
--- snip --- using System; using System.Net;
public class WRTest { public static void Main () { WebRequest req = WebRequest.Create("http://www.google.com"); HttpWebResponse resp = (HttpWebResponse) req.GetResponse(); Console.WriteLine(resp.StatusDescription); resp.Close(); } } --- snip ---
Microsoft Reference Source .NET Framework 4.x:
https://referencesource.microsoft.com/#System/net/System/Net/Sockets/Socket....
Regards
https://bugs.winehq.org/show_bug.cgi?id=46140
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, source
https://bugs.winehq.org/show_bug.cgi?id=46140
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- A slightly different solution was committed in the following commits:
f670a162a0939be260cc4a84225fe8ba2c91f1f2 4383a9d5364e3432341f2dec62c7d94e9d122b16 424a379f641465cde3b3a8a5e9a39e5865f926f2 49babc0bad9dae9c2b7e209aa2e374f502e246c9 70073ff2d04e96a262e0e8bc59406e3572af4781
https://bugs.winehq.org/show_bug.cgi?id=46140
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |70073ff2d04e96a262e0e8bc594 | |06e3572af4781 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/70073ff2d04e96a262e0e8bc59... preceding commits (comment #1)
Thanks Brendan, Alexandre Gijs for notification
Regards
https://bugs.winehq.org/show_bug.cgi?id=46140
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 4.0-rc1.