[Bug 70944] New: 2.99.905 segfaults frequently when running "x11perf -copyplane500" with SNA

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 28 08:34:15 CET 2013


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

          Priority: medium
            Bug ID: 70944
          Assignee: chris at chris-wilson.co.uk
           Summary: 2.99.905 segfaults frequently when running "x11perf
                    -copyplane500" with SNA
        QA Contact: intel-gfx-bugs at lists.freedesktop.org
          Severity: critical
    Classification: Unclassified
                OS: All
          Reporter: intelgraphics7 at gmx-topmail.de
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: Driver/intel
           Product: xorg

Created attachment 88206
  --> https://bugs.freedesktop.org/attachment.cgi?id=88206&action=edit
Fix for SNA segfault

Running "x11perf -copyplane500" crashes the Xserver in the intel driver code
with a segfault in sna_accel.c:7454 (sna_copy_bitmap_blt()).

The attached patch fixes that for me.
It makes sure that line length variable bw is rounded up correctly.
Otherwise the line length is too short and it allocates not enough graphics
memory for the given operation.

The patch applies this fix for all calculations of bw to make sure other
functions besides the sna_copy_bitmap_blt() don't cause segfaults as well.

Please comment the patch and included it in future releases if it is correct
from your point of view.

-- 
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/20131028/b4d94496/attachment-0001.html>


More information about the intel-gfx-bugs mailing list