Go to expo.
Open many workspaces.
Develop fast mouse skills and try to close many workspaces.
If you do it fast enough, generally for closing about three workspaces at once, cinnamon restarts itself.
If you do it yet again, cinnamon crashes but does not start again. You have to ctrl-alt-backspace out of the session.
Not reproduced on latest Cinnamon. Should be solved.
I think there's a problem even in the latest nightlies that shows if you start closing the first workspace and go on from there; Cinnamon sometimes will crash during the reshuffling of windows from the closed workspace to the next one.
@dalcde Cinnamon version 1.6.4 from romeo.
@autarkper Happens even if there are no windows on the workspaces that are closed.
I can reproduce it on my master branch as well. I see a familiar message that comes from Muffin:
Bug in window manager: Workspace does not exist to index!
In _workspacesChanged (expoThumbnail.js), I see the following comment:
// Assume workspaces are only removed sequentially
// (e.g. 2,3,4 - not 2,4,7)
I think this assumption is wrong!
@gauravjuvekar : I have a fix for this on my master branch, https://github.com/autarkper/Cinnamon.
Appears to be fixed in git master, closing.