Arduino nano crashes - please advise

Make a test firmware that toggles the relays every second and put an oscilloscope probe on the signals and power lines.