[Wine]Re: Help with debugging fatal exception in Dreamweaver
angela at jobsearchnetwork.ca
Thu Apr 28 07:50:01 CDT 2005
Thanks! You were correct.
I wrote a small C program to find out the result of gethostbyname() and the
result was h_errno=1 (HOST_NOT_FOUND). IBMFB1L0DH.ercsarnia.ca is an
internal address available only on our LAN, so it wouldn't work for you.
It's my computername (IBMFB1L0DH) and domain name. When I used "ping", I was
able to contact the computer. However, by googling I determined that
gethostbyname uses the $HOSTALIASES environment variable: mine was blank. so
I added my own computername and IP to my /etc/hosts, and set
Now, Dreamweaver starts for the first time since I installed it one year
ago. That's all it wanted!!! I can't believe it.
I'm going to make a new post requesting more information on the WINEDEBUG
variable since it's been useful to me.
Thanks again Mike.
From: wine-users-admin at winehq.org [mailto:wine-users-admin at winehq.org]On
Behalf Of Mike Hearn
Sent: April 27, 2005 7:23 PM
To: wine-users at winehq.com
Subject: [Wine]Re: Help with debugging fatal exception in Dreamweaver
On Wed, 27 Apr 2005 14:35:50 -0400, Angela Burrell wrote:
> obviously, my problem has something to do with ws2_32.dll, which I've
> replaced to no avail. I see that WS.gethostbyname returns nothing and
> What can I try to get around this problem? is my hostname invalid or
Yeah, a NULL return means an error occurred. Most likely it's an invalid
address, I get an NXDOMAIN for "IBMFB1L0DH.ercsarnia.ca".
Clearly Dreamweaver isn't expecting that call to fail as it doesn't bother
checking the return result (assuming it's Dreamweaver that makes the call
and not Wine itself). So the questions are:
1) Where does this name come from?
2) Why does it fail?
3) Why does Dreamweaver not expect that?
You need to do some more research I think. Try grepping the logs for that
name and see where it appears first.
BTW a +all trace is usually overkill, +relay is enough
wine-users mailing list
wine-users at winehq.org
More information about the wine-users