A MiG-21 trainer aircraft of the Indian Air Force crashed near the Gwalior airbase on Wednesday, official sources said. Both pilots ejected safely, they said.