Я хочу распечатать стек вызовов в своем журнале, когда моя программа C/C++ выйдет из строя, например SIGSEGV, SIGABRT и ⇐ C++
-
Anonymous
Я хочу распечатать стек вызовов в своем журнале, когда моя программа C/C++ выйдет из строя, например SIGSEGV, SIGABRT и
I tried to use backtrace_symbols in a sianal handler, but now I know the function is not signal-safe.
And there is always the backtrace in android log when the crash happened, I want my program to be convenient like the backtrace in android phone.
Источник: https://stackoverflow.com/questions/781 ... ike-sigseg
I tried to use backtrace_symbols in a sianal handler, but now I know the function is not signal-safe.
And there is always the backtrace in android log when the crash happened, I want my program to be convenient like the backtrace in android phone.
Источник: https://stackoverflow.com/questions/781 ... ike-sigseg
Мобильная версия