You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem with them is that they can't be used safely in asynchronous signal handlers, for which non-reentrant functions are required.
According to boost, there isn't a safe way to get stacktrace that's portable. On the other hand, one was described in this blog. The downside is that on windows it relies on StackWalker. There may be better, more modern ways to achieve this that I missed.
The text was updated successfully, but these errors were encountered:
Currently in DMLC core the utility for printing stacktrace (and demangling) are the following:
dmlc-core/include/dmlc/logging.h
Lines 49 to 96 in ebcaa42
The problem with them is that they can't be used safely in asynchronous signal handlers, for which non-reentrant functions are required.
According to boost, there isn't a safe way to get stacktrace that's portable. On the other hand, one was described in this blog. The downside is that on windows it relies on StackWalker. There may be better, more modern ways to achieve this that I missed.
The text was updated successfully, but these errors were encountered: