Mega 2560 randomly hanging

Which version of OS and IDE are you using to test the bootloader interaction with?