This is believed to caused by a bug in glibc 2.19, the default in Ubuntu 14.04. The upstream bug report can be found below:
The bug can cause sporadic crashes during various actions within MATLAB.
As a workaround, I recommend upgrading Ubuntu versions to a version with glibc 2.21 installed by default, or working with the Ubuntu community to upgrade the glibc version on 14.04 to 2.21 or later.
If you still run into issues after upgrading glibc to 2.21 or later, please contact Technical Support.