diff --git a/CHANGELOG.md b/CHANGELOG.md index 72b808c..b066605 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ # Changelog - [Changelog](#changelog) +- [v0.6.3](#v063) - [v0.6.2](#v062) - [v0.6.1](#v061) - [v0.6.0](#v060) @@ -18,6 +19,25 @@ - [v0.1.1](#v011) - [v0.1](#v01) +# v0.6.3 + +Added: +- Added a flag to disable inclusion of `` by cpptrace.hpp and the definition of formatter specializations + +Fixes: +- Fixed use after free during cleanup of split dwarf information https://github.com/jeremy-rifkin/cpptrace/issues/141 +- Fixed an issue with TCO by clang on arm interfering with unwinding skip counts for internal methods +- Fixed issue with incorrect object addresses being reported on macos when debug maps are used +- Fixed issue with handling of split dwarf emitted by clang under dwarf4 mode + +Other changes: +- Added note about signal-safe tracing requiring `_dl_find_object` to documentation and fixed errors in the signal-safe + tracing docs +- Added more configurations to unittest ci setup +- Optimized unittest ci matrix setup +- Added options for zstd and libdwarf sources if FetchContent is being used to bring the dependencies in +- Optimized includes in cpptrace.hpp + # v0.6.2 Fixes: diff --git a/CMakeLists.txt b/CMakeLists.txt index 5564795..09c69ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ set(package_name "cpptrace") project( cpptrace - VERSION 0.6.2 + VERSION 0.6.3 DESCRIPTION "Simple, portable, and self-contained stacktrace library for C++11 and newer " HOMEPAGE_URL "https://github.com/jeremy-rifkin/cpptrace" LANGUAGES C CXX diff --git a/README.md b/README.md index f5d1e1e..4b0421a 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.6.2 # + GIT_TAG v0.6.3 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -693,7 +693,7 @@ include(FetchContent) FetchContent_Declare( cpptrace GIT_REPOSITORY https://github.com/jeremy-rifkin/cpptrace.git - GIT_TAG v0.6.2 # + GIT_TAG v0.6.3 # ) FetchContent_MakeAvailable(cpptrace) target_link_libraries(your_target cpptrace::cpptrace) @@ -709,7 +709,7 @@ information. ```sh git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.6.2 +git checkout v0.6.3 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -752,7 +752,7 @@ you when installing new libraries. ```ps1 git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.6.2 +git checkout v0.6.3 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release @@ -770,7 +770,7 @@ To install just for the local user (or any custom prefix): ```sh git clone https://github.com/jeremy-rifkin/cpptrace.git -git checkout v0.6.2 +git checkout v0.6.3 mkdir cpptrace/build cd cpptrace/build cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$HOME/wherever @@ -853,7 +853,7 @@ make install cd ~/scratch/cpptrace-test git clone https://github.com/jeremy-rifkin/cpptrace.git cd cpptrace -git checkout v0.6.2 +git checkout v0.6.3 mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=On -DCPPTRACE_USE_EXTERNAL_LIBDWARF=On -DCMAKE_PREFIX_PATH=~/scratch/cpptrace-test/resources -DCMAKE_INSTALL_PREFIX=~/scratch/cpptrace-test/resources @@ -873,7 +873,7 @@ cpptrace and its dependencies. Cpptrace is available through conan at https://conan.io/center/recipes/cpptrace. ``` [requires] -cpptrace/0.6.2 +cpptrace/0.6.3 [generators] CMakeDeps CMakeToolchain diff --git a/docs/signal-safe-tracing.md b/docs/signal-safe-tracing.md index bb8e57a..950c257 100644 --- a/docs/signal-safe-tracing.md +++ b/docs/signal-safe-tracing.md @@ -223,9 +223,6 @@ int main() { std::size_t res = fread(&frame, sizeof(frame), 1, stdin); if(res == 0) { break; - } else if(res == -1) { - perror("Something went wrong while reading from the pipe"); - break; } else if(res != 1) { std::cerr<<"Something went wrong while reading from the pipe"<