#crash #minidump #ipc #out-of-process

minidumper

IPC impl for creating a minidump for a crashed process

5 unstable releases

Uses new Rust 2021

0.5.1 Sep 2, 2022
0.5.0 Jul 21, 2022
0.4.0 Jul 19, 2022
0.3.1 May 25, 2022
0.3.0 May 23, 2022

#189 in Debugging

Download history 85/week @ 2022-06-07 40/week @ 2022-06-14 125/week @ 2022-06-21 67/week @ 2022-06-28 12/week @ 2022-07-05 62/week @ 2022-07-12 165/week @ 2022-07-19 78/week @ 2022-07-26 171/week @ 2022-08-02 168/week @ 2022-08-09 219/week @ 2022-08-16 141/week @ 2022-08-23 280/week @ 2022-08-30 241/week @ 2022-09-06 315/week @ 2022-09-13 295/week @ 2022-09-20

1,177 downloads per month
Used in 4 crates (2 directly)

MIT/Apache

130KB
2.5K SLoC

🔥 minidumper

IPC implementation for creating a minidump for a crashed process

Embark Embark Crates.io Docs dependency status Build status

This crate supplies a client and server IPC implementation for communicating between a process that may crash (client) and a monitor (server) process.

The client can communicate application-specific state via [Client::send_message], and, if a crash occurs, can use [Client::request_dump] to request a minidump be created. The [Server] uses a user implemented [ServerHandler] to handle the messages sent by the client, and provides a way to create the minidump file where a requested crash can be written to, as well as a callback when a minidump is finished writing (both on failure and success) to perform whatever additional steps make sense for the application, such as transmission of the minidump to an external HTTP service for processing or the like.

Contribution

Contributor Covenant

We welcome community contributions to this project.

Please read our Contributor Guide for more information on how to get started. Please also read our Contributor Terms before you make any contributions.

Any contribution intentionally submitted for inclusion in an Embark Studios project, shall comply with the Rust standard licensing model (MIT OR Apache 2.0) and therefore be dual licensed as described below, without any additional terms or conditions:

License

This contribution is dual licensed under EITHER OF

at your option.

For clarity, "your" refers to Embark or any other licensee/user of the contribution.

Dependencies

~2–11MB
~182K SLoC