Can you reproduce your crash? Try to add error trap around XFixesDestroyRegion (xdisplay, cw->window_region); line.
Anyway I am starting to think that it is better to add error trap for whole free_win function. -- You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to metacity in Ubuntu. https://bugs.launchpad.net/bugs/1582687 Title: workbench crashes metacity on ubuntu 16.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/1582687/+subscriptions -- desktop-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
