[Bug 8533] Unhandled page fault on write access / gethostbyname("") -> Winsock problem

Wine Bugs wine-bugs at winehq.org
Wed Jun 13 02:03:21 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=8533





------- Additional Comments From damjan.jov at gmail.com  2007-13-06 02:03 -------
I did some testing and it looks like on Windows binding to 127.0.0.1 and trying
to connect out also fails (although from a connection timeout, not EINVAL). So I
suspect the error is that gethostbyname("") is returning 127.0.0.1 (well it
looks like you're using Ubuntu like me so it's actually 127.0.1.1) and binding
to that causes trouble with the subsequent connect.

Kai Blin wrote a patch for this somewhere on bug 7929, but instead of that, a
much easier fix is to edit /etc/hosts and change the IP address for auroserver1
to your external IP instead of 127.0.1.1.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list