Enable basic backtracing with glog
This will have an occasional deadlock, but it should be very infrequent.
The backtrace is significantly more helpful than the deadlock.
Change-Id: Iaad7f8becf2cf6b5d4d3e971d8f99f3dc69a50f3
diff --git a/aos/init.cc b/aos/init.cc
index ac18413..e506d86 100644
--- a/aos/init.cc
+++ b/aos/init.cc
@@ -40,6 +40,7 @@
void InitStart() {
::aos::logging::Init();
WriteCoreDumps();
+ google::InstallFailureSignalHandler();
}
const char *const kNoRealtimeEnvironmentVariable = "AOS_NO_REALTIME";