You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by mo...@apache.org on 2023/04/27 15:33:12 UTC
[doris] 01/03: [Chore](asan) set decrementOutputRecursionDepth to suppressions and remove some unu… (#18845)
This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-2.0-alpha
in repository https://gitbox.apache.org/repos/asf/doris.git
commit f3cbc48d9e7f1e0a6bf4ecd56e8218a926bd073e
Author: Pxl <px...@qq.com>
AuthorDate: Thu Apr 20 23:33:25 2023 +0800
[Chore](asan) set decrementOutputRecursionDepth to suppressions and remove some unu… (#18845)
18845
---
.licenserc.yaml | 1 -
.rat-excludes | 1 -
be/CMakeLists.txt | 1 +
bin/start_be.sh | 5 +++--
conf/asan_suppr.conf | 3 +--
conf/be.conf | 2 +-
conf/fe.conf | 2 +-
conf/{asan_suppr.conf => lsan_suppr.conf} | 2 +-
tsan_suppressions | 24 ------------------------
9 files changed, 8 insertions(+), 33 deletions(-)
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 4d7443862a..98886a29ef 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -37,7 +37,6 @@ header:
- "**/*.sql"
- "**/*.lock"
- "**/*.out"
- - "tsan_suppressions"
- "docs/.markdownlintignore"
- "fe/fe-core/src/test/resources/data/net_snmp_normal"
- "fe/fe-core/src/main/antlr4/org/apache/doris/nereids/JavaLexer.g4"
diff --git a/.rat-excludes b/.rat-excludes
index 0a2f42e9e9..bb97aca3dc 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -35,5 +35,4 @@ condition_variable.*
murmur_hash3.*
utf8_check.cpp
.markdownlintignore
-tsan_suppressions
sse2neon.h
diff --git a/be/CMakeLists.txt b/be/CMakeLists.txt
index 3b767b410b..10e6fd09e6 100644
--- a/be/CMakeLists.txt
+++ b/be/CMakeLists.txt
@@ -1016,6 +1016,7 @@ install(FILES
${BASE_DIR}/../conf/be.conf
${BASE_DIR}/../conf/odbcinst.ini
${BASE_DIR}/../conf/asan_suppr.conf
+ ${BASE_DIR}/../conf/lsan_suppr.conf
${BASE_DIR}/../conf/hdfs-site.xml
DESTINATION ${OUTPUT_DIR}/conf)
diff --git a/bin/start_be.sh b/bin/start_be.sh
index bbaea90c02..f6e564149c 100755
--- a/bin/start_be.sh
+++ b/bin/start_be.sh
@@ -144,8 +144,9 @@ export ODBCSYSINI="${DORIS_HOME}/conf"
# support utf8 for oracle database
export NLS_LANG='AMERICAN_AMERICA.AL32UTF8'
-#filter known leak for lsan.
-export LSAN_OPTIONS="suppressions=${DORIS_HOME}/conf/asan_suppr.conf"
+# filter known leak.
+export LSAN_OPTIONS="suppressions=${DORIS_HOME}/conf/lsan_suppr.conf"
+export ASAN_OPTIONS="suppressions=${DORIS_HOME}/conf/asan_suppr.conf"
while read -r line; do
envline="$(echo "${line}" |
diff --git a/conf/asan_suppr.conf b/conf/asan_suppr.conf
index 254e6901ac..3c43b92e44 100644
--- a/conf/asan_suppr.conf
+++ b/conf/asan_suppr.conf
@@ -15,5 +15,4 @@
# specific language governing permissions and limitations
# under the License.
-# This is a known leak.
-leak:brpc
\ No newline at end of file
+interceptor_via_lib:apache::thrift
diff --git a/conf/be.conf b/conf/be.conf
index 1961ab3592..61c399b1e1 100644
--- a/conf/be.conf
+++ b/conf/be.conf
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
-CUR_DATE='$(date +%Y%m%d-%H%M%S)'
+CUR_DATE=`date +%Y%m%d-%H%M%S`
PPROF_TMPDIR="$DORIS_HOME/log/"
diff --git a/conf/fe.conf b/conf/fe.conf
index 849d387bdd..77e2b6efa5 100644
--- a/conf/fe.conf
+++ b/conf/fe.conf
@@ -21,7 +21,7 @@
## see fe/src/org/apache/doris/common/Config.java
#####################################################################
-CUR_DATE='$(date +%Y%m%d-%H%M%S)'
+CUR_DATE=`date +%Y%m%d-%H%M%S`
# the output dir of stderr and stdout
LOG_DIR = ${DORIS_HOME}/log
diff --git a/conf/asan_suppr.conf b/conf/lsan_suppr.conf
similarity index 98%
copy from conf/asan_suppr.conf
copy to conf/lsan_suppr.conf
index 254e6901ac..fe294d58e8 100644
--- a/conf/asan_suppr.conf
+++ b/conf/lsan_suppr.conf
@@ -16,4 +16,4 @@
# under the License.
# This is a known leak.
-leak:brpc
\ No newline at end of file
+leak:brpc
diff --git a/tsan_suppressions b/tsan_suppressions
deleted file mode 100644
index a01346fe74..0000000000
--- a/tsan_suppressions
+++ /dev/null
@@ -1,24 +0,0 @@
-mutex:boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)
-mutex:brpc::*
-mutex:doris::ConditionVariable::wait_until(doris::MonoTime const&) const
-mutex:doris::ConditionVariable::wait() const
-race:boost::intrusive::list_node_traits<void*>::get_next(boost::intrusive::list_node<void*> const* const&)
-race:brpc::*
-race:butil::*
-race:bvar::*
-race:doris::CountDownLatch::wait_until(doris::MonoTime const&) const
-race:doris::PBackendService::*
-race:doris::PStatus::status_code() const
-race:doris::PTabletWriterAddBatchResult::*
-race:doris::PTabletWriterOpenResult::*
-race:doris::RefCountClosure<doris::PTabletWriterOpenResult>::unref()
-race:doris::stream_load::TestInternalService::tablet_writer_add_batch(google::protobuf::RpcController*, doris::PTabletWriterAddBatchRequest const*, doris::PTabletWriterAddBatchResult*, google::protobuf::Closure*)
-race:glog_internal_namespace_::*
-race:google::protobuf::*
-race:operator delete(void*)
-race:std::_Bit_reference::operator bool() const
-race:std::char_traits<char>::compare(char const*, char const*, unsigned long)
-race:std::char_traits<char>::copy(char*, char const*, unsigned long)
-race:std::lock_guard<int volatile>::lock_guard(int volatile&)
-race:std::lock_guard<int volatile>::~lock_guard()
-race:void google::protobuf::internal::RepeatedPtrFieldBase::Clear<google::protobuf::RepeatedPtrField<doris::PTabletInfo>::TypeHandler>()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org