backward-cpp: Segmentation fault (Address not mapped to object [(nil)]) on printing end

It segfaults on end of printing stacktrace, on line 3975 raise(info->si_signo); .

      >  52:   LOG_INFO << reinterpret_cast<DataPipe *>(pipes[0])->print();
         53: }
         54: 
         55: int main(int argc, char **argv) {
Segmentation fault (Address not mapped to object [(nil)])

And it prints a redefinition warning if I uncomment #define BACKWARD_HAS_BFD 1

#define BACKWARD_HAS_DW 1
#define BACKWARD_HAS_BFD 1
#include "backward.hpp"

this is what I use now

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 25 (13 by maintainers)

Most upvoted comments

Ah C++… It keeps you on your toes at all time. One tiny slip, and your program will do everything and anything.

If you already have an “about” dialog with a list of open sources credits, you can add a mention there if you would like. No obligation.