It's not just Retina. I'm on a Mid 2012 15" non-retina, 16GB, 2.3 i7 (MacBookPro9,1) I have a second monitor always connected via Thunderbolt => DVI connection, so I'm always using the NVIDIA display (GeForce GT 650M 512MB)
I haven't had the issue with ubuntu, but with my win7x64 VM, it was happening frequently - multiple times per day. On ML10.8.2, Fusion 5.
I've disabled 3D acceleration and haven't had any problems with it since.
I think it was happening before the release of 5.0.2 - but I'm not positive. I reviewed the fixes released in 5.0.2 and don't see anything related to it. I can't really test it because the win7 VM is my "production" machine and I can't afford a crash corrupting it. Hoping it's addressed soon.
HTH
-cohete