[Bug 50194] x64dbg snapshots >= 2020-11-12_05-12 crash on unimplemented function ntdll.dll.NtCreateDebugObject when attaching to process

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jan 27 18:04:14 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=50194

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
      Fixed by SHA1|                            |5ebc20c65609cc1b8643b427104
                   |                            |ed386094a65c1
                URL|https://sourceforge.net/pro |https://web.archive.org/web
                   |jects/x64dbg/files/snapshot |/20210127234740/https://git
                   |s/snapshot_2020-11-12_05-12 |hub.com/x64dbg/x64dbg/relea
                   |.zip/download               |ses/download/snapshot/snaps
                   |                            |hot_2021-01-14_13-25.zip

--- Comment #1 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

this is fixed by commit
https://source.winehq.org/git/wine.git/commitdiff/5ebc20c65609cc1b8643b427104ed386094a65c1
("ntdll: Implement NtCreateDebugObject().").

Thanks Alexandre

--- snip ---
$ WINEDEBUG=+seh,+relay,+ntdll,+sync,+server wine ./x32dbg.exe >>log.txt 2>&1
...
0144:Call ntdll.NtCreateDebugObject(7ff52f24,001f000f,0636fe44,00000000)
ret=034f22e4
0144: create_debug_obj( access=001f000f,
objattr={rootdir=0000,attributes=00000000,sd={},name=L""} )
0144: create_debug_obj() = 0 { handle=0218 }
0144:Ret  ntdll.NtCreateDebugObject() retval=00000000 ret=034f22e4
0144:Call ntdll.NtOpenProcess(0636fe78,00000c3a,0636fe5c,0636fe3c) ret=034f2355
0144: open_process( pid=0130, access=00000c3a, attributes=00000000 )
0144: open_process() = 0 { handle=021c }
0144:Ret  ntdll.NtOpenProcess() retval=00000000 ret=034f2355
0144:Call ntdll.NtDebugActiveProcess(0000021c,00000218) ret=034f2377
0144:fixme:process:NtDebugActiveProcess (0x21c 0x218), stub!
0144:Ret  ntdll.NtDebugActiveProcess() retval=00000000 ret=034f2377 
...
--- snip ---

https://web.archive.org/web/20210127234740/https://github.com/x64dbg/x64dbg/releases/download/snapshot/snapshot_2021-01-14_13-25.zip

Next is bug 50195 ("x64dbg snapshots >= 2020-11-12_05-12 need
ntdll.dll.NtDebugActiveProcess implementation to debug process via attach").

$ sha1sum snapshot_2021-01-14_13-25.zip 
e39756243f419db6f4d2213227ab266ae0618163  snapshot_2021-01-14_13-25.zip

$ du -sh snapshot_2021-01-14_13-25.zip 
32M    snapshot_2021-01-14_13-25.zip

$ wine --version
wine-6.0-271-g24b9203d354

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