Provide an actual crash log and someoen might have an idea, but otherwise this may not be going anywhere. From soem driver not unloading to a security vioaltion when the preferences are written to disk to cache cleanup there could be a million reasons for this and it's simply not possible to isolate the cause without further info.
It seems that the OS X window server is crashing because it does not receive any feedback when it's calling the AE app. So it basicalyl never knows if the app is still active. Hard to say what would fix it, but at the very least I would create a new user and see if this makes any difference. Outside that I can only imagine the usual stuff of updating the graphics driver, but the options are apparently limited on Macs.