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@winehq.org Reporter: qsniyg@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.
https://bugs.winehq.org/show_bug.cgi?id=49903
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #1 from Austin English austinenglish@gmail.com --- Patches aren't picked up from bugzilla; they should be sent to wine-devel@winehq.org. See https://wiki.winehq.org/Submitting_Patches for more info.