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.
This issue affects Android studio also. I fixed the crash via this changes. DecoratedWindow .cpp b/decorations/ DecoratedWindow .cpp .72096765b 100644 DecoratedWindow .cpp DecoratedWindow .cpp :Impl:: ComputeShapedSh adowQuad( ) ->active_ shadow_ radius( ) : manager_ ->inactive_ shadow_ radius( );
```
diff --git a/decorations/
index ed5548f5e.
--- a/decorations/
+++ b/decorations/
@@ -750,6 +750,9 @@ void Window:
unsigned int radius = active() ? manager_
Shape shape(win_->id()); GetRectangles( ).size( ) == 0) ->shadow_ offset( );
+ if (shape.
+ return;
+
auto const& border = win_->borderRect();
auto const& shadow_offset = manager_
```
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.