This could be caused by an add on such as scenery or aircraft, by plugins, or any combination of them. It could be caused by X-Plane itself. The best things to do are 1) fill out and send the crash report if the window comes up and 2) try to figure out if there are any consistent factors that cause a crash (a specific plane, location, plugin, etc).