[Bug 89903] [IVB SNA] sna_dri2_reuse_buffer:370 assertion 'kgem_bo_flink(&to_sna_from_drawable(draw)->kgem, get_private(buffer)->bo) == buffer->name' failed

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 5 07:51:02 PDT 2015


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

--- Comment #9 from Chris Wilson <chris at chris-wilson.co.uk> ---
I couldn't spot any obvious reason for a stale pointer (all the unrefs cleared
the pointer). So I had to look for subtle reasons like being interrupted by a
signal at just the wrong moment:

commit be0fc3ce20fda064d68f38e24717552222d1fd74
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sun Apr 5 15:46:27 2015 +0100

    sna: Block signals while releasing cursor under modeset

    Otherwise we may process a SIGIO moving the cursor away from the CRTC
    causing us to remove the cursor and then process a stale pointer inside
    the modeset after the signal is complete.

    Reported-by: Chris Bainbrigde <chris.bainbridge at gmail.com>
    References: https://bugs.freedesktop.org/show_bug.cgi?id=89903
    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/20150405/7eeb391d/attachment.html>


More information about the intel-gfx-bugs mailing list