On Sat, Sep 22, 2001 at 09:55:10PM +0200, eric pouech wrote:
what's strange is that the relay posted only targets the debugger process, not the process creating the exception... (the one creating the exception is 080671f0 and never shows up in the trace) how did you run your program ? which wine version are you using ? (from your previous post, the debugger now starts)
Yes, the debugger starts, but I don't really think its configured correctly, still. In order to get it to start, I have to start wine from the directory I built it, so that it will find ./debugger/winedbg. Shouldn't it look in the path for "winedbg," rather than only the current directory? Anyway, I started the program, from the directory where I built wine, as "wine -debugmsg +relay 'c:\iamsetup.exe'" Wine version is CVS from yesterday, though it has occurred in the CVS version for several weeks; I've never not had the problem. Possibly an interesting note, when I run as "wine -debugmsg +relay", and the debugger is unable to start for whatever reason, no messages are printed that aren't also printed with just "wine". "wine -debugmsg +all" does, however, log extra stuff. Attached is the latter part of what that yields. -- -Steven In a time of universal deceit, telling the truth is a revolutionary act. -- George Orwell Freedom is slavery. Ignorance is strength. War is peace. -- George Orwell 08068490: init_process_done() = 0 { debugged=0 } 08068490:fixme:win32:PE_CreateModule Security directory ignored 08068490:trace:global:GLOBAL_Alloc 138 flags=0042 08068490:trace:heap:HeapAlloc (40620000,00000002,000000a0): returning 40621170 08068490:trace:string:lstrcpynA (0x406211e9, "IamSetup."..., 9) 08068490:trace:dosfs:GetShortPathNameA "C:\\IamSetup.exe" 08068490:trace:heap:HeapAlloc (40620000,00000002,00000400): returning 4062121c 08068490:trace:string:lstrcpynA (0x4062121f, "IamSetup.exe", 13) 08068490:trace:string:lstrcpynA ((nil), ""..., 0) 08068490:trace:dosfs:GetShortPathNameA returning (null) 08068490:trace:heap:HeapFree (40620000,00000002,4062121c): returning TRUE 08068490:trace:heap:HeapAlloc (40620000,0000000a,00000060): returning 40620438 08068490:trace:dosfs:GetShortPathNameA "C:\\IamSetup.exe" 08068490:trace:heap:HeapAlloc (40620000,00000002,00000400): returning 4062121c 08068490:trace:string:lstrcpynA (0x4062121f, "IamSetup.exe", 13) 08068490:trace:string:lstrcpynA (0x40620484, "C:\\IamSetup.exe", 16) 08068490:trace:dosfs:GetShortPathNameA returning "C:\\IamSetup.exe" 08068490:trace:heap:HeapFree (40620000,00000002,4062121c): returning TRUE 08068490:trace:win32:dump_exports *******EXPORT DATA******* 08068490:trace:win32:dump_exports 08068490:trace:seh:EXC_RtlRaiseException code=c0000005 flags=0 08068490: queue_exception_event( first=1, record={context={flags=00000000,eax=402a2a00,ebx=4033fe38,ecx=ffffffff,edx=40856c8b,esi=0000000f,edi=967c77e5,ebp=40856c8c,eip=402a2ab2,esp=40856694,eflags=00210246,cs=0023,ds=002b,es=002b,fs=008f,gs=0000,dr0=00000000,dr1=00000000,dr2=00000000,dr3=00000000,dr6=00000000,dr7=00000000,float={00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000}},rec={code=c0000005,flags=0,rec=(nil),addr=0x402a2ab2,params={0,967c77e5}} ) 08068490: queue_exception_event() = 0 { handle=0 } 08068490:trace:seh:EXC_CallHandler calling handler at 0x40070348 code=c0000005 flags=0 08068490: queue_exception_event( first=0, record={context={flags=00000000,eax=402a2a00,ebx=4033fe38,ecx=ffffffff,edx=40856c8b,esi=0000000f,edi=967c77e5,ebp=40856c8c,eip=402a2ab2,esp=40856694,eflags=00210246,cs=0023,ds=002b,es=002b,fs=008f,gs=0000,dr0=00000000,dr1=00000000,dr2=00000000,dr3=00000000,dr6=00000000,dr7=00000000,float={00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000}},rec={code=c0000005,flags=0,rec=(nil),addr=0x402a2ab2,params={0,967c77e5}} ) 08068490: queue_exception_event() = 0 { handle=0 } 08068490: create_event( manual_reset=1, initial_state=0, inherit=1, name=L"" ) 08068490: create_event() = 0 { handle=24 } 08068490:trace:heap:HeapAlloc (40620000,00000002,0000006c): returning 4062121c 08068490:trace:reg:NtOpenKey (0x80000002,L"Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug",f003f,0x40744830) 08068490: open_key( parent=-2147483646, access=000f003f, name=L"Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug" ) Open key \\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug 08068490: open_key() = 0 { hkey=32 } 08068490:trace:reg:NtOpenKey <- 0x0020 08068490:trace:heap:HeapFree (40620000,00000002,4062121c): returning TRUE 08068490:trace:reg:RegQueryValueExA (0x20,"Debugger",(nil),0x40744828,0x40744840,0x4074482c=256) 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 4062121c 08068490:trace:reg:NtQueryValueKey (0x20,L"Debugger",2,0x407446f0,256) 08068490: get_key_value( hkey=32, offset=00000000, name=L"Debugger" ) Get key \\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug value "Debugger"="debugger/winedbg %ld %ld" 08068490: get_key_value() = 0 { type=1, len=50, data={64,00,65,00,62,00,75,00,67,00,67,00,65,00,72,00,2f,00,77,00,69,00,6e,00,65,00,64,00,62,00,67,00,20,00,25,00,6c,00,64,00,20,00,25,00,6c,00,64,00,00,00} } 08068490:trace:heap:HeapFree (40620000,00000002,4062121c): returning TRUE 08068490:trace:reg:RegQueryValueExA (0x20,"Auto",(nil),0x40744828,0x40744824,0x4074482c=4) 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 4062121c 08068490:trace:reg:NtQueryValueKey (0x20,L"Auto",2,0x407446f0,256) 08068490: get_key_value( hkey=32, offset=00000000, name=L"Auto" ) Get key \\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug value "Auto"="1" 08068490: get_key_value() = 0 { type=1, len=4, data={31,00,00,00} } 08068490:trace:heap:HeapFree (40620000,00000002,4062121c): returning TRUE 08068490:trace:reg:RegQueryValueExA (0x20,"Auto",(nil),0x40744828,0x40744834,0x4074482c=10) 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 4062121c 08068490:trace:reg:NtQueryValueKey (0x20,L"Auto",2,0x407446f0,256) 08068490: get_key_value( hkey=32, offset=00000000, name=L"Auto" ) Get key \\Machine\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AeDebug value "Auto"="1" 08068490: get_key_value() = 0 { type=1, len=4, data={31,00,00,00} } 08068490:trace:heap:HeapFree (40620000,00000002,4062121c): returning TRUE 08068490: close_handle( handle=32 ) 08068490: close_handle() = 0 { fd=-1 } 08068490:trace:seh:start_debugger Starting debugger (fmt=debugger/winedbg %ld %ld) 08068490:trace:module:CreateProcessA app '(null)' cmdline 'debugger/winedbg 134640208 24' 08068490:trace:heap:HeapAlloc (40620000,00000002,00000020): returning 4062121c 08068490:trace:module:get_file_name trying 'debugger/winedbg' 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 40621248 08068490:trace:dosfs:DOSFS_GetFullName debugger/winedbg.exe (last=1) 08068490:trace:string:lstrcpynA (0x40743e70, "/home/srwalter", 1024) 08068490:trace:string:lstrcpynA (0x40743e7f, "", 1009) 08068490:trace:string:lstrcpynA (0x40744273, "", 1021) 08068490:trace:dosfs:DOSFS_FindUnixName /home/srwalter,debugger/winedbg.exe 08068490:trace:heap:HeapAlloc (40620000,00000002,0000022c): returning 4062126c 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 406214a4 08068490:warn:dosfs:DOSFS_FindUnixName 'debugger/winedbg.exe' not found in '/home/srwalter' 08068490:trace:heap:HeapFree (40620000,00000002,406214a4): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,4062126c): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621248): returning TRUE 08068490:trace:dosfs:DOSFS_GetFullName debugger/winedbg (last=1) 08068490:trace:string:lstrcpynA (0x40743e70, "/home/srwalter", 1024) 08068490:trace:string:lstrcpynA (0x40743e7f, "", 1009) 08068490:trace:string:lstrcpynA (0x40744273, "", 1021) 08068490:trace:dosfs:DOSFS_FindUnixName /home/srwalter,debugger/winedbg 08068490:trace:heap:HeapAlloc (40620000,00000002,0000022c): returning 40621248 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 40621480 08068490:warn:dosfs:DOSFS_FindUnixName 'debugger/winedbg' not found in '/home/srwalter' 08068490:trace:heap:HeapFree (40620000,00000002,40621480): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621248): returning TRUE 08068490:trace:module:get_file_name trying 'debugger/winedbg 134640208' 08068490:trace:heap:HeapAlloc (40620000,00000002,00000020): returning 40621248 08068490:trace:dosfs:DOSFS_GetFullName debugger/winedbg 134640208.exe (last=1) 08068490:trace:string:lstrcpynA (0x40743e70, "/home/srwalter", 1024) 08068490:trace:string:lstrcpynA (0x40743e7f, "", 1009) 08068490:trace:string:lstrcpynA (0x40744273, "", 1021) 08068490:trace:dosfs:DOSFS_FindUnixName /home/srwalter,debugger/winedbg 134640208.exe 08068490:trace:heap:HeapAlloc (40620000,00000002,0000022c): returning 40621274 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 406214ac 08068490:warn:dosfs:DOSFS_FindUnixName 'debugger/winedbg 134640208.exe' not found in '/home/srwalter' 08068490:trace:heap:HeapFree (40620000,00000002,406214ac): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621274): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621248): returning TRUE 08068490:trace:dosfs:DOSFS_GetFullName debugger/winedbg 134640208 (last=1) 08068490:trace:string:lstrcpynA (0x40743e70, "/home/srwalter", 1024) 08068490:trace:string:lstrcpynA (0x40743e7f, "", 1009) 08068490:trace:string:lstrcpynA (0x40744273, "", 1021) 08068490:trace:dosfs:DOSFS_FindUnixName /home/srwalter,debugger/winedbg 134640208 08068490:trace:heap:HeapAlloc (40620000,00000002,0000022c): returning 40621248 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 40621480 08068490:warn:dosfs:DOSFS_FindUnixName 'debugger/winedbg 134640208' not found in '/home/srwalter' 08068490:trace:heap:HeapFree (40620000,00000002,40621480): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621248): returning TRUE 08068490:trace:module:get_file_name trying 'debugger/winedbg 134640208 24' 08068490:trace:heap:HeapAlloc (40620000,00000002,00000024): returning 40621248 08068490:trace:dosfs:DOSFS_GetFullName debugger/winedbg 134640208 24.exe (last=1) 08068490:trace:string:lstrcpynA (0x40743e70, "/home/srwalter", 1024) 08068490:trace:string:lstrcpynA (0x40743e7f, "", 1009) 08068490:trace:string:lstrcpynA (0x40744273, "", 1021) 08068490:trace:dosfs:DOSFS_FindUnixName /home/srwalter,debugger/winedbg 134640208 24.exe 08068490:trace:heap:HeapAlloc (40620000,00000002,0000022c): returning 40621278 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 406214b0 08068490:warn:dosfs:DOSFS_FindUnixName 'debugger/winedbg 134640208 24.exe' not found in '/home/srwalter' 08068490:trace:heap:HeapFree (40620000,00000002,406214b0): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621278): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621248): returning TRUE 08068490:trace:dosfs:DOSFS_GetFullName debugger/winedbg 134640208 24 (last=1) 08068490:trace:string:lstrcpynA (0x40743e70, "/home/srwalter", 1024) 08068490:trace:string:lstrcpynA (0x40743e7f, "", 1009) 08068490:trace:string:lstrcpynA (0x40744273, "", 1021) 08068490:trace:dosfs:DOSFS_FindUnixName /home/srwalter,debugger/winedbg 134640208 24 08068490:trace:heap:HeapAlloc (40620000,00000002,0000022c): returning 40621248 08068490:trace:heap:HeapAlloc (40620000,00000002,00000018): returning 40621480 08068490:warn:dosfs:DOSFS_FindUnixName 'debugger/winedbg 134640208 24' not found in '/home/srwalter' 08068490:trace:heap:HeapFree (40620000,00000002,40621480): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,40621248): returning TRUE 08068490:trace:heap:HeapFree (40620000,00000002,4062121c): returning TRUE 08068490:err:seh:start_debugger Couldn't start debugger (debugger/winedbg 134640208 24) (2) Read the Wine Developers Guide on how to set up winedbg or another debugger 08068490: event_op( handle=24, op=1 ) 08068490: event_op() = 0 08068490:trace:seh:EXC_RtlUnwind code=c0000005 flags=2 08068490:trace:seh:EXC_CallHandler calling handler at 0x4006fbb0 code=c0000005 flags=2 08068490:trace:seh:EXC_CallHandler handler returned 1 08068490: terminate_thread( handle=-2, exit_code=-1073741819 ) 08068490: terminate_thread() = 0 { self=1, last=1 } 08068490: *killed* exit_code=-1073741819 /home/srwalter/.wine/user.reg: saving key \\User\\srwalter /home/srwalter/.wine/system.reg: saving key \\Machine /home/srwalter/.wine/userdef.reg: saving key \\User\\.Default Server: exiting (pid=15202)