xinyiZzz opened a new pull request, #49425:
URL: https://github.com/apache/doris/pull/49425
### What problem does this PR solve?
fix
```
F20250320 23:44:04.857388 6195 thread_context.h:202] Check failed:
is_attach_task()
*** Check failure stack trace: ***
@ 0x55da7cd769a6 google::LogMessage::SendToLog()
@ 0x55da7cd733f0 google::LogMessage::Flush()
@ 0x55da7cd771e9 google::LogMessageFatal::~LogMessageFatal()
@ 0x55da7709482f Allocator<>::sys_memory_check()
@ 0x55da7709665d Allocator<>::alloc_impl()
@ 0x55da72495ab7 doris::vectorized::ColumnVector<>::reserve()
@ 0x55da770f7a82 doris::vectorized::IDataType::create_column_const()
@ 0x55da774d2ccf doris::vectorized::VLiteral::init()
@ 0x55da774ae32f
std::_Sp_counted_ptr_inplace<>::_Sp_counted_ptr_inplace<>()
@ 0x55da774a2209 doris::vectorized::VExpr::create_expr()
@ 0x55da774a3b50 doris::vectorized::VExpr::create_tree_from_thrift()
@ 0x55da774a3e6b doris::vectorized::VExpr::create_expr_tree()
@ 0x55da72a1582f doris::FoldConstantExecutor::fold_constant_vexpr()
@ 0x55da729eecf4 doris::PInternalService::_fold_constant_expr()
@ 0x55da729fd41d std::_Function_handler<>::_M_invoke()
@ 0x55da72a0da1b doris::WorkThreadPool<>::work_thread()
@ 0x55da7fd974f0 execute_native_thread_routine
@ 0x7fca5d9faac3 (unknown)
@ 0x7fca5da8c850 (unknown)
@ (nil) (unknown)
0# doris::signal::(anonymous namespace)::FailureSignalHandler(int,
siginfo_t*, void*) at
/home/zcp/repo_center/doris_master/doris/be/src/common/signal_handler.h:421
1# 0x00007FCA5D9A8520 in /lib/x86_64-linux-gnu/libc.so.6
2# pthread_kill at ./nptl/pthread_kill.c:89
3# raise at ../sysdeps/posix/raise.c:27
4# abort at ./stdlib/abort.c:81
5# 0x000055DA7CD8127D in /mnt/hdd01/PERFORMANCE_ENV/be/lib/doris_be
6# 0x000055DA7CD738BA in /mnt/hdd01/PERFORMANCE_ENV/be/lib/doris_be
7# google::LogMessage::SendToLog() in
/mnt/hdd01/PERFORMANCE_ENV/be/lib/doris_be
8# google::LogMessage::Flush() in /mnt/hdd01/PERFORMANCE_ENV/be/lib/doris_be
9# google::LogMessageFatal::~LogMessageFatal() in
/mnt/hdd01/PERFORMANCE_ENV/be/lib/doris_be
10# Allocator<false, false, false,
DefaultMemoryAllocator>::sys_memory_check(unsigned long) const at
/home/zcp/repo_center/doris_master/doris/be/src/vec/common/allocator.cpp:189
11# Allocator<false, false, false,
DefaultMemoryAllocator>::alloc_impl(unsigned long, unsigned long) at
/home/zcp/repo_center/doris_master/doris/be/src/vec/common/allocator.h:254
12# doris::vectorized::ColumnVector<unsigned long>::reserve(unsigned long)
at
/home/zcp/repo_center/doris_master/doris/be/src/vec/columns/column_vector.h:337
13# doris::vectorized::IDataType::create_column_const(unsigned long,
doris::vectorized::Field const&) const at
/home/zcp/repo_center/doris_master/doris/be/src/vec/data_types/data_type.cpp:61
14# doris::vectorized::VLiteral::init(doris::TExprNode const&) at
/home/zcp/repo_center/doris_master/doris/be/src/vec/exprs/vliteral.cpp:44
15# std::_Sp_counted_ptr_inplace<doris::vectorized::VLiteral,
std::allocator<doris::vectorized::VLiteral>,
(__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace<doris::TExprNode
const&>(std::allocator<doris::vectorized::VLiteral>, doris::TExprNode const&)
at
/var/local/ldb-toolchain/bin/../lib/gcc/x86_64-linux-gnu/11/../../../../include/c++/11/bits/shared_ptr_base.h:521
16# doris::vectorized::VExpr::create_expr(doris::TExprNode const&,
std::shared_ptr<doris::vectorized::VExpr>&) at
/home/zcp/repo_center/doris_master/doris/be/src/vec/exprs/vexpr.cpp:262
17#
doris::vectorized::VExpr::create_tree_from_thrift(std::vector<doris::TExprNode,
std::allocator<doris::TExprNode> > const&, int*,
std::shared_ptr<doris::vectorized::VExpr>&,
std::shared_ptr<doris::vectorized::VExprContext>&) at
/home/zcp/repo_center/doris_master/doris/be/src/vec/exprs/vexpr.cpp:385
18# doris::vectorized::VExpr::create_expr_tree(doris::TExpr const&,
std::shared_ptr<doris::vectorized::VExprContext>&) at
/home/zcp/repo_center/doris_master/doris/be/src/vec/exprs/vexpr.cpp:404
19#
doris::FoldConstantExecutor::fold_constant_vexpr(doris::TFoldConstantParams
const&, doris::PConstantExprResult*) in
/mnt/hdd01/PERFORMANCE_ENV/be/lib/doris_be
20#
doris::PInternalService::_fold_constant_expr(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
doris::PConstantExprResult*) at
/home/zcp/repo_center/doris_master/doris/be/src/service/internal_service.cpp:1562
```
### Check List (For Author)
- Test <!-- At least one of them must be included. -->
- [ ] Regression test
- [ ] Unit Test
- [ ] Manual test (add detailed scripts or steps below)
- [ ] No need to test or manual test. Explain why:
- [ ] This is a refactor/code format and no logic has been changed.
- [ ] Previous test can cover this change.
- [ ] No code files have been changed.
- [ ] Other reason <!-- Add your reason? -->
- Behavior changed:
- [ ] No.
- [ ] Yes. <!-- Explain the behavior change -->
- Does this need documentation?
- [ ] No.
- [ ] Yes. <!-- Add document PR link here. eg:
https://github.com/apache/doris-website/pull/1214 -->
### Check List (For Reviewer who merge this PR)
- [ ] Confirm the release note
- [ ] Confirm test cases
- [ ] Confirm document
- [ ] Add branch pick label <!-- Add branch pick label that this PR should
merge into -->
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]