xiaokang opened a new pull request, #19060: URL: https://github.com/apache/doris/pull/19060
# Proposed changes Issue Number: close #xxx fix the memory leak reported by ASAN as follows. ``` #0 0x5598a4363ded in operator new(unsigned long) (/mnt/hdd01/dorisTestEnv/VEC_ASAN/be/lib/doris_be+0x14d0bded) (BuildId: 0e35cb6207c3ab7c) #1 0x5598a593f841 in doris::IntegerPredicateCreator<(doris::PrimitiveType)3, (doris::PredicateType)6, std::__cxx11::basic_string<char, std::char_traits<ch ar>, std::allocator<char>>>::create(doris::TabletColumn const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bo ol, doris::vectorized::Arena*) /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be/src/olap/predicate_creator.h:60:20 #2 0x5598a593bd56 in doris::ColumnPredicate* doris::create_predicate<(doris::PredicateType)6, std::__cxx11::basic_string<char, std::char_traits<char>, std ::allocator<char>>>(doris::TabletColumn const&, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, doris::vecto rized::Arena*) /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be/src/olap/predicate_creator.h:247:15 #3 0x5598a48693eb in doris::ColumnPredicate* doris::create_comparison_predicate<(doris::PredicateType)6>(doris::TabletColumn const&, int, std::__cxx11::ba sic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, doris::vectorized::Arena*) /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be /src/olap/predicate_creator.h:255:12 #4 0x5598aec70dac in doris::vectorized::RuntimePredicate::update(doris::vectorized::Field const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool) /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be/src/runtime/runtime_predicate.cpp:163:16 #5 0x5598aebf0bfc in doris::vectorized::VSortNode::sink(doris::RuntimeState*, doris::vectorized::Block*, bool) /mnt/hdd01/repo_center/doris_branch-2.0-alp ha/doris/be/src/vec/exec/vsort_node.cpp:143:17 #6 0x5598aebf1f1a in doris::vectorized::VSortNode::open(doris::RuntimeState*) /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be/src/vec/exec/vsort_no de.cpp:179:9 #7 0x5598a6de89e6 in doris::PlanFragmentExecutor::open_vectorized_internal() /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be/src/runtime/plan_fragm ent_executor.cpp:283:9 #8 0x5598a6de7857 in doris::PlanFragmentExecutor::open() /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be/src/runtime/plan_fragment_executor.cpp:245 :14 #9 0x5598a6d2eb65 in doris::FragmentExecState::execute() /mnt/hdd01/repo_center/doris_branch-2.0-alpha/doris/be/src/runtime/fragment_mgr.cpp:232:31 ``` ## Problem summary Describe your changes. ## Checklist(Required) * [ ] Does it affect the original behavior * [ ] Has unit tests been added * [ ] Has document been added or modified * [ ] Does it need to update dependencies * [ ] Is this PR support rollback (If NO, please explain WHY) ## Further comments If this is a relatively large or complex change, kick off the discussion at [d...@doris.apache.org](mailto:d...@doris.apache.org) by explaining why you chose the solution you did and what alternatives you considered, etc... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org