If the Mozilla Crash Reporter appears, when you try to quit or exit Firefox, the most common cause of the crash is a problematic extension. To identify which extension is at fault and disable it, see Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems.
For troubleshooting other types of Firefox crashes, see Troubleshoot Firefox crashes (closing or quitting unexpectedly).