Code: Select all
using System;
using System.Net;
using System.IO;
namespace testHTTPwine
{
class MainClass
{
public static void Main (string[] args)
{
if (args.Length == 0) {
Console.WriteLine ("==== Please provide URL");
return;
}
try {
Console.WriteLine("WebRequest.Create");
var wr = WebRequest.Create (args[0]);
Console.WriteLine("wr.Getresponse");
var resp = wr.GetResponse();
Console.WriteLine("resp.GetResponseStream");
var respstream = resp.GetResponseStream();
Console.WriteLine("new StreamReader");
var streamReader = new StreamReader (respstream);
Console.WriteLine("streamReader.ReadToEnd()");
var data = streamReader.ReadToEnd ();
Console.WriteLine (data);
} catch (Exception e) {
Console.WriteLine ("Error occurred:");
Console.WriteLine (e.ToString ());
}
}
}
}
Code: Select all
$ ./testHTTPwine.exe 'http://httpbin.org/status/200'
WebRequest.Create
wr.Getresponse
resp.GetResponseStream
new StreamReader
streamReader.ReadToEnd()
$
Now this happens when I run it on wine: https://gist.github.com/thehowl/d1e9951 ... 0270a2ac56 (on a gist so that there's not a huge wall of text on this page)
With WINEDEBUG=fixme-all
Code: Select all
$ WINEDEBUG=fixme-all wine ./testHTTPwine.exe 'http://httpbin.org/status/200'
err:ntdll:NtQueryInformationToken Unhandled Token Information class 29!
err:ntdll:NtQueryInformationToken Unhandled Token Information class 29!
err:ntdll:NtQueryInformationToken Unhandled Token Information class 29!
err:ntdll:NtQueryInformationToken Unhandled Token Information class 29!
err:ntdll:NtQueryInformationToken Unhandled Token Information class 29!
WebRequest.Create
err:winsock:WSAIoctl -> _WSAIO(IOC_WS2, 23) request failed with status 0x2733
err:winsock:WSAIoctl -> _WSAIO(IOC_WS2, 23) request failed with status 0x2733
wr.Getresponse
err:ole:marshal_object couldn't get IPSFactory buffer for interface {5c6fb596-4828-4ed5-b9dd-293dad736fb5}
err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
err:ole:CoMarshalInterface Failed to marshal the interface {5c6fb596-4828-4ed5-b9dd-293dad736fb5}, 80004002
err:ole:ifproxy_release_public_refs IRemUnknown_RemRelease failed with error 0x800706ba
System.Net.WebException: The operation has timed out
at System.Net.HttpWebRequest.GetResponse()
at testHTTPwine.MainClass.Main(String[] args)
OS: Arch Linux
Binary of source code provided above: https://a.pomf.cat/ujlpks.exe
mono version: 4.4.1 (Nightly 4.4.1.0/4747417 Thu Jul 14 18:06:32 UTC 2016)
Changes done:
* Used winetricks to enable audio=alsa
* Installed with winetricks dotnet45 corefonts gdiplus cjkfonts
What I've tried: Moving drive_c/users/howl to a temporary location, rm -rf'ing my .wine folder, reinstalling wine-staging, winecfg, winetricks and moving from the temporary location the files of drive_c/users/howl to their original place
When this started happening: after a full system upgrade (pacman -Syu) on about the 9th of august, noticed when trying to run osu! which used to work before I went on vacation (19 of july).