Comment 7 for bug 1582687

"opened the default connection and entered mysql root password."

This should have been in bug report. Now I can reproduce crash... I found were it crashes, but right now I don't know how to correctly fix it...

You can use this to fix crash:
diff --git a/src/compositor/compositor-xrender.c b/src/compositor/compositor-xrender.c
index a9e1de4..364b6cd 100644
--- a/src/compositor/compositor-xrender.c
+++ b/src/compositor/compositor-xrender.c
@@ -1956,7 +1956,10 @@ free_win (MetaCompWindow *cw,

   if (cw->picture)
     {
+ meta_error_trap_push (display);
       XRenderFreePicture (xdisplay, cw->picture);
+ meta_error_trap_pop (display, FALSE);
+
       cw->picture = None;
     }