Skip to content

Releases: rust-minidump/minidump-writer

0.13.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 20 Jul 15:06

Changed

  • PR#174 and PR#175 refactored src/linux/thread_info.
  • PR#181 refactored src/linux/maps_reader and src/linux/module_reader.
  • PR#185 refactored the backend functions to use libc.
  • PR#186 removed the nix dependency.
  • deb17c2 updated crash-context to 0.8, adding loongarch64, riscv, and s390x support, though none of those targets have an implementation in minidump-writer itself as of yet.

Fixed

  • PR#188 fixed the process reader API that was broken by PR#181.

Added

  • PR#184 added a libc backend.

Removed

process-reader-0.1.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 20 Jul 14:44

Added

  • Initial release.

process-backend-0.1.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 20 Jul 14:55

Added

  • Initial release.

crash-context-0.8.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 17 Jul 08:35

Added

  • PR#113 added support for loongarch64 getcontext.

Changed

0.12.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 07 May 18:16

Changed

  • PR#169 updated the crate to edition 2024 and an MSRV of 1.85.0.
  • PR#172 updated dependencies, resolving several audit failures. The MSRV was changed to 1.88.0 due to the time crate.
  • PR#173 replaced the windows-sys dependency introduced in PR#168 with inline bindings.

Fixed

  • PR#164 resolved #163 by avoiding reading Linux distro information on Android.

Added

  • PR#168 resolved MOZ#1831094 by adding functionality for reading process and module reading for each platform minidump-writer targets.

0.11.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 15 Sep 07:10

Changed

  • PR#146 changed windows::MinidumpWriter::dump_crash_context to take crash_context by reference.
  • PR#155 refactored a large portion of the code.

Fixed

  • PR#150 fixed undefined behavior in the Linux crash dump writing.

0.10.2

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 03 Feb 06:08

Added

  • PR#143
    • turn many errors that are currently treated as critical (and thus prevent minidump generation) into non-critical "soft" errors
    • collect non-critical errors and serialize them into a new JSON stream in the minidump

Changed

  • PR#145 updated dependencies.

0.10.1

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 20 Sep 14:27

Fixed

  • PR#129 added checking of additions to ensure invalid memory offsets are gracefully handled.
  • PR#135 resolved #134 by attempting to read the executables build id from the mapped file if it could not be retrieved from process memory.
  • PR#136 changed to an older type to avoid requiring a semi-recent rust version.

0.10.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 20 Aug 12:09

Changed

  • PR#118 resolved #72 by adding support for reading process memory via process_vm_readv and /proc/{pid}/mem, in addition to the original PTRACE_PEEKDATA. This gives significant performance benefits as memory can now be read in blocks of arbitrary size instead of word-by-word with ptrace.
  • PR#128 and PR#133 updated the lockfile.

Fixed

  • PR#127 resolved #27 by allowing programs to pass the needed auxv information, still falling back to reading /proc/{pid}/auxv to fill missing information, and being more permissive by still writing a dump if some or all of the auxv information could not be retrieved successfully rather than completely failing to write the minidump.
  • PR#131 resolved #124 by reinjecting non-SIGSTOP signals after ptrace::attach so that the thread would be in the correct state after ptrace::detach.

0.9.0

Choose a tag to compare

@Jake-Shadle Jake-Shadle released this 20 Jul 10:47

Fixed

  • PR#117 resolved #79 by enabling reading of a module's build id and soname directly from the mapped process rather than relying on file reading, though that is still used as a fallback.

Changed

  • PR#126 updated minidump-common -> 0.22.