[Bug 92505] intel(0): [DRI2] DRI2SwapComplete: bad drawable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 26 16:35:57 PST 2016


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

--- Comment #8 from Lim Siew Hoon <siew.hoon.lim at intel.com> ---
The segmentation fault happen based on your log, it looks like trying to access
NULL memory. But I'm not sure you are using which xf86-video-intel version. If
you are using SNA.
And check is this below commit inside your code xf86-video-intel code or not.

commit c4565979572b61cf7fc0b931333c032c88b259f1
Author: Chris Wilson 
Date:   Wed Dec 2 10:06:46 2015 +0000

    sna/dri2: Emit the outstanding signal when eliding a swap

    When we do the exchange for the next swap, we should emit any pending
    completion signal for the previous buffer 

It could be another corner case trigger by this code changed. Worth to give a
try apply this patch see whether it help or not if  the issue is trigger by
this commit "c4565979572b61cf7fc0b931333c032c88b259f1" and if you are using
SNA. 

I did fix similar corner case segmentation fault issue happen in some video
playback in full screen mode. The last flip complete signal may happen after
the sna_dri2_destroy_window function has been called. This leads to calling
frame_swap_complete with a NULL flip drawable. 

And I did send code fixed at here:
http://lists.freedesktop.org/archives/intel-gfx/2016-January/084443.html

-- 
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/20160127/b7753bbc/attachment.html>


More information about the intel-gfx-bugs mailing list