I think the issue will be:

diff --git a/src/sna/gen4_render.c b/src/sna/gen4_render.c
index 00518d4..d08d762 100644
--- a/src/sna/gen4_render.c
+++ b/src/sna/gen4_render.c
@@ -654,9 +654,12 @@ start:
                        goto flush;
        }
 
-       if (unlikely(sna->render.vertex_offset == 0 &&
-                    !gen4_rectangle_begin(sna, op)))
-               goto flush;
+       if (unlikely(sna->render.vertex_offset == 0)) {
+               if (!gen4_rectangle_begin(sna, op))
+                       goto flush;
+               else
+                       goto start;
+       }
 
        assert(op->floats_per_rect >= vertex_space(sna));
        assert(rem <= vertex_space(sna));

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1124576

Title:
  Xorg crashed after feeding nbox=0 to trapezoid emit_boxes()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/1124576/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to