This issue affects Android studio also. I fixed the crash via this changes.
```
diff --git a/decorations/DecoratedWindow.cpp b/decorations/DecoratedWindow.cpp
index ed5548f5e..72096765b 100644
--- a/decorations/DecoratedWindow.cpp
+++ b/decorations/DecoratedWindow.cpp
@@ -750,6 +750,9 @@ void Window::Impl::ComputeShapedShadowQuad()
   unsigned int radius = active() ? manager_->active_shadow_radius() : 
manager_->inactive_shadow_radius();
 
   Shape shape(win_->id());
+  if (shape.GetRectangles().size() == 0)
+    return;
+
   auto const& border = win_->borderRect();
   auto const& shadow_offset = manager_->shadow_offset();
 
```
This code avoid invalid shape object.
I tested it in Ubuntu 20.04 virtual machine. Now compiz doesn't crash after 
`ffmvforce test`.
Thanks you for the easy reproduction way.

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

Title:
  Desktop crash

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


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

Reply via email to