Loading debuggerd/libdebuggerd/tombstone.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ #include <string> #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <android-base/stringprintf.h> #include <android-base/strings.h> Loading Loading @@ -417,6 +418,8 @@ static bool dump_thread(log_t* log, unwindstack::Unwinder* unwinder, const Threa } if (primary_thread) { // The main thread must have a valid siginfo. CHECK(thread_info.siginfo != nullptr); dump_probable_cause(log, unwinder, process_info, thread_info); dump_abort_message(log, unwinder->GetProcessMemory().get(), process_info.abort_msg_address); Loading debuggerd/libdebuggerd/tombstone_proto.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ #include <async_safe/log.h> #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <android-base/stringprintf.h> #include <android-base/strings.h> Loading Loading @@ -616,6 +617,8 @@ void engrave_tombstone_proto(Tombstone* tombstone, unwindstack::Unwinder* unwind result.set_tid(main_thread.tid); result.set_uid(main_thread.uid); result.set_selinux_label(main_thread.selinux_label); // The main thread must have a valid siginfo. CHECK(main_thread.siginfo != nullptr); struct sysinfo si; sysinfo(&si); Loading Loading
debuggerd/libdebuggerd/tombstone.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -36,6 +36,7 @@ #include <string> #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <android-base/stringprintf.h> #include <android-base/strings.h> Loading Loading @@ -417,6 +418,8 @@ static bool dump_thread(log_t* log, unwindstack::Unwinder* unwinder, const Threa } if (primary_thread) { // The main thread must have a valid siginfo. CHECK(thread_info.siginfo != nullptr); dump_probable_cause(log, unwinder, process_info, thread_info); dump_abort_message(log, unwinder->GetProcessMemory().get(), process_info.abort_msg_address); Loading
debuggerd/libdebuggerd/tombstone_proto.cpp +3 −0 Original line number Diff line number Diff line Loading @@ -40,6 +40,7 @@ #include <async_safe/log.h> #include <android-base/file.h> #include <android-base/logging.h> #include <android-base/properties.h> #include <android-base/stringprintf.h> #include <android-base/strings.h> Loading Loading @@ -616,6 +617,8 @@ void engrave_tombstone_proto(Tombstone* tombstone, unwindstack::Unwinder* unwind result.set_tid(main_thread.tid); result.set_uid(main_thread.uid); result.set_selinux_label(main_thread.selinux_label); // The main thread must have a valid siginfo. CHECK(main_thread.siginfo != nullptr); struct sysinfo si; sysinfo(&si); Loading