ReportCrash

Enable or Disable crash reporting via launchtl.

Syntax

      To disable crash reporting:

      launchctl unload -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
      sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist

      To re-enable crash reporting:

      launchctl load -w /System/Library/LaunchAgents/com.apple.ReportCrash.plist
      sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.ReportCrash.Root.plist

ReportCrash analyzes crashing processes and saves a crash report to disk. A crash report contains information that can help a developer diagnose the cause of a crash. ReportCrash also records the identity of the crashing process and the location of the saved crash report in the system.log and the ASL log database.

ReportCrash is invoked automatically by launchd when a crash is detected. For applications and other processes running in the per-user launchd context, ReportCrash runs as a LaunchAgent and saves crash reports in the user's ~/Library/Logs/DiagnosticReports/ directory.

For daemons, other processes running in the system launchd context and other privileged processes, ReportCrash runs as a LaunchDaemon and saves crash reports in the system's /Library/Logs/DiagnosticReports directory where they are only readable by admin users. If there are too many crash reports saved for a particular process, older reports will automatically be removed in order to conserve disk space.

For application crashes (but not background process crashes) ReportCrash will display a dialog notifying the user that the application unexpectedly quit and offering to reopen the application or send the report to Apple. For developers, the behavior of this dialog can be adjusted using /Developer/Applications/Utilities/CrashReporterPrefs.app which is installed as part of the developer tools.

Crash reports which are sent to Apple are submitted anonymously by the SubmitDiagInfo process. The reports are used by Apple to improve its products.

“I hate modern car radios. In my car, I don't even have a push-button radio. It's just got a dial and two knobs. Just AM. One knob makes it louder, and one knob changes the station. When you're driving, that's all I want.” ~ Chris Isaak

Related:

http://bugreporter.apple.com - report bugs (ADC members only)
TN2123 - interpreting the contents of crash reports


Copyright © SS64.com 1999-2017
Some rights reserved