It doesn't seem to be any reason for it for it to crash. In that case I'd suggest you to reflash your board to see if that improves its behavior and if that doesn't help I'd suggest you to flash version 146. That image is known to have better stability with Arduino sketches and doesn't have some issues with them that 159.devkit do. You can find it in Intel Edison Software Release 2.1.
In version 146 you don't have to follow the Procedure to Autostart the Arduino Sketch on Edison for the sketches to start on boot.