crash-context
Provides portable types containing target specific contextual information at the time of a crash
0.8.0
6.5M downloads/mo
#3941 most downloaded on crates.io
rust-minidump/minidump-writer
What this package is like to depend on
Last release 1 months ago
17 Jul 2026
Release timing varies
gaps range from 8 days to 1.5 years
Most releases are documented
notes for 13 of 16 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
16 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
16 releases · Mar 2022 to Jul 2026Releases
latest 16-
0.8.017 Jul 2026Release notes
Open source →Added
- PR#113 added support for loongarch64
getcontext.
Changed
- PR#190 moved this crate from https://github.com/EmbarkStudios/crash-handling.
Release notes
Open source →Removed
- PR#77 removed the dependency on
winapi, all bindings are either part ofminidump-writerorcrash-contextnow.
Changed
Fixed
- PR#68 resolved #29 by ignoring the bening
ESRCHerror when detaching pthreads. Thanks @afranchuk! - PR#74 resolved #73 by ensuring the
NT_GNU_BUILD_IDsection had the proper correctGNUname before using it as the build identifier.
Release notes
Open source →Added
- PR#113 added support for loongarch64
getcontext.
Changed
- PR#190 moved this crate from https://github.com/EmbarkStudios/crash-handling.
- PR#113 added support for loongarch64
-
0.7.013 Jan 2026 -
0.6.325 Jul 2024 -
0.6.208 Jun 2024 -
0.6.119 Jun 2023Release notes
Open source →Added
- PR#76 added support for
i686-linux-androidandx86_64-linux-android. Thanks @gabrielesvelto!
- PR#76 added support for
-
0.6.003 Apr 2023Release notes
Open source →Changed
- PR#60 removed the dependency on
windows-sysdue the massive version churn, resolving #58. This should allow projects to more easily integrate this crate into their project without introducing multiple versions of transitive dependencies. - PR#62 replaced
MDExceptionCodeLinuxwithminidump_common::ExceptionCodeLinux. - PR#64 updated dependencies.
Release notes
Open source →Changed
- PR#70 removed the
winapidependency in favor of embedded bindings to avoid dependencies. - PR#70 removed the asm implementations for Windows CPU context retrieval in favor of using
RtlCaptureContext. This means that floating state is not captured, but is otherwise and improvement.
Added
- PR#68 added capture context support for x86 Windows, but this change was supplanted in PR#70 to use
RtlCaptureContextinstead.
Fixed
- PR#71 fixed the definition of
mcontext_tfori686-unknow-linux. Thanks @afranchuk!
- PR#60 removed the dependency on
-
0.5.117 Nov 2022 -
0.5.017 Nov 2022Release notes
Open source →Changed
- PR#53 made the
mem_writeranddir_sectionmodules public. Thanks @sage-msft! - PR#55 bumped
nix,minidump-common,minidump,minidump-processoranddump_syms. Thanks @sfackler! - PR#57 bumped
windows-systo 0.42.
Removed
- PR#56 removed the writing of the HandleOperationListStream stream, as it was essentially untested and was of dubious usefulness.
Release notes
Open source →Added
- PR#62 added a replacement implementation of
RtlCaptureContext, and defines its ownCONTEXTstructure. This was needed due to bothwinapiandwindows-sysincorrectly defining theCONTEXTand related structures on both x86_64 and aarch64 to not be correctly aligned, as well asRtlCaptureContextnot actually capturing the floating point and vector state.
- PR#53 made the
-
0.4.021 Jul 2022Release notes
Open source →Added
- PR#46 added support for unpacking
EXC_RESOURCEexceptions on MacOS. - PR#47 added support for unpacking
EXC_GUARDexceptions on MacOS.
Changed
- PR#47 changed
ExceptionInfoto use unsigned types for all of its fields. While these are declared as signed, in practice all usage of them is as unsigned integers.
Fixed
- PR#47 fixed a potential issue with the IPC exception passing due to the structure's not being
#[repr(C, packed(4))], and the receiving side not (properly) accounting for the trailer that is added by the kernel to every mach msg.
- PR#46 added support for unpacking
-
0.3.125 May 2022Release notes
Open source →Changed
- Updated to
minidump-writer0.2.1 which includes support for MacOS thread names, and aligns on crash-context 0.3.0.
- Updated to
-
0.3.023 May 2022Release notes
Open source →Fixed
- PR#42 resolved #41 by capping the VM read of task memory to avoid a syscall failure, as well as made it so that if an error does occur when reading the module's file path, the module is still written to the minidump, as the file path is less important than the UUID in terms of module identification.
- PR#44 resolved #43 by correctly calculating the base address of each loaded module. The bug was inherited from Breakpad.
- PR#44 and PR#45 resolved #37 by making the
crash_context::CrashContextoptional on MacOS and Windows, to make creating a minidump without necessarily having an actual crash more convenient for users.
Release notes
Open source →Added
- First usable release of
crash-context,crash-handler,sadness-generator, andminidumpercrates.
-
0.2.029 Apr 2022Release notes
Open source →Added
- PR#21 added an initial implementation for
x86_64-apple-darwinandaarch64-apple-darwin
- PR#21 added an initial implementation for
-
0.1.021 Apr 2022Release notes
Open source →Added
- Initial release, including basic support for
x86_64-unknown-linux-gnu/muslandx86_64-pc-windows-msvc
<!-- next-url --> [Unreleased]: https://github.com/rust-minidump/minidump-writer/compare/0.13.0...HEAD [0.13.0]: https://github.com/rust-minidump/minidump-writer/compare/0.12.0...0.13.0 [0.12.0]: https://github.com/rust-minidump/minidump-writer/compare/0.11.0...0.12.0 [0.11.0]: https://github.com/rust-minidump/minidump-writer/compare/0.10.2...0.11.0 [0.10.2]: https://github.com/rust-minidump/minidump-writer/compare/0.10.1...0.10.2 [0.10.1]: https://github.com/rust-minidump/minidump-writer/compare/0.10.0...0.10.1 [0.10.0]: https://github.com/rust-minidump/minidump-writer/compare/0.9.0...0.10.0 [0.9.0]: https://github.com/rust-minidump/minidump-writer/compare/0.8.9...0.9.0 [0.8.9]: https://github.com/rust-minidump/minidump-writer/compare/0.8.8...0.8.9 [0.8.8]: https://github.com/rust-minidump/minidump-writer/compare/0.8.7...0.8.8 [0.8.7]: https://github.com/rust-minidump/minidump-writer/compare/0.8.6...0.8.7 [0.8.6]: https://github.com/rust-minidump/minidump-writer/compare/0.8.5...0.8.6 [0.8.5]: https://github.com/rust-minidump/minidump-writer/compare/0.8.4...0.8.5 [0.8.4]: https://github.com/rust-minidump/minidump-writer/compare/0.8.3...0.8.4 [0.8.3]: https://github.com/rust-minidump/minidump-writer/compare/0.8.2...0.8.3 [0.8.2]: https://github.com/rust-minidump/minidump-writer/compare/0.8.1...0.8.2 [0.8.1]: https://github.com/rust-minidump/minidump-writer/compare/0.8.0...0.8.1 [0.8.0]: https://github.com/rust-minidump/minidump-writer/compare/0.7.0...0.8.0 [0.7.0]: https://github.com/rust-minidump/minidump-writer/compare/0.6.0...0.7.0 [0.6.0]: https://github.com/rust-minidump/minidump-writer/compare/0.5.0...0.6.0 [0.5.0]: https://github.com/rust-minidump/minidump-writer/compare/0.4.0...0.5.0 [0.4.0]: https://github.com/rust-minidump/minidump-writer/compare/0.3.1...0.4.0 [0.3.1]: https://github.com/rust-minidump/minidump-writer/compare/0.3.0...0.3.1 [0.3.0]: https://github.com/rust-minidump/minidump-writer/compare/0.2.1...0.3.0 [0.2.1]: https://github.com/rust-minidump/minidump-writer/compare/0.2.0...0.2.1 [0.2.0]: https://github.com/rust-minidump/minidump-writer/compare/0.1.0...0.2.0 [0.1.0]: https://github.com/rust-minidump/minidump-writer/releases/tag/0.1.0
Release notes
Open source →Added
- Initial publish of crash-handler with Linux, Windows, and MacOS support
- Initial release, including basic support for
-
0.0.329 Mar 2022Nothing published for this version
-
0.0.216 Mar 2022Nothing published for this version
-
0.0.115 Mar 2022Nothing published for this version