[Bug 44648] x64dbg crashes during process attach ( kernel32.GetFinalPathNameByHandle() doesn' t support process image file handles)
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Mar 4 06:57:49 CST 2019
https://bugs.winehq.org/show_bug.cgi?id=44648
Anastasius Focht <focht at gmx.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
URL|https://github.com/x64dbg/x |https://sourceforge.net/pro
|64dbg/releases/download/sna |jects/x64dbg/files/snapshot
|pshot/snapshot_2018-02-24_1 |s/snapshot_2018-02-14_22-42
|3-52.zip |.zip/download
Resolution|--- |INVALID
--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,
I can't reproduce the problem even with original Wine version anymore. No idea
what happened at that time, maybe I had a tainted tree or some special app.
It's unfortunate that I didn't include the the debuggee info (app name) in the
logs.
The referenced x64dbg snapshot isn't available anymore at github site so I took
one nearby from SourceForge:
https://sourceforge.net/projects/x64dbg/files/snapshots/snapshot_2018-02-14_22-42.zip/download
Looking at the original sources of 'devicenameresolver' module there was no
change for long time so I assume every snapshot from 2016 onwards contains the
same code.
https://bitbucket.org/mrexodia/devicenameresolver/commits/branch/master
Debugging x64dbg (64-bit app) itself with x64dbg:
--- snip ---
...
004c:Call KERNEL32.DebugActiveProcess(0000003d,) ret=018a2abd
004c: debug_process( pid=003d, attach=1 )
004c: debug_process() = 0
004c:Ret KERNEL32.DebugActiveProcess() retval=00000001 ret=018a2abd
...
004c:Call KERNEL32.DebugSetProcessKillOnExit(00000001,) ret=018a2b0b
004c: set_debugger_kill_on_exit( kill_on_exit=1 )
004c: set_debugger_kill_on_exit() = 0
004c:Ret KERNEL32.DebugSetProcessKillOnExit() retval=00000001 ret=018a2b0b
004c:Call KERNEL32.WaitForDebugEvent(0191e090,ffffffff,) ret=018c5e53
004c: wait_debug_event( get_handle=1 )
004c: wait_debug_event() = 0 { pid=003d, tid=003e, wait=0000,
event={create_process,file=0164,process=015c,thread=0160,base=140000000,offset=0,size=0,teb=7fffffea8000,start=00000000,name=00010a20,unicode=1}
}
004c:Ret KERNEL32.WaitForDebugEvent() retval=00000001 ret=018c5e53
...
004c:Call
KERNEL32.GetFinalPathNameByHandleW(00000164,0c50ca80,00000104,00000000,)
ret=016a2817
004c:Call ntdll.NtQueryObject(00000164,00000001,0c50c5c0,00000228,0c50c3ac,)
ret=7b49f8aa
004c:trace:ntdll:NtQueryObject
(0x164,0x00000001,0xc50c5c0,0x00000228,0xc50c3ac)
004c: get_handle_unix_name( handle=0164 )
004c: get_handle_unix_name() = 0 { name_len=82,
name="/home/focht/.wine/dosdevices/z:/home/focht/wine-apps/x64dbg/release/x64/x64dbg.exe"
}
004c:Ret ntdll.NtQueryObject() retval=00000000 ret=7b49f8aa
004c:Ret KERNEL32.GetFinalPathNameByHandleW() retval=00000039 ret=016a2817
004c:Call KERNEL32.WideCharToMultiByte(0000fde9,00000000,0c50ca80
L"Z:\\home\\focht\\wine-apps\\x64dbg\\release\\x64\\x64dbg.exe",ffffffff,00000000,00000000,00000000,00000000,)
ret=00cbb1a3
004c:Ret KERNEL32.WideCharToMultiByte() retval=00000036 ret=00cbb1a3
--- snip ---
Resolving 'invalid'.
$ wine --version
wine-3.3
Regards
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list