Ah. I believe this is the problem, or at least very closely related:
<http://cgit.freedesktop.org/xorg/xserver/tree/fb/fbseg.c#n693>: if (clip2 != 0 || drawLast) len++;
in combination with these variables:
new_x1 = 36 new_x2 = 0 new_y1 = 16 new_y2 = 0 clip2 = 10 len = 37
This incremented len to 37, extending (in reverse) the line below (0, 0), which leads to a segmentation fault.
Ah. I believe this is the problem, or at least very closely related:
<http:// cgit.freedeskto p.org/xorg/ xserver/ tree/fb/ fbseg.c# n693>:
if (clip2 != 0 || drawLast)
len++;
in combination with these variables:
new_x1 = 36
new_x2 = 0
new_y1 = 16
new_y2 = 0
clip2 = 10
len = 37
This incremented len to 37, extending (in reverse) the line below (0, 0), which leads to a segmentation fault.