[Chore](asan) set decrementOutputRecursionDepth to suppressions and remove some unu… (#18845)
18845
This commit is contained in:
@ -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"
|
||||
|
||||
@ -35,5 +35,4 @@ condition_variable.*
|
||||
murmur_hash3.*
|
||||
utf8_check.cpp
|
||||
.markdownlintignore
|
||||
tsan_suppressions
|
||||
sse2neon.h
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
@ -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}" |
|
||||
|
||||
@ -15,5 +15,4 @@
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# This is a known leak.
|
||||
leak:brpc
|
||||
interceptor_via_lib:apache::thrift
|
||||
|
||||
@ -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/"
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
19
conf/lsan_suppr.conf
Normal file
19
conf/lsan_suppr.conf
Normal file
@ -0,0 +1,19 @@
|
||||
# Licensed to the Apache Software Foundation (ASF) under one
|
||||
# or more contributor license agreements. See the NOTICE file
|
||||
# distributed with this work for additional information
|
||||
# regarding copyright ownership. The ASF licenses this file
|
||||
# to you under the Apache License, Version 2.0 (the
|
||||
# "License"); you may not use this file except in compliance
|
||||
# with the License. You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing,
|
||||
# software distributed under the License is distributed on an
|
||||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
# KIND, either express or implied. See the License for the
|
||||
# specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
# This is a known leak.
|
||||
leak:brpc
|
||||
@ -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>()
|
||||
Reference in New Issue
Block a user