It's not the first time, it happened to me a lot.
If I edit a script step that uses a dialog for setting (in that case a sort order), or a calc to be defined. Sometime when I click the ok button to commit the script step setting, it crashes.
Here's the crash log
It's not while saving script, it's committing a script step settings
Mac OS X El Capitan