This is a known issue with MATLAB R2017a on macOS and has been fixed in MATLAB R2017b.
See the following bug report, which provides a patch and instructions on how to fix this problem:
MATLAB can sporadically crash when started on a Mac
If your Mac crash does not have this stack trace then please look at this article for generic MATLAB crashes on Mac.
Why will MATLAB not start up properly on my Mac?
If you continue to have issues with MATLAB after following the bug report above, contact the MathWorks Licensing and Installation Support team for assistance.
Best Answer