How to diagnose a graphic looking bug?
Looks like an issue with GPU drivers. I have such issues on other machines with other versions of OSX time to time. Most of them are likely addressed in next versions of OSX.

I would start with checking Console.app. Various subsystem might log some useful information.