Normally composed Roger Federer lost his cool after a series of missed backhands, but still advanced to the third round of the French Open.