Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.5: Disable the CrashReporter application System 10.5
While people have pointed out that the CrashReporter dialog box may be disabled, this still runs the CrashReporter on each application failure, and writes a crash report to disk. Since it can take a long time to write the report, developers may want to disable crash reports entirely. Here is how.

From within a Terminal.app window, you have to run the following command once:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.plist
You then have to run the following command every time you log in. (I added it to my ~/.bash_profile file, which is good enough for running tests.)
launchctl unload /System/Library/LaunchDaemons/com.apple.ReportCrash.plist
Note that running defaults write com.apple.CrashReporter DialogType none definitely doesn't have the same effect as the above -- it disables the crash dialog, but Crash Reporter still contributes to the heat death of the universe.

If this hint works, you can thank Tim Shead of K3D fame. If not, feel free to clean up the broken pieces.

[robg adds: I haven't tested this one.]
    •    
  • Currently 2.21 / 5
  You rated: 4 / 5 (57 votes cast)
 
[14,571 views]  

10.5: Disable the CrashReporter application | 2 comments | Create New Account
Click here to return to the '10.5: Disable the CrashReporter application' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Get the Dev tools...
Authored by: slb on Sep 16, '09 11:11:55AM

I think it's part of the XCode package, but there's an app you can get if you sign-up for a free developer account at Apple.
In Developer/Applications/ you get "CrashReporterPrefs" app.
You can set there as well.
The download is worth having as there's lots of goodies there like this.

Scott



[ Reply to This | # ]
10.5: Disable the CrashReporter application
Authored by: Kai Koehne on Feb 28, '10 01:45:41AM

@slb: The preference pane will only allow you to configure whether the dialog pops up or not ... this won't surpress the generation of the crash reports, which can take quite a long time.

In general the tip works, but you've to run it without "sudo" for applications run by the user. It's also documented properly on the ReportCrash man page: http://developer.apple.com/mac/library/documentation/Darwin/Reference/ManPages/man8/ReportCrash.8.html



[ Reply to This | # ]