If you are working in Logic and it is quitting unexpectedly, there is a chance that Logic is using too much of your computer's CPU. You may need to change your Logic settings or try unloading some plugins on your project, depending on the power of your operating system.