For e0d02d0e2ed785 you may only need to test this hunk:

@@ -490,10 +499,13 @@ mtk_region_apply_matrix_transform_expand (const MtkRegion 
  *region,
   MtkRectangle *rects;
   int n_rects, i;
 
+  n_rects = mtk_region_num_rectangles (region);
+  if (!n_rects)
+    return mtk_region_create ();
+
   if (graphene_matrix_is_identity (transform))
     return mtk_region_copy (region);
 
-  n_rects = mtk_region_num_rectangles (region);
   MTK_RECTANGLE_CREATE_ARRAY_SCOPED (n_rects, rects);
   for (i = 0; i < n_rects; i++)
     {

... unless you're unlucky and that just moves the crash to a new
location.

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

Title:
  gnome-shell SIGSEGV in pixman_region32_n_rects from libmutter-14 paint
  path (Wayland), GDM greeter shell also crashes

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/2167614/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to