Sounds like a voltage issue. Weak battery most likely. The engine pulls a lot of amps during cranking and the voltage to the unit is probably dropping and causing it to shut down. When you are recording, the unit needs more power than when its just in normal operation.
Check the battery or isolate the unit from the cranking battery and see what happens.
Robert