Problem after compilation - Arduino Leonardo crashes

You need a Serial.begin() call in setup()