Skip to content

[Bug] Core dump in VExprContext::close DCHECK(!_closed) #10144

@xinyiZzz

Description

@xinyiZzz

Search before asking

  • I had searched in the issues and found no similar issues.

Version

14bc971

What's Wrong?

image

#0 0x00007fc768bbd8a5 in raise () from /lib64/libc.so.6
#1 0x00007fc768bbf085 in abort () from /lib64/libc.so.6
#2 0x0000564082ebcb76 in google::DumpStackTraceAndExit () at src/utilities.cc:160
#3 0x0000564085eab53d in google::LogMessage::Fail () at src/logging.cc:1650
#4 0x0000564085eada79 in google::LogMessage::SendToLog (this=0x7fc2b8790f70) at src/logging.cc:1607
#5 0x0000564085eab0a6 in google::LogMessage::Flush (this=0x7fc2b8790f70) at src/logging.cc:1476
#6 0x0000564085eae0e9 in google::LogMessageFatal::~LogMessageFatal (this=, __in_chrg=) at src/logging.cc:2226
#7 0x00005640842ff070 in doris::vectorized::VExprContext::close (this=0x5640ade6f4a0, state=0x5640daea1000) at /root/doris-release/be/src/vec/exprs/vexpr_context.cpp:76
#8 0x0000564084b8c6dd in doris::vectorized::VExpr::close (ctxs=..., state=0x5640daea1000) at /root/doris-release/be/src/vec/exprs/vexpr.cpp:227
#9 0x000056408479d46e in doris::vectorized::VSortExecExprs::close (this=0x5640c54e4560, state=0x5640daea1000) at /root/doris-release/be/src/vec/exec/vsort_exec_exprs.cpp:74
#10 0x00005640847a4cbd in doris::vectorized::VExchangeNode::close (this=0x5640c54e4300, state=0x5640daea1000) at /root/doris-release/be/src/vec/exec/vexchange_node.cpp:107
#11 0x0000564084342fd2 in doris::ExecNode::close (this=0x564153b36b40, state=0x5640daea1000) at /root/doris-release/be/src/exec/exec_node.cpp:269
#12 0x00005640847a91f5 in doris::vectorized::VUnionNode::close (this=0x564153b36b40, state=0x5640daea1000) at /root/doris-release/be/src/vec/exec/vunion_node.cpp:256
#13 0x00005640838a509d in doris::PlanFragmentExecutor::close (this=0x5640da903470) at /root/doris-release/be/src/runtime/plan_fragment_executor.cpp:650
#14 0x00005640837ac664 in doris::FragmentExecState::execute (this=0x5640da903400) at /root/doris-release/be/src/runtime/fragment_mgr.cpp:244
#15 0x00005640837af4be in doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>) (this=0x56408ccc3180,
exec_state=..., cb=...) at /root/doris-release/be/src/runtime/fragment_mgr.cpp:483
#16 0x00005640837d2ec3 in std::__invoke_impl<void, void (doris::FragmentMgr::&)(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor)>), doris::FragmentMgr*&, std::shared_ptrdoris::FragmentExecState&, std::function<void (doris::PlanFragmentExecutor*)>&>(std::__invoke_memfun_deref, void (doris::FragmentMgr::&)(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor)>), doris::FragmentMgr*&, std::shared_ptrdoris::FragmentExecState&, std::function<void (doris::PlanFragmentExecutor*)>&) (__f=
@0x5640b18448c0: (void (doris::FragmentMgr::)(doris::FragmentMgr * const, std::shared_ptrdoris::FragmentExecState, std::function<void(doris::PlanFragmentExecutor)>)) 0x5640837af204 <doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>,
__t=@0x5640b1844900: 0x56408ccc3180) at /var/local/ldb-toolchain/include/c++/11/bits/invoke.h:74
#17 0x00005640837d1f73 in std::__invoke_r<void, void (doris::FragmentMgr::&)(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor)>), doris::FragmentMgr*&, std::shared_ptrdoris::FragmentExecState&, std::function<void (doris::PlanFragmentExecutor*)>&>(void (doris::FragmentMgr::&)(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor)>), doris::FragmentMgr*&, std::shared_ptrdoris::FragmentExecState&, std::function<void (doris::PlanFragmentExecutor*)>&) (__fn=
@0x5640b18448c0: (void (doris::FragmentMgr::)(doris::FragmentMgr * const, std::shared_ptrdoris::FragmentExecState, std::function<void(doris::PlanFragmentExecutor)>)) 0x5640837af204 <doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>)
at /var/local/ldb-toolchain/include/c++/11/bits/invoke.h:111
#18 0x00005640837d09d9 in std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>::__call<void, , 0ul, 1ul, 2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (this=0x5640b18448c0, __args=...) at /var/local/ldb-toolchain/include/c++/11/functional:570
#19 0x00005640837ce983 in std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>::operator()<>() (this=0x5640b18448c0)
at /var/local/ldb-toolchain/include/c++/11/functional:629
#20 0x00005640837cbc8a in std::__invoke_impl<void, std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>&>(std::__invoke_other, std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>&) (__f=...) at /var/local/ldb-toolchain/include/c++/11/bits/invoke.h:61
#21 0x00005640837c7d3c in std::__invoke_r<void, std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>&>(std::_Bind_result<void, void (doris::Frag

image

What You Expected?

win

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions