Crash reporter

A crash reporter is an application whose function is to report crash details. Crash reports often include data such as stack traces, type of crash, and version of software. This information helps software developers to diagnose and fix the underlying problem causing the crash.

Mac OS X

In Mac OS X there is a standard crash reporter in /System/Library/CoreServices/Crash Reporter.app. Crash Reporter.app sends the Unix crash logs to Apple for their engineers to look at. The top text field of the window has the crash log, while the bottom field is for user comments. Users may also copy and paste the log in their email client to send to the application vendor for them to use. Crash Reporter.app has 3 main modes: display nothing on crash, display "Application has crashed" dialog box or display Crash Report window.

Windows

Microsoft Windows includes a crash reporting service called Windows Error Reporting that prompts users to send crash reports to Microsoft for online analysis.[1] The information goes to a central database run by Microsoft. It consists of diagnostic information that helps the company or development team responsible for the crash to debug and resolve the issue if they choose to do so. Crash reports for third party software are available to third party developers who have been granted access by Microsoft.

Windows probably contains the most sophisticated form of Online Crash Analysis (OCA) to date where the central database can be set up to gather additional information from users that are experiencing a particular type of crash (through user approval). The system considers all parts of the debug and release process, such that targeted bug fixes can be applied through Windows Update. In other words, only people experiencing a particular type of crash can be offered the bug fix, thus limiting exposure to an issue.

According to Der Spiegel, the Microsoft crash reporter has been exploited by NSA's TAO unit to hack into the computers of Mexico's Secretariat of Public Security. According to the same source, Microsoft crash reports are automatically harvested in NSA's XKeyscore database, in order to facilitate such operations.[2]

CrashRpt

Another error reporting library for Windows is CrashRpt. CrashRpt library is a light-weight open source error handling framework for applications created in Microsoft Visual C++ and running under Windows. The library is distributed under New BSD License.

CrashRpt intercepts unhandled exceptions, creates a crash minidump file, builds a crash descriptor in XML format, presents an interface to allow user to review the crash report, and finally it compresses and sends the crash report to the software support team.

CrashRpt also provides a server-side command line tool for crash report analysis named crprober. The tool is able to read all received crash reports from a directory and generate a summary file in text format for each crash report. It also groups similar crash reports making it easier to determine the most popular problems. The crprober tool does not provide any graphical interface, so it is rather cryptic and difficult to use.

There is also an open source server software named CrashFix Server that can store, organize and analyze crash reports sent by CrashRpt library. It can group similar crash reports, has a built-in bug tracker and can generate statistical reports. CrashFix server provides a web-based user interface making it possible for several project members to collaborate (upload debugging symbols, browse crash reports and associate bugs with crash reports).

GNOME

Bug Buddy in GNOME 2.16

Bug Buddy is the crash reporting tool used by the GNOME platform. When an application using the GNOME libraries crashes, Bug Buddy generates a stack trace using gdb and invites the user to submit the report to the GNOME bugzilla. The user can add comments and view the details of the crash report.

KDE

The crash reporting tool used by KDE is called Dr. Konqi. The user can also get a backtrace using gdb.

Mozilla

Talkback

Talkback (also known as the Quality Feedback Agent) was the crash reporter used by Mozilla software up to version 1.8.1 to report crashes of its products to a centralized server for aggregation or case-by-case analysis.[3] Talkback is proprietary software licensed to the Mozilla Corporation by SupportSoft. If a Mozilla product (e.g. Mozilla Firefox, Mozilla Thunderbird) were to crash with Talkback enabled, the Talkback agent would appear, prompting the user to provide optional information regarding the crash. Talkback does not replace the native OS crash reporter which, if enabled, will appear along with the Talkback agent. Talkback has been replaced by Breakpad in Firefox since version 3.

Breakpad

Mozilla Crash Reporter on Debian with Xfce4

Breakpad (previously called Airbag) is an open-source replacement for Talkback. Developed by Google and Mozilla, it is used in current Mozilla products such as Firefox and Thunderbird.[4][5] Its significance is being the first open source multi-platform crash reporting system.

Since 2007, Breakpad is included in Firefox on Windows and Mac OS X, and Linux.[6] Breakpad is typically paired with Socorro which receives and classifies crashes from users.

Breakpad itself is only part of a crash reporting system, as it includes no reporting mechanism.

BugSplat Software

Founded in 2003,[7] BugSplat is an established multi-platform crash reporting solution used to track end-user crashes in software applications: it posts diagnostic reports to the BugSplat Server, giving development teams an indication of application stability. BugSplat is used by the popular online multi-player video game, League of Legends (LoL).[8]

Ubuntu Error tracker

Ubuntu host a public error tracker at errors.ubuntu.com which collects hundreds of thousands of error reports daily from millions of machines.[9] If a program crashes on Ubuntu, a crash handler called "apport" will notify the user and offer to report the crash. If the user chooses to report the crash, the details (possibly including a core dump) will be uploaded to an Ubuntu server (daisy.ubuntu.com) for analysis.[10] A core dump is automatically processed to create a stack trace and crash signature. The crash signature is used to classify subsequent crash reports caused by the same error.

ABRT - Automated Bug-Reporting Tool

Distro-independent while as of 2013 deployed only on Fedora and Red Hat Enterprise Linux distributions, ABRT - Automated Bug-Reporting Tool, intercepts core dumps from applications and (after user-confirmation) sends bug reports to various bug-tracking systems, such as Fedora Bugzilla.

World of Warcraft

World of Warcraft is another program to use its own crash reporter, "Error Reporter". The error reporter may not detect crashes all the time; sometimes the OS crash reporter is invoked instead. Error Reporter has even been known to crash while reporting errors.

Mobile

The Android and iOS operating systems also have built in crash reporting functionality.[11][12]

References

  1. Using Microsoft Online Crash Analysis
  2. http://www.spiegel.de/international/world/the-nsa-uses-powerful-toolbox-in-effort-to-spy-on-global-networks-a-940969-2.html
  3. "Mozilla Talkback server". Retrieved 2006-09-21.
  4. Deploying the Airbag. BSBlog (Mozilla developer Benjamin Smedberg's weblog).
  5. Using Breakpad with Gran Paradiso (1.9a3). BSBlog (Mozilla developer Benjamin Smedberg's weblog).
  6. Bug 381099 – Turn on crash reporting by default (Win+Mac), mozilla.org bug tracker.
  7. http://www.bugsplatsoftware.com/about/
  8. https://support.leagueoflegends.com/entries/22167780-Bug-Splat-Solutions
  9. "Ubuntu Error Tracker".
  10. "ErrorTracker design".
  11. "New Android app crash report tool already up and running". Retrieved 2011-06-04.
  12. "Technical Note TN2151". Retrieved 2011-06-04.

External links

This article is issued from Wikipedia - version of the Saturday, February 27, 2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.