CrashProbe provides a set of test crashes that can be used to test crash reporting SDKs and symbolication implementations on iOS and OS X.
This repository contains all the raw data that is gathered for each service and platform.
- There is a main directory for each platform,
ios
andmac
- Each platform directory contains a list of numbered folders, where each folder stands for a specific CrashProbe test case.
- Each test case folder contains a
data.json
folder with meta data for the test case and results for each service provider. - Each provider has one file per CPU architecture with the filename scheme
_{provider_name}_{cpu_arch}.crash
{provider_name}
corresponds the item key value in thedata.json
file (here in lowercase)!{cpu_arch}
can have the valuesarmv7
orarm64
for iOS, andx86_64
for OS X
- Relevant provider data in
data.json
:probes
: Array for all providers, with one item per provider. Please add a new item for a new provider.- item key: Short name of the provider without spaces. This value is also used in the
.crash
filenames. armv7
: Test result value for armv7 architecture (iOS only)armv64
: Test result value for arm64 architecture (iOS only)x86_64
: Test result value for X86-64 architecture (OS X only)- Possible test result values:
complete
: The crash report is 100% accurate and matches the control flow of the app. Exceptions also contain the exception reason.incomplete
: The crash report has missing frames, wrong class names, wrong methods, or shows wrong line numbers.wrong
: No crash report created or the crash report did not contain the method that caused the crash.
- Each crash report should match the Apple style stack trace format as good as possible to make it easier to compare the data for viewers
- Each item in the stack trace should be marked with pre-defined HTML to highlight any missing or wrong content.
{stack frame}
is the placeholder for each stack frame.- Wrong line number:
<span class="cp-wrong">{stack frame} | Wrong line number</span>
- Missing line number:
<span class="cp-wrong">{stack frame} | Missing line number</span>
- Missing filename, and line number:
<span class="cp-wrong">{stack frame} | Missing filename, and line number</span>
- Missing class:
<span class="cp-wrong">{stack frame} | Missing class</span>
- Missing class, and method:
<span class="cp-wrong">{stack frame} | Missing class, and method</span>
- Missing class, method, filename, and line number:
<span class="cp-wrong">{stack frame} | Missing class, method, filename, and line number</span>
- Invalid / wrong / non-real frame:
<span class="cp-wrong">{stack frame} | Invalid frame</span>
- Crashing frame missing:
<span class="cp-wrong">Missing frame that shows where the crash occured</span>
- Exception details/reason missing:
<span class="cp-wrong">Missing exception details</span>
- No report and app doesn't crash and locks up:
<span class="cp-wrong">No report, app locks up.</span>
- No report:
<span class="cp-wrong">No report</span>
- Wrong line number:
We welcome crash reporting service providers to send us their test data via pull requests. To create valid test data please use our CrashProbe client repo for either iOS or OSX test client which can be found here: CrashProbe Client
Please also provide a link to a public repository on GitHub containing a configured version of CrashProbe including the SDK used for the test. This will make any result more transparent for every user and also speeds up the validation process on our side. There is no need to include the API-Keys of the SDK into the repository.
Example public repository: https://github.com/bitstadium/CrashProbe-HockeyApp
Example pull request: #1
Please use the following template for the pull request description:
Provider name:
Username and password for the account containing the data:
URL to the data on the providers website if available:
Repository URL:
Date of testing:
SDK-Version:
Swift-Version:
Test environment per architecture: (Device name, OS Version)
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
You must sign a Contributor License Agreement before submitting your pull request. To complete the Contributor License Agreement (CLA), you will need to submit a request via the form and then electronically sign the CLA when you receive the email containing the link to the document. You need to sign the CLA only once to cover submission to any Microsoft OSS project.
- Use one app version per CPU architecture, to more easily identify each test case for each CPU architecture
- Test each architecture and test case one after another, so install, run the test, collect the data from the provider, continue with the next test. This makes sure that the result of each test case is identified correctly.
The test case data providers per service:
- Apple: Bit Stadium GmbH
- Bugsee: Bugsee, Inc
- Bugsnag: Bugsnag, Inc
- Crashlytics: Bit Stadium GmbH
- Crittercism: Bit Stadium GmbH
- HockeyApp: Bit Stadium GmbH
- New Relic: Bit Stadium GmbH
- Raygun: Raygun Limited
- Splunk MINT Express: Bit Stadium GmbH
This test data is released under the MIT license.