PackageTrack
Sign in Get early access

backtrace

A library to acquire a stack trace (backtrace) at runtime in a Rust program.

0.3.76 473M downloads/mo #248 most downloaded on crates.io rust-lang/backtrace-rs

What this package is like to depend on

Last release 11 months ago

26 Sep 2025

Ships fairly regularly

a new release about every 3 months

Rarely documented

notes for 9 of 87 stable releases

3 versions withdrawn

withdrawn after publishing

11 years old

90 releases · first in 2015

1 release in the last 12 months

see the full history below

Release timeline

90 releases · Jun 2015 to Sep 2025
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 60 of 90
  1. 0.3.76 26 Sep 2025
    Release notes

    Behavior

    • Fix inverted polarity of "full printing" logic in #726:
      Previously we used to do the opposite of what you would expect.

    Platform Support

    • Windows: Removed hypothetical soundness risk from padding bytes in #737
    • Fuchsia: Added appropriate alignment checks during Elf_Nhdr parsing in #725
    • Cygwin: Added support in #704
    • Windows (32-bit Arm): Restore support in #685
    • NuttX (32-bit Arm): Use builtin _Unwind_GetIP in #692
    • RTEMS: Enable libunwind in #682

    Dependencies

    • Update cpp_demangle to 0.5 in #732
    • Update memchr to 2.7.6 in #734
    • Switch from windows-targets to windows-link in #727
    • Update ruzstd to 0.8.1 in #718
    • Update object to 0.37 in #718
    • Update addr2line to 0.25 in #718
    Open source →
  2. 0.3.75 06 May 2025
    Release notes

    What's Changed

    • Add support for symbolicating APK/ZIP-embedded libraries on Android in #662
    • Support zstd-compressed ELF sections in #626
    • Recognize windows-sys signatures as "C" or "system" depending on cfg in #677
    • Enable libunwind for rtems in #682
    • MSRV is now 1.79

    New Contributors

    Full Changelog: 0.3.74...0.3.75

    Open source →
  3. 0.3.74 08 Sep 2024
    Release notes

    What's Changed

    • QNX Neutrino 7.0 support, thanks to @nyurik in #648
    • Cleaned up our Android support. This should massively improve backtraces for ones with the API level sufficient to ship with libunwind, etc. Unfortunately, it comes at the cost of dropping support for older ones! Thanks to @fengys in #656
    • Made PrintFmt, which was using the Enum::__NonExhaustiveVariant pattern, use #[non_exhaustive] for real. Don't @ me if you were matching on that! Thanks to @nyurik in #651
    • Massively cleaned up the windows code! We moved from winapi to windows-sys with windows-targets thanks to @CraftSpider and @ChrisDenton in
    • A bunch of updated dependencies. Thanks @djc and @khuey!
    • Sorry if you were testing this code in miri! It started yelling about sussy casts. A lot. We did a bunch of internal cleanups that should make it quiet down, thanks to @workingjubilee in #641
    • Uhhh we had to tweak dl_iterate_phdr in #660 after Android revealed it was... kind of unsound actually and not doing things like checking for null pointers before making slices! WHOOPS! Thanks to @saethlin for implementing detection for precisely that in rustc! It's really hard to find soundness issues in inherited codebases like this one...

    New Contributors

    Full Changelog: 0.3.73...0.3.74

    Open source →
  4. 0.3.73 12 Jun 2024
    Release notes

    This basically just is bugfixes so that backtrace works on Windows 7 again.

    What's Changed

    New Contributors

    Full Changelog: 0.3.72...0.3.73

    Open source →
  5. 0.3.72 28 May 2024
    Release notes

    This release removes a lot of dead code. Some feature flags that haven't done anything in a long time are gone. If you depend on those features, Cargo's resolver will not update you to 0.3.72.

    If your code runs on Windows, or you want it to run on visionOS, however, you should probably update to this version. It contains a number of fixes for both OS. It also uses the latest version of a number of dependencies.

    What's Changed

    New Contributors

    Full Changelog: 0.3.71...0.3.72

    Open source →
  6. 0.3.71 22 Mar 2024
    Release notes

    This is mostly CI changes, with a very mild bump to our effective cc crate version recorded, and a small modification to a previous changeset to allow backtrace to run at its current checked-in MSRV on Windows. Sorry about that! We will be getting 0.3.70 yanked shortly.

    What's Changed

    New Contributors

    Full Changelog: 0.3.70...0.3.71

    Open source →
  7. 0.3.70 21 Mar 2024 withdrawn
    Release notes

    New API

    • A BacktraceFrame can now have resolve(&mut self) called on it thanks to @fraillt in #526

    Platform Support

    We added support for new platforms in this release!

    • Thanks to @bzEq in #508 we now have AIX support!
    • Thanks to @sthibaul in #567 we now have GNU/Hurd support!
    • Thanks to @dpaoliello in #587 we now support "emulation-compatible" AArch64 Windows (aka arm64ec)

    Windows

    SGX

    Thanks to

    • Adjust frame IP in SGX relative to image base by @mzohreva in #566

    Internals

    We did a bunch more work on our CI and internal cleanups

    New Contributors

    Full Changelog: 0.3.69...0.3.70

    Open source →
  8. 0.3.69 22 Aug 2023
    Release notes

    Thank you everyone for contributing to a very nice release!

    Tracking Binary Size

    As backtrace-rs is compiled into every single Rust program, we have begun tracking its binary size in order to find ways to reduce its impact on programs that only minimally use backtraces over time. This change is mostly relevant to this crate's CI, and has been implemented by @Kobzol and @detly over PRs #542, #544, #546, and #550!

    Platform-Specific Fixes

    As usual, the majority of PRs for this release only affect 1 or 2 platforms. Technically, even the binary-size tracking is only implemented to track binary size on x86_64-unknown-linux-gnu.

    fuchsia

    Backtraces for Fuchsia will now uses extended symbolization thanks to @liudangyi in #559

    unix (with procfs)

    Many Unix-y platforms support /proc, including Linux and FreeBSD, but not OpenBSD. For those which do, backtrace uses /proc/self/maps to assist in recovering the trace. We did not parse the output of /proc/self/maps in a way that accounted for the fact that it may have spaces in path names, but this was fixed thanks to @MasonRemaley in #553

    windows-msvc

    Some changes that should help binary size specifically on Windows MSVC targets, or at least compile times, have already been implemented, thanks to @klensy in #543 omitting compiling-in ELF backtrace capabilities. We don't have full binary size tracking for all major supported operating systems yet, so we believe this is worth 30KiB but that's more of an estimate than hard stats.

    Dependency Management

    • Update addr2line and object dependencies by @philipc in #557
    • Exclude ci directory from packaged crate by @mulkieran in #555
    • Enable calling build.rs directly from std/build.rs by @pitaj in #556

    New Contributors

    Full Changelog: 0.3.68...0.3.69

    Open source →
  9. 0.3.68 29 Jun 2023
    Release notes

    A bunch of behind-the-scenes work on upgrading CI has finally got things to a place where we can do confident releases again, so hopefully the next backtrace version will not take 6 months! Thanks to everyone who contributed to that! Most of the user-facing changes are about dependency updates and consequent improved platform compatibility, including with split DWARF. A few new functions on BacktraceFmt should also make it easier to inject additional text into backtrace's output.

    New Contributors

    Full Changelog: 0.3.67...0.3.68

    Open source →
  10. 0.3.67 14 Dec 2022
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 0.3.66...0.3.67

    Open source →
  11. 0.3.66 07 Jul 2022

    Nothing published for this version

  12. 0.3.65 18 Apr 2022

    Nothing published for this version

  13. 0.3.64 28 Jan 2022

    Nothing published for this version

  14. 0.3.63 01 Nov 2021

    Nothing published for this version

  15. 0.3.62 20 Oct 2021

    Nothing published for this version

  16. 0.3.61 26 Jul 2021

    Nothing published for this version

  17. 0.3.60 03 Jun 2021

    Nothing published for this version

  18. 0.3.59 07 May 2021

    Nothing published for this version

  19. 0.3.58 27 Apr 2021

    Nothing published for this version

  20. 0.3.57 20 Apr 2021

    Nothing published for this version

  21. 0.3.56 21 Jan 2021

    Nothing published for this version

  22. 0.3.55 20 Nov 2020

    Nothing published for this version

  23. 0.3.54 30 Oct 2020

    Nothing published for this version

  24. 0.3.53 11 Oct 2020

    Nothing published for this version

  25. 0.3.52 08 Oct 2020

    Nothing published for this version

  26. 0.3.51 29 Sep 2020

    Nothing published for this version

  27. 0.3.50 07 Jul 2020

    Nothing published for this version

  28. 0.3.49 15 Jun 2020

    Nothing published for this version

  29. 0.3.48 13 May 2020

    Nothing published for this version

  30. 0.3.47 12 May 2020

    Nothing published for this version

  31. 0.3.46 24 Mar 2020

    Nothing published for this version

  32. 0.3.45 04 Mar 2020

    Nothing published for this version

  33. 0.3.44 11 Feb 2020

    Nothing published for this version

  34. 0.3.43 29 Jan 2020

    Nothing published for this version

  35. 0.3.42 15 Jan 2020 withdrawn

    Nothing published for this version

  36. 0.3.41 13 Jan 2020

    Nothing published for this version

  37. 0.3.40 17 Oct 2019

    Nothing published for this version

  38. 0.3.39 17 Oct 2019

    Nothing published for this version

  39. 0.3.38 23 Sep 2019

    Nothing published for this version

  40. 0.3.37 04 Sep 2019

    Nothing published for this version

  41. 0.3.36 04 Sep 2019

    Nothing published for this version

  42. 0.3.35 19 Aug 2019

    Nothing published for this version

  43. 0.3.34 31 Jul 2019

    Nothing published for this version

  44. 0.3.33 17 Jul 2019

    Nothing published for this version

  45. 0.3.32 26 Jun 2019

    Nothing published for this version

  46. 0.3.31 23 Jun 2019

    Nothing published for this version

  47. 0.3.30 04 Jun 2019

    Nothing published for this version

  48. 0.3.29 04 Jun 2019

    Nothing published for this version

  49. 0.3.28 03 Jun 2019

    Nothing published for this version

  50. 0.3.27 03 Jun 2019

    Nothing published for this version

  51. 0.3.26 25 May 2019

    Nothing published for this version

  52. 0.3.25 25 May 2019

    Nothing published for this version

  53. 0.3.24 24 May 2019

    Nothing published for this version

  54. 0.3.23 24 May 2019

    Nothing published for this version

  55. 0.3.22 23 May 2019

    Nothing published for this version

  56. 0.3.21 23 May 2019

    Nothing published for this version

  57. 0.3.20 20 May 2019

    Nothing published for this version

  58. 0.3.19 20 May 2019

    Nothing published for this version

  59. 0.3.18 17 May 2019

    Nothing published for this version

  60. 0.3.17 15 May 2019

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive