debugging longman dictionary

Rizsanyi Zsolt rizsanyi at myrealbox.com
Sat Mar 16 16:39:15 CST 2002


Hi!

I'm trying to debug what goes wrong with the Longman Dictionary of 
Contemporary English.

I have succeeded installing it under wine on a fake windows installation. (I 
had some problems, and posted them on wine-user, but I have succeded)

Now I get an unhandled exception (page fault on read access). But I cant find 
the cause of the problem.
Maybe somebody could hint me how to proceed.

I'm attaching the output of 
wine --debugmsg +relay LDOCE32.EXE

Also I have set up a breakpoint, and stepped through the last 10 instructions 
before the page fault, but I dont understand what that code is trying to do 
(it is somewhat strange).

Also it may be usefull if you could put in a faq or some other documentation 
that the next output (which is very frequent), is just a check running 
debugger. This check is usually done in sharewares to check whether the 
program is debugged.
This is the characteristic output:
fixme:win32:DEVICE_Open Unknown/unsupported VxD SICE. Try --winver nt40 or 
win31 !
fixme:win32:DEVICE_Open Unknown/unsupported VxD SIWVID. Try --winver nt40 or 
win31 !
fixme:win32:DEVICE_Open Unknown/unsupported VxD NTICE. Try --winver nt40 or 
win31 !

At first I tried to define these VxD-s, but when I did so the program 
instracted me to stop the debugger and restart.

Thanks for your attention, and I hope you can help me :)

Zsolt Rizsanyi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldoce.log.gz
Type: application/x-gzip
Size: 4014 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-devel/attachments/20020316/af303c4d/ldoce.log.bin
-------------- next part --------------
Wine-dbg>info reg
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:008f GS:0000
 EIP:0042628d ESP:405b4a48 EBP:405b4a74 EFLAGS:00000246(   - 00  I  Z- -P1 )
 EAX:00001010 EBX:00000001 ECX:405b4a9c EDX:00000000
 ESI:4008a2c4 EDI:00400000
Wine-dbg>stepi
0x00426286 (LDOCE32.EXE..txt2+0x7286 in C:\Ldoce\LDOCE32.EXE): movl     %esi,%esi
Wine-dbg>
0x00426288 (LDOCE32.EXE..txt2+0x7288 in C:\Ldoce\LDOCE32.EXE): jnle     0x00426290 (LDOCE32.EXE..txt2+0x7290 in C:\Ld
)
Wine-dbg>
0x0042628a (LDOCE32.EXE..txt2+0x728a in C:\Ldoce\LDOCE32.EXE): nop
Wine-dbg>
0x0042628b (LDOCE32.EXE..txt2+0x728b in C:\Ldoce\LDOCE32.EXE): jle      0x00426290 (LDOCE32.EXE..txt2+0x7290 in C:\Ld
)
Wine-dbg>
0x00426290 (LDOCE32.EXE..txt2+0x7290 in C:\Ldoce\LDOCE32.EXE): pushal
Wine-dbg>
0x00426291 (LDOCE32.EXE..txt2+0x7291 in C:\Ldoce\LDOCE32.EXE): mov      %cs,0xffffffe4(%ebp)
Wine-dbg>
0x00426295 (LDOCE32.EXE..txt2+0x7295 in C:\Ldoce\LDOCE32.EXE): sidt     0xffffffec(%ebp)
Wine-dbg>
0x00426299 (LDOCE32.EXE..txt2+0x7299 in C:\Ldoce\LDOCE32.EXE): movl     0xffffffee(%ebp),%eax
Wine-dbg>
0x0042629c (LDOCE32.EXE..txt2+0x729c in C:\Ldoce\LDOCE32.EXE): movl     0x4(%eax),%esi
Wine-dbg>info reg
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:008f GS:0000
 EIP:0042629c ESP:405b4a28 EBP:405b4a74 EFLAGS:00000246(   - 00  I  Z- -P1 )
 EAX:c0291000 EBX:00000001 ECX:405b4a9c EDX:00000000
Wine-dbg>stepi
Unhandled exception: page fault on read access to 0xc0291004 in 32-bit code (0x0042629c).
In 32-bit mode.
Symbol h_errno is invalid
Symbol __strtol_internal is invalid
0x0042629c (LDOCE32.EXE..txt2+0x729c in C:\Ldoce\LDOCE32.EXE): movl     0x4(%eax),%esi
Wine-dbg>bt
Backtrace:
=>0 0x0042629c (LDOCE32.EXE..txt2+0x729c in C:\Ldoce\LDOCE32.EXE) (ebp=405b4a74)
  1 0x0042641f (LDOCE32.EXE..txt2+0x741f in C:\Ldoce\LDOCE32.EXE) (ebp=405b4b38)
  2 0x00422d9c (LDOCE32.EXE..txt2+0x3d9c in C:\Ldoce\LDOCE32.EXE) (ebp=405b4be8)
  3 0x00421e56 (LDOCE32.EXE..txt2+0x2e56 in C:\Ldoce\LDOCE32.EXE) (ebp=405b4c08)
  4 0x0042111e (LDOCE32.EXE..txt2+0x211e in C:\Ldoce\LDOCE32.EXE) (ebp=405b4c4c)
  5 0x00420bea (LDOCE32.EXE..txt2+0x1bea in C:\Ldoce\LDOCE32.EXE) (ebp=405b6ca8)
  6 0x0042087e (LDOCE32.EXE..txt2+0x187e in C:\Ldoce\LDOCE32.EXE) (ebp=405b6d00)
  7 0x00422506 (LDOCE32.EXE..txt2+0x3506 in C:\Ldoce\LDOCE32.EXE) (ebp=405b6d38)
  8 0x0040e279 (LDOCE32.EXE..text+0x2279 in C:\Ldoce\LDOCE32.EXE) (ebp=405b6e18)
  9 0x00416992 (LDOCE32.EXE.EntryPoint+0x152 in C:\Ldoce\LDOCE32.EXE) (ebp=405b6ea4)
  10 0x400cf874 (start_process+0x1d0 [process.c:408] in libntdll.so) (ebp=405b6f38)
  11 0x400d2c9f (call_on_thread_stack+0x23(func=0x400cf6a4) [sysdeps.c:105] in libntdll.so) (ebp=405b6ff4)
  12 0x400d2e38 (SYSDEPS_CallOnStack+0x14 in libntdll.so) (ebp=00000000)

Wine-dbg>


More information about the wine-devel mailing list