[Bug 52184] New: Initial breakpoint absent when debugging under WinDbg/CDB (build 22000.1)
https://bugs.winehq.org/show_bug.cgi?id=52184 Bug ID: 52184 Summary: Initial breakpoint absent when debugging under WinDbg/CDB (build 22000.1) Product: Wine Version: 6.23 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs(a)winehq.org Reporter: jinoh.kang.kr(a)gmail.com Distribution: --- When debugging with WinDbg or CDB (build 22000.1), the initial breakpoint before the program entry point is not hit at all. This appears to be because DbgEng creates the debug port object with limited access permissions, causing NtQueryInformationProcess/ProcessDebugPort to fail with STATUS_ACCESS_DENIED. This leads to Wine's process_breakpoint() function (called by LdrInitializeThunk) failing to detect that the current process is being debugged, and the initial breakpoint is skipped. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52184 --- Comment #1 from Jinoh Kang <jinoh.kang.kr(a)gmail.com> --- Patch submitted: https://source.winehq.org/patches/data/221588 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52184 Jinoh Kang <jinoh.kang.kr(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |3e2f44300300eb80f1ac1208aac | |8bc59e5e6131d --- Comment #2 from Jinoh Kang <jinoh.kang.kr(a)gmail.com> --- Fix committed: https://source.winehq.org/git/wine.git/?h=3e2f44300300eb80f1ac1208aac8bc59e5... -- 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.
https://bugs.winehq.org/show_bug.cgi?id=52184 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 7.0-rc1. -- 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.
participants (1)
-
WineHQ Bugzilla