Index: runtime/bin/platform_linux.cc |
diff --git a/runtime/bin/platform_linux.cc b/runtime/bin/platform_linux.cc |
index ce89c19688c36286200022f5066720353169c66b..13297fa7e94501041ce8bad4603a7cf239e61a23 100644 |
--- a/runtime/bin/platform_linux.cc |
+++ b/runtime/bin/platform_linux.cc |
@@ -53,6 +53,10 @@ bool Platform::Initialize() { |
perror("sigaction() failed."); |
return false; |
} |
+ if (sigaction(SIGBUS, &act, NULL) != 0) { |
+ perror("sigaction() failed."); |
+ return false; |
+ } |
if (sigaction(SIGTRAP, &act, NULL) != 0) { |
perror("sigaction() failed."); |
return false; |