Solidworks 2013 crashes on Macro Stop

Every time I hit the record button, then stop, Solidworks crashes. Even if I don't do anything during the recording. Does anyone know how to fix this? Please help.

SolidworksApi macros