Hi<br>
<br>
Using latest wine CVS (checked out today), trying to debug the
PackageForTheWeb self-extracting EXE that MS uses to distribute MSDE
2000....<br>
<br>
The EXE works fine (albeit with some visual bugs) when running under plain wine instead of winedebug....<br>
<br>
Anyone have any idea what might be wrong? (I am very new to wine,
although I've been following the wine-devel archives for a while...)<br>
<br>
Cheers<br>
Simon Kissane<br>
<br>
===== winedebug window ======<br>
> winedbg --gdb --no-start z:/home/skissane/downloads/MSDE2000A.exe<br>
0000001b:0000001c: create process 'Z:\home\skissane\downloads\MSDE2000A.exe'/0x7fff003c @0040ce00 (0<0>)<br>
0000001b:0000001c: create thread I @0040ce00<br>
target remote localhost:32815<br>
0000001b:0000001c: loads DLL c:\windows\system\ntdll.dll @00840000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\kernel32.dll @00e50000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\advapi32.dll @00770000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\gdi32.dll @00370000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\user32.dll @00270000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\comctl32.dll @00430000 (0<0>)<br>
fixme:dbghelp:elf_new_wine_thunks Duplicate in comctl32<elf>:
refDataPropName<004b4d60-00000020>
subclasses<4b4d60-00000000><br>
0000001b:0000001c: loads DLL c:\windows\system\iphlpapi.dll @00b00000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\rpcrt4.dll @004e0000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\ole32.dll @006b0000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\shlwapi.dll @00d90000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\shell32.dll @00550000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\lz32.dll @003e0000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\winex11.drv @00ca0000 (0<0>)<br>
0000001b:0000001c: loads DLL c:\windows\system\imm32.dll @00710000 (0<0>)<br>
0000001b:0000001c: exception code=0x80000003<br>
wine-pthread: gdbproxy.c:1984: extract_packets: Assertion `i == gdbctx->out_len' failed.<br>
wine: Unhandled exception (thread 001d), starting debugger...<br>
WineDbg starting on pid 0x1e<br>
Unhandled exception: assertion failed in 32-bit code (0x595a97e2).<br>
In 32 bit mode.<br>
Register dump:<br>
CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033<br>
EIP:595a97e2 ESP:7fcbf38c EBP:7fcbf3a0 EFLAGS:00000202( - 00 - - I1)<br>
EAX:00000000 EBX:00004e8c ECX:00004e8c EDX:00000006<br>
ESI:00000000 EDI:2014fff4<br>
Stack dump:<br>
0x7fcbf38c: 200521f8 00004e8c 2014fff4 00000000<br>
0x7fcbf39c: b7efe9e0 7fcbf4cc 20053948 00000006<br>
0x7fcbf3ac: 7fcbf440 00000000 00000060 7d00bf80<br>
0x7fcbf3bc: 00000068 00000000 2008bae7 7fcbf404<br>
0x7fcbf3cc: 7d00bf88 7d00bfec 7fcbf4dc 2014fff4<br>
0x7fcbf3dc: 00000059 0000005a 7fcbf4b0 20086515<br>
0200: sel=1007 base=b7f04000 limit=00001f97 32-bit rw-<br>
Backtrace:<br>
=>1 0x595a97e2 (0x7fcbf3a0)<br>
2 0x20053948 (0x7fcbf4cc)<br>
3 0x2004b38e (0x7fcbf510)<br>
4 0x75ff7e2f gdb_remote+0xaab(flags=0x1)
[/home/skissane/osdevel/wine/programs/winedbg/gdbproxy.c:1981] in
winedbg (0x7fcbfddc)<br>
5 0x76002b9b main+0x473(argc=0x2, argv=0x7fee04a8)
[/home/skissane/osdevel/wine/programs/winedbg/winedbg.c:1285] in
winedbg (0x7fcbfeac)<br>
6 0x75fef26f __wine_exe_main+0x176 in winedbg (0x7fcbff2c)<br>
7 0x4bdbe9e2 start_process+0xb6(arg=0x0) [/home/skissane/osdevel/wine/dlls/kernel/process.c:996] in kernel32 (0x7fcbfff4)<br>
8 0x20004935 wine_switch_to_stack+0x11 in libwine.so.1 (0x00000000)<br>
0x595a97e2: ret<br>
Modules:<br>
Module
Address
Debug info Name (21 modules)<br>
ELF 0x0051b000-00537000
Deferred ld-linux.so.2<br>
ELF 0x00539000-00663000
Deferred libc.so.6<br>
ELF 0x00665000-00669000
Deferred libdl.so.2<br>
ELF 0x0066b000-0068f000
Deferred libm.so.6<br>
ELF 0x00a05000-00a17000
Deferred libpthread.so.0<br>
ELF 0x20000000-20018000
DIA
libwine.so.1<br>
ELF 0x20154000-201c6000
Deferred ntdll<elf><br>
\-PE 0x20170000-201c6000
\
ntdll<br>
ELF 0x201ea000-201f5000
Deferred libnss_files.so.2<br>
ELF 0x201f5000-2020b000
Deferred psapi<elf><br>
\-PE 0x20200000-2020b000
\
psapi<br>
ELF 0x39fc3000-39fff000
Deferred advapi32<elf><br>
\-PE 0x39fd0000-39fff000
\
advapi32<br>
ELF 0x45dc6000-45e01000
Deferred dbghelp<elf><br>
\-PE 0x45dd0000-45e01000
\
dbghelp<br>
ELF 0x4bd54000-4be4f000
Stabs
kernel32<elf><br>
\-PE 0x4bd80000-4be4f000
\
kernel32<br>
ELF 0x6be33000-6bf28000
Deferred libwine_unicode.so.1<br>
ELF 0x75fd7000-76019000
Stabs
winedbg<elf><br>
\-PE 0x75fe0000-76019000
\
winedbg<br>
ELF 0x7bf00000-7bf03000
Deferred <wine-loader><br>
Threads:<br>
process tid prio (all id:s are in hex)<br>
0000001b<br>
0000001c 0<br>
0000001e (D) c:\windows\system\winedbg.exe<br>
0000001d 0 <==<br>
0000000e<br>
0000000f 0<br>
0000000a<br>
0000000b 0<br>
WineDbg terminated on pid 0x1e<br>
<br>
===== gdb window ======<br>
> gdb<br>
GNU gdb Red Hat Linux (6.3.0.0-1.21rh)<br>
Copyright 2004 Free Software Foundation, Inc.<br>
GDB is free software, covered by the GNU General Public License, and you are<br>
welcome to change it and/or distribute copies of it under certain conditions.<br>
Type "show copying" to see the conditions.<br>
There is absolutely no warranty for GDB. Type "show warranty" for details.<br>
This GDB was configured as "i386-redhat-linux-gnu".<br>
(gdb) target remote localhost:32815<br>
Remote debugging using localhost:32815<br>
Ignoring packet error, continuing...<br>
Ignoring packet error, continuing...<br>
Ignoring packet error, continuing...<br>
Couldn't establish connection to remote target<br>
Malformed response to offset query, timeout<br>
(gdb)<br>
<br>