This small series is the result of my first journey into the worlds of CMake, Boost, and userspace stacktraces. I get useful output now on my Linux machine, the crash was intentionally caused by patch 4.
For symbols outside pv, you might need to disable ASLR with $ sudo sysctl -w kernel.randomize_va_space=0 or using 'setarch ... -R ...' Now for the output: pv: Stack trace file is "/tmp/pv_stacktrace.dmp" pv: "Stack trace of previous crash:" pv: --------------------------------------------------------- pv: 0# signal_handler(int) in ./pulseview 1# 0x00007FFFF63878E0 in /lib/x86_64-linux-gnu/libc.so.6 2# raise in /lib/x86_64-linux-gnu/libpthread.so.0 3# signal_handler(int) in ./pulseview 4# 0x00007FFFF63878E0 in /lib/x86_64-linux-gnu/libc.so.6 5# pv::Session::main_bar() const in ./pulseview 6# pv::MainWindow::add_view(pv::views::ViewType, pv::Session&) in ./pulseview 7# pv::MainWindow::add_session() in ./pulseview 8# pv::MainWindow::add_default_session() in ./pulseview 9# main in ./pulseview 10# __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 11# _start in ./pulseview pv: --------------------------------------------------------- So, works for me(tm) now. Looking forward to hear from other tests or review of the CMake bits. Happy hacking, Wolfram Wolfram Sang (4): Add boost::stacktrace to CMakeList With stacktrace, enfore 'Debug' build For stacktraces, build with no-pie HACK: make pulseview crash early CMakeLists.txt | 12 +++++++++++- pv/session.cpp | 1 + 2 files changed, 12 insertions(+), 1 deletion(-) -- 2.20.1 _______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel