[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#901497: XWayland: Hard system hangs after upgrade from Mesa 18.0.5-1 to 18.1.1-1



On Tue, Jun 19, 2018 at 10:14:38AM +0200, Paul Menzel wrote:
> Dear Josh, dear Tehnic, dear Mourad, dear Jacek,
> On 06/16/18 22:37, Josh Triplett wrote:
> > On Thu, Jun 14, 2018 at 11:59:20PM -0700, Josh Triplett wrote:
> >> On Thu, Jun 14, 2018 at 11:56:03PM -0700, Josh Triplett wrote:
> >>> reassign 901497
> >>> retitle 901497 Xwayland: hangs spinning on write and SIGALRM
> >>> thanks
> >>>
> >>> After further investigation, I can reproduce this with Mesa 18.0.5-1 as
> >>> well, just not as often.
> >>>
> >>> After encountering this issue, I managed to switch to a text console,
> >>> and found that Xwayland was using 100% CPU. strace of the running
> >>> Xwayland produced the attached strace, in which Xwayland appears to be
> >>> spinning, running a zero-byte writev, and periodically processing a
> >>> SIGALRM. Other threads appear to be blocked on futexes.
> >>
> >> Forgot to attach the strace, sorry. Will provide one again next time it
> >> happens, but it consisted entirely of "write(14, [], 0) = 0" on one
> >> thread.
> > 
> > Here's a fresh strace. I'm encountering this quite frequently.
> 
> Could you please test if it’s the same issue as [1], and test the two
> X.Org X server commits below [2]?
> 
> 1.  https://cgit.freedesktop.org/xorg/xserver/commit/?id=3da999a
> 2.  https://cgit.freedesktop.org/xorg/xserver/commit/?id=4d5950c

After rebuilding Xwayland with these two patches, I can no longer
reproduce the problem; sites that reliably triggered this issue in
Firefox no longer do.


Reply to: