This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 09525e7e905 Update doris_main.cpp (#34128)
09525e7e905 is described below
commit 09525e7e905db5984a11568a7ca1a63e6bdee94a
Author: StarryVerse <[email protected]>
AuthorDate: Fri Apr 26 07:19:39 2024 +0800
Update doris_main.cpp (#34128)
* Update doris_main.cpp
Log(FATAL) introduces a core dump, which is confusing for users. We should
print error msg and exit without a core dump.
* Update doris_main.cpp
---
be/src/service/doris_main.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/be/src/service/doris_main.cpp b/be/src/service/doris_main.cpp
index 98712a8168b..ca7fca1ce62 100644
--- a/be/src/service/doris_main.cpp
+++ b/be/src/service/doris_main.cpp
@@ -169,8 +169,9 @@ auto instruction_fail_to_string(InstructionFail fail) {
case InstructionFail::ARM_NEON:
ret("ARM_NEON");
}
- LOG(FATAL) << "__builtin_unreachable";
- __builtin_unreachable();
+
+ LOG(ERROR) << "Unrecognized instruction fail value." << std::endl;
+ exit(-1);
}
sigjmp_buf jmpbuf;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]