Probably borrowed from a Vulgar Latin root *masteru-, from Latin magister (“master”).
mashtroj (aorist mashtrova, participle mashtruar)