Shortly after purchasing the inspire 1 January 2016 I was on flight when 'compass error' was displayed on the screen. However the aircraft was controllable so I landed and calibrated the compass. Being a regular S900 pilot this disturbed me somewhat, I did not expect it. No further problems till last Sunday May 22 2016. I was around 5 minutes into the flight when the audio signal warned me 'Atti mode', the screen displayed 'compass error' and 'flight record error'. I had no control of the copter, it was at an altitude of 12 to 15 feet and around 50 feet away and just hovering. It then suddenly shot off at a very high speed across the field maintaining altitude. I hit the RTH button and hoped. It worked the copter landed safely. I calibrated the compass and then had 30 minutes of flight without further incidence. Problem is if this had hit anybody it could have done very serious damage or at worst case killed them. This has been reported to DJI but I have now no confidence that it will not happen again with serious consequences. As a fully qualified pilot I own and have flown the F450, F550, Phantom 2, and now P3A for years and the s900 for 3+ years without any malfunctions. It will be sometime before I feel confident of putting the X5 camera on the Inspire!!!!