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>
&gt; winedbg --gdb --no-start z:/home/skissane/downloads/MSDE2000A.exe<br>
0000001b:0000001c: create process 'Z:\home\skissane\downloads\MSDE2000A.exe'/0x7fff003c @0040ce00 (0&lt;0&gt;)<br>
0000001b:0000001c: create thread I @0040ce00<br>
target remote localhost:32815<br>
0000001b:0000001c: loads DLL c:\windows\system\ntdll.dll @00840000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\kernel32.dll @00e50000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\advapi32.dll @00770000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\gdi32.dll @00370000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\user32.dll @00270000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\comctl32.dll @00430000 (0&lt;0&gt;)<br>
fixme:dbghelp:elf_new_wine_thunks Duplicate in comctl32&lt;elf&gt;:
refDataPropName&lt;004b4d60-00000020&gt;
subclasses&lt;4b4d60-00000000&gt;<br>
0000001b:0000001c: loads DLL c:\windows\system\iphlpapi.dll @00b00000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\rpcrt4.dll @004e0000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\ole32.dll @006b0000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\shlwapi.dll @00d90000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\shell32.dll @00550000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\lz32.dll @003e0000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\winex11.drv @00ca0000 (0&lt;0&gt;)<br>
0000001b:0000001c: loads DLL c:\windows\system\imm32.dll @00710000 (0&lt;0&gt;)<br>
0000001b:0000001c: exception code=0x80000003<br>
wine-pthread: gdbproxy.c:1984: extract_packets: Assertion `i == gdbctx-&gt;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>
&nbsp;CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033<br>
&nbsp;EIP:595a97e2 ESP:7fcbf38c EBP:7fcbf3a0 EFLAGS:00000202(&nbsp;&nbsp; - 00&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; - - I1)<br>
&nbsp;EAX:00000000 EBX:00004e8c ECX:00004e8c EDX:00000006<br>
&nbsp;ESI:00000000 EDI:2014fff4<br>
Stack dump:<br>
0x7fcbf38c:&nbsp; 200521f8 00004e8c 2014fff4 00000000<br>
0x7fcbf39c:&nbsp; b7efe9e0 7fcbf4cc 20053948 00000006<br>
0x7fcbf3ac:&nbsp; 7fcbf440 00000000 00000060 7d00bf80<br>
0x7fcbf3bc:&nbsp; 00000068 00000000 2008bae7 7fcbf404<br>
0x7fcbf3cc:&nbsp; 7d00bf88 7d00bfec 7fcbf4dc 2014fff4<br>
0x7fcbf3dc:&nbsp; 00000059 0000005a 7fcbf4b0 20086515<br>
0200: sel=1007 base=b7f04000 limit=00001f97 32-bit rw-<br>
Backtrace:<br>
=&gt;1 0x595a97e2 (0x7fcbf3a0)<br>
&nbsp; 2 0x20053948 (0x7fcbf4cc)<br>
&nbsp; 3 0x2004b38e (0x7fcbf510)<br>
&nbsp; 4 0x75ff7e2f gdb_remote+0xaab(flags=0x1)
[/home/skissane/osdevel/wine/programs/winedbg/gdbproxy.c:1981] in
winedbg (0x7fcbfddc)<br>
&nbsp; 5 0x76002b9b main+0x473(argc=0x2, argv=0x7fee04a8)
[/home/skissane/osdevel/wine/programs/winedbg/winedbg.c:1285] in
winedbg (0x7fcbfeac)<br>
&nbsp; 6 0x75fef26f __wine_exe_main+0x176 in winedbg (0x7fcbff2c)<br>
&nbsp; 7 0x4bdbe9e2 start_process+0xb6(arg=0x0) [/home/skissane/osdevel/wine/dlls/kernel/process.c:996] in kernel32 (0x7fcbfff4)<br>
&nbsp; 8 0x20004935 wine_switch_to_stack+0x11 in libwine.so.1 (0x00000000)<br>
0x595a97e2: ret<br>
Modules:<br>
Module&nbsp;
Address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Debug info&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name (21 modules)<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x0051b000-00537000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ld-linux.so.2<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x00539000-00663000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libc.so.6<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x00665000-00669000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libdl.so.2<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x0066b000-0068f000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libm.so.6<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x00a05000-00a17000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libpthread.so.0<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x20000000-20018000&nbsp;&nbsp;&nbsp;&nbsp;
DIA&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
libwine.so.1<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x20154000-201c6000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ntdll&lt;elf&gt;<br>
&nbsp; \-PE&nbsp; 0x20170000-201c6000&nbsp;&nbsp;&nbsp;&nbsp;
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ntdll<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x201ea000-201f5000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libnss_files.so.2<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x201f5000-2020b000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; psapi&lt;elf&gt;<br>
&nbsp; \-PE&nbsp; 0x20200000-2020b000&nbsp;&nbsp;&nbsp;&nbsp;
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
psapi<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x39fc3000-39fff000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; advapi32&lt;elf&gt;<br>
&nbsp; \-PE&nbsp; 0x39fd0000-39fff000&nbsp;&nbsp;&nbsp;&nbsp;
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
advapi32<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x45dc6000-45e01000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dbghelp&lt;elf&gt;<br>
&nbsp; \-PE&nbsp; 0x45dd0000-45e01000&nbsp;&nbsp;&nbsp;&nbsp;
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
dbghelp<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x4bd54000-4be4f000&nbsp;&nbsp;&nbsp;&nbsp;
Stabs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
kernel32&lt;elf&gt;<br>
&nbsp; \-PE&nbsp; 0x4bd80000-4be4f000&nbsp;&nbsp;&nbsp;&nbsp;
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
kernel32<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x6be33000-6bf28000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; libwine_unicode.so.1<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x75fd7000-76019000&nbsp;&nbsp;&nbsp;&nbsp;
Stabs&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
winedbg&lt;elf&gt;<br>
&nbsp; \-PE&nbsp; 0x75fe0000-76019000&nbsp;&nbsp;&nbsp;&nbsp;
\&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
winedbg<br>
ELF&nbsp;&nbsp;&nbsp;&nbsp; 0x7bf00000-7bf03000&nbsp;&nbsp;&nbsp;&nbsp;
Deferred&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;wine-loader&gt;<br>
Threads:<br>
process&nbsp; tid&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; prio (all id:s are in hex)<br>
0000001b<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000001c&nbsp;&nbsp;&nbsp; 0<br>
0000001e (D) c:\windows\system\winedbg.exe<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000001d&nbsp;&nbsp;&nbsp; 0 &lt;==<br>
0000000e<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000000f&nbsp;&nbsp;&nbsp; 0<br>
0000000a<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0000000b&nbsp;&nbsp;&nbsp; 0<br>
WineDbg terminated on pid 0x1e<br>
<br>
===== gdb window ======<br>
&gt; 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 &quot;show copying&quot; to see the conditions.<br>
There is absolutely no warranty for GDB.&nbsp; Type &quot;show warranty&quot; for details.<br>
This GDB was configured as &quot;i386-redhat-linux-gnu&quot;.<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>