It looks like this is an old trouble, maybe related to memory or an internal process in mafft, as observed here: