Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
57 views

We have a C++20 library that compiles several Boost modules and statically links their object files into our shared library. One of those modules is Boost.Stacktrace. We compile this library, and a ...
Nick Williams's user avatar
0 votes
1 answer
240 views

Im trying to implement a solution in which the stacktrace is printed when an exception occurs. Im doing this in Qt creator and I need this to work with MingGW and MSVC compilers for 32 and 64 bits. I ...
niko101a3's user avatar
2 votes
0 answers
797 views

I want to produce stacktraces for certain errors. I tried Boost's stacktrace header, and I don't get line numbers. I'm compiling with the latest Clang. I'm using -g so it should be adding debug info. #...
Rob N's user avatar
  • 16.8k
1 vote
1 answer
677 views

I am trying to use boost::stacktrace under Clang on Windows. While it works with the MSVC compiler, using clang-cl instead it just outputs memory addresses like 0x00007FF63D371D14 in main.exe instead ...
Chris's user avatar
  • 2,960
0 votes
0 answers
461 views

I'm trying to write a SIGSEGV/SIGABRT handler for my C++ program, but it doesn't seem to be able to properly unwind the stack when the segfault is due calling a function at an invalid address. Here's ...
Russell Greene's user avatar
-1 votes
1 answer
983 views

I have been using the Boost stacktrace library to print out a stacktrace of my program. Boost 1.78.0 When compiling with pure C++ it compiles and my program prints the stacktrace nicely. However when ...
iber999's user avatar
  • 89
1 vote
1 answer
2k views

I'm having issues with getting the line number of a stack frame provided by boost::stacktrace. When printing the task with boost::stacktrace::to_string it prints the line number but when calling ...
skyndilega's user avatar
4 votes
0 answers
630 views

I am working on a c++ project using Microsoft visual studio 2017. We use boost::stacktrace::stacktrace() API to generate a functions stacktrace when the application crashes. Recently I noticed on ...
Mohamed EL Tair's user avatar
2 votes
1 answer
1k views

I am building a Qt application using Windows and MinGW64. I need to use Boost Stacktrace to generate stack traces like the Linux build of the application already does. The corresponding switch ...
Silicomancer's user avatar
  • 9,394
2 votes
0 answers
539 views

I'm trying to set up a stacktrace logging signal handler using boost::stacktrace. The Boost documentation suggests: #include <signal.h> // ::signal, ::raise #include <boost/stacktrace.hpp&...
tangy's user avatar
  • 3,336
1 vote
1 answer
225 views

I have been trying to debug an issue with my service which results in a segmentation fault. I do not have access to the production server, so I have handled the SIGSEGV signal in my service and ...
shery6405's user avatar
  • 145
2 votes
1 answer
122 views

I'm looking at the boost::stacktrace::safe_dump_to API and I cannot for the life of me work out how to determine how much space to allocate for the safe_dump_to() call. If I pass (nullptr, 0), it just ...
Spongman's user avatar
  • 9,911
2 votes
1 answer
2k views

I'm trying to reproduce the first and simplest example in the Boost Stacktrace documentation. #define BOOST_STACKTRACE_USE_BACKTRACE #include <boost/stacktrace.hpp> #include <iostream> ...
einpoklum's user avatar
  • 138k