It sounds like the rear of the shell case ruptured and allowed the escaping gases to exit the least resistance place which was in the magazine area. Many years ago I had the exact same thing happen to me while shooting a FN FAL with new ammo. The case cracked in the extractor groove and the...