[Bug 46472] Linux kernel 4.19 breaks startup of BO2 due to change in PTRACE_POKEUSER hw breakpoint behavior

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 14 21:07:39 CST 2019


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

--- Comment #31 from tjb <troyb at us.ibm.com> ---
(In reply to Anthony Jagers from comment #30)
> Update, I have received a flurry of emails since I CC'ed the five
> maintainers of the source file.
> 
> I'll just quote what two unnamed individuals have wrote.
> 
> > there's a post with simple test code showing what the fix aimed for:
> >   https://lore.kernel.org/lkml/[email protected]/
> >
> > it might help narow down the potential issue in set_thread_context
> 
> Someone with access to the app will need to investigate what it's doing,
> specifically how it's trying to set the debug registers and why the
> values that it's setting are causing different behavior with that kernel
> change. Getting an strace of the wineserver process would probably help,
> or else adding printfs to all the PTRACE_PEEKUSER/POKEUSER calls in
> server/ptrace.c.
> 
> _____________________________________________________________________________
> __
> 
> Well that's something.

I tried intercepting the peek and poke calls in ptrace.c but it seems the
program never gets there ... either pilot error on my part (someone should
independently check), or some other library got affected by the kernel change
(maybe even the Nvidia binary blob... but it works fine with other wine
programs besides BO2 on 4.19 with the new breakpoint behavior).  Cue twilight
zone jingle.

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