Is it safe to use the same power source for Arduino and its Motor shield?
In my case, when I was running my DC motors at full load, I noticed a large voltage drop in the circuit. This could affect the signals or transmission of data on the Arduino.

It is definitely recommended to power the arduino and motor shield with separate power source. Make sure the the share a common GND.