I get it also, about 1 in 10 uploads causes a kernel panic and the Mac to restart.
Running a 2012 MBP retina with 10.7.5 and an Arduino Micro.
I have a Futaba S148 standard servo connected to the Arduino.
Happens during uploading.
Power for both Arduino and servo is coming from the USB port.
No other USB devices connected.
Anything that can be done?
Try it without the servo wired up. If the problems go away it means your servo is drawing too much current from the arduino/usb port. Servos have motors and can be a real problem trying to run directly from arduino supplied power, most find they have to power their servo(s) from an independent +5vdc voltage source with more current capacity.
Lefty