Angela Burrell
2005-Apr-27 13:35 UTC
[Wine]Help with debugging fatal exception in Dreamweaver
Hello list. I've been bantering back and forth with some members here regarding a fatal exception I get when starting up Dreamweaver. I am running Mandrake 9.1 (Kernel 2.4.22) and wine 20050419. Dreamweaver was installed with wine 20040408 and I have tried other versions in between. The error is "Dreamweaver encountered a fatal exception. Dreamweaver will now terminate." Anyway, I've been doing some mad debugging, and dissecting of log files. Here's what I've got so far. I would really appreciate some input. ~~* From the log file (WINEDEBUG=+all wine Dreamweaver.exe > log.txt) *~~ (NOTE: initial numbers are the line numbers of the log file, so they can be ignored.) 3757166 0009:Call ws2_32.gethostname(406dfadc,00000032) ret=004725e3 3757167 0009:trace:winsock:WS_gethostname name 0x406dfadc, len 50 3757168 0009:trace:winsock:WS_gethostname <- 'IBMFB1L0DH.ercsarnia.ca' 3757169 0009:Ret ws2_32.gethostname() retval=00000000 ret=004725e3 # above four lines appear to go fine # 3757170 0009:Call ws2_32.gethostbyname(406dfadc "IBMFB1L0DH.ercsarnia.ca") ret=004725f1 # This ret address fails ... 3757177 0009:trace:winsock:WS_gethostbyname "IBMFB1L0DH.ercsarnia.ca" ret (nil) 3757178 0009:Ret ws2_32.gethostbyname() retval=00000000 ret=004725f1 3757179 0009:trace:seh:EXC_RtlRaiseException code=c0000005 flags=0 addr=0x4725f1 (some more exception lines) (lots of code drawing out the error) ~~~~~~~~~~~~~~~~~~~~ ~~* From the winedbg program detailing the crash *~~ Unhandled exception: page fault on read access to 0x0000000a in 32-bit code (0x004725f1). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:1007 GS:0007 EIP:004725f1 ESP:406dfab4 EBP:4108f830 EFLAGS:00010206 ( - 00 - RIP1) EAX:00000000 EBX:4108f994 ECX:4036001c EDX:40239740 ESI: 00d47c7c EDI:4108fcb4 Stack dump: 0x406dfab4: 4106392d 41063810 0000000 41063914 0x406dfac4: (etc) (etc) 0200: sel=1007 base=40015000 limit=00001f97 32-bit rw- Backtrace: => 1 0x004725f1 in dreamweaver (+0x725f1) (0x4108f830) 2 0x41040041 (0x00c0d5ac) 3 0x004729b0 in dreamweaver (+0x729b0) (0x00472640) 0x004725f1: movswl 0xa(%eax),%ecx ____________________________________ 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 fails. What can I try to get around this problem? is my hostname invalid or something? Thanks in advance. AB
Mike Hearn
2005-Apr-27 18:22 UTC
[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 fails. > What can I try to get around this problem? is my hostname invalid or > something?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 thanks -mike