Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2024. The current version is 1.90.0.
In theory, walking the stack without decoding and demangling should be async signal safe.
In practice, it is not:
-fomit-frame-pointer
like flags add additional complexity to the stack walking implementation,
which may also negatively affect the signal safety.
As a rule of thumb: do not capture stack traces in signal handlers unless you are absolutely sure in your environment and inspected all of its source codes.