[Bug 77074] Xorg crashes while using Aegisub

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 8 05:04:15 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=77074

--- Comment #57 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to comment #56)
> Created attachment 105888 [details]
> xorg debug log
> 
> Ok. Those commands are amazing. No need to compress anymore. Here it is.

That looks like a u16 underflow. Do you have the stderr available? Usually
/var/log/gdm/:0.log or similar.

This should test the underflow theory:

commit 30932a7b9d255c2037bee19e01aa3edc37b07386
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Mon Sep 8 12:41:06 2014 +0100

    sna: Avoid u16 underflow when computing reserved batch space

    If we filled the batch exactly, then subtract -1 for the reserved
    BATCH_BUFFER_END, it would underflow to a large value - convincing us
    that we had sufficient room to stuff many, many more commands in.

    However, all the callsites should be guarded by checking already that
    they had sufficient space to emit at least one operation...

    References: https://bugs.freedesktop.org/show_bug.cgi?id=77074
    Signed-off-by: Chris Wilson <chris at chris-wilson.co.uk>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20140908/31c6f69b/attachment.html>


More information about the intel-gfx-bugs mailing list