jeremy-rifkin / cpptrace

Simple, portable, and self-contained stacktrace library for C++11 and newer
MIT License
621 stars 64 forks source link

run signal-safe error #137

Closed ccc120660 closed 2 months ago

ccc120660 commented 2 months ago

Hello,thanks to your library,but when i am running the signal-safe test, the result is: B85097A9C0037C723FB8D073846C4D51 I use the cpptrace 0.6.1, glibc 2.28, and already installed libunwind 1.8.1 the Cmake command is: cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCPPTRACE_STATIC_DEFINE=On -DCPPTRACE_UNWIND_WITH_LIBUNWIND=On and the g++ command is:
g++ /data/shared/test/coredump/signal_tracer.cpp -o /data/shared/test/coredump/signal_tracer -Wall -lcpptrace -ldwarf -lz -lzstd -ldl -lunwind g++ /data/shared/test/coredump/signal_demo.cpp -o /data/shared/test/coredump/signal_demo -Wall -lcpptrace -ldwarf -lz -lzstd -ldl -lunwind

ccc120660 commented 2 months ago

well,i saw the issue 126, i will try to upgrade my glibc. = =

jeremy-rifkin commented 2 months ago

Thanks, I hope that works for you!