[Bug 49903] New: TEB breakpoint should not be invoked when calling NtCreateThreadEx

WineHQ Bugzilla wine-bugs at winehq.org
Sun Sep 27 20:46:13 CDT 2020


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

            Bug ID: 49903
           Summary: TEB breakpoint should not be invoked when calling
                    NtCreateThreadEx
           Product: Wine
           Version: 5.18
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ntdll
          Assignee: wine-bugs at winehq.org
          Reporter: qsniyg at mail.com
      Distribution: ---

Created attachment 68263
  --> https://bugs.winehq.org/attachment.cgi?id=68263
patch to avoid teb breakpoint

Certain DRMs add a breakpoint on the TEB, and NtCreateThreadEx invokes the
breakpoint through GetCurrentProcessId()
(NtCurrentTeb()->ClientId.UniqueProcess).

I've attached a patch that works around this issue. This is definitely a
stop-gap solution, but it should work for the time being.

-- 
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