Registry / testing / mozcrash

mozcrash

JSON →
library2.2.1pypypiunverified

Library for printing stack traces from minidumps left behind by crashed processes. Version 2.2.1, updated irregularly as part of Mozilla's automation tooling.

pip install mozcrash
INSTALL
IMPORT
SIG · MOZCRASH
M
mozcrash
testingpythonv2.2.1
Install
2.6s avg
Import
Disk
24MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v2.2.1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 28.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.6s · import 0.000s · 29MB
24MB installed
● package 24MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

check_for_crashes
from mozcrash import check_for_crashes
from mozcrash import check_for_crashes

Check for minidumps in a directory and print stack traces.

from mozcrash import check_for_crashes result = check_for_crashes( dump_directory="/path/to/minidumps", symbols_path="/path/to/symbols", test_name="my_test" ) print(result)
mozcrash --version
Debug
Known issues
gotchasymbols_path must point to a directory containing symbol files (e.g., .sym files). If missing, stack traces will be incomplete.
fix
Ensure you have downloaded breakpad symbols for your build.
affects: all
gotchadump_directory must be an absolute path; relative paths may cause failures.
fix
Use os.path.abspath() to convert relative paths.
affects: all
Upgrade
Version history
2.2.1latest on PyPI · released Dec 16, 2024
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
2
Resources
mozcrash — pip install mozcrash · libregistry