Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] BE core dump in VOlapScanNode::close #10851

Closed
2 of 3 tasks
eldenmoon opened this issue Jul 14, 2022 · 0 comments
Closed
2 of 3 tasks

[Bug] BE core dump in VOlapScanNode::close #10851

eldenmoon opened this issue Jul 14, 2022 · 0 comments

Comments

@eldenmoon
Copy link
Member

eldenmoon commented Jul 14, 2022

Search before asking

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

Version

What's Wrong?

0  0x000055557473eea3 in tcmalloc::SLL_Next (t=0x55588c26200000) at src/linked_list.h:45
#1  tcmalloc::SLL_PopRange (end=, start=, N=8, head=0x555bb8f497c0) at src/linked_list.h:88
#2  tcmalloc::SLL_PopRange (end=, start=, N=8, head=0x555bb8f497c0) at src/linked_list.h:79
#3  tcmalloc::ThreadCache::FreeList::PopRange (end=, start=, N=8, this=0x555bb8f497c0) at src/thread_cache.h:238
#4  tcmalloc::ThreadCache::ReleaseToCentralCache (this=this@entry=0x555bb8f491c0, src=src@entry=0x555bb8f497c0, cl=cl@entry=48, N=55) at src/thread_cache.cc:201
#5  0x000055557473f22f in tcmalloc::ThreadCache::Scavenge (this=0x555bb8f491c0) at src/thread_cache.cc:224
#6  0x0000555570a6a8a5 in Allocator<false, false>::free_no_track (this=0x5557c9c8f480, size=32768, buf=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/allocator.h:253
#7  Allocator<false, false>::free (size=32768, buf=, this=0x5557c9c8f480) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/allocator.h:108
#8  doris::vectorized::PODArrayBase<16ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::dealloc (this=0x5557c9c8f480) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/pod_array.h:133
#9  doris::vectorized::PODArrayBase<16ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::~PODArrayBase (this=0x5557c9c8f480, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/pod_array.h:250
#10 doris::vectorized::PODArray<__int128, 4096ul, Allocator<false, false>, 15ul, 16ul>::~PODArray (this=0x5557c9c8f480, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/pod_array.h:255
#11 doris::vectorized::ColumnVector<__int128>::~ColumnVector (this=, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/columns/column_vector.h:101
#12 doris::vectorized::ColumnVector<__int128>::~ColumnVector (this=0x5557c9c8f470, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/columns/column_vector.h:101
#13 0x0000555571b61cd0 in COWdoris::vectorized::IColumn::release_ref (this=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/cow.h:109
#14 COWdoris::vectorized::IColumn::intrusive_ptr<doris::vectorized::IColumn const>::~intrusive_ptr (this=0x5556771a0700, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/cow.h:136
#15 COWdoris::vectorized::IColumn::immutable_ptrdoris::vectorized::IColumn::~immutable_ptr (this=0x5556771a0700, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/common/cow.h:257
#16 doris::vectorized::ColumnWithTypeAndName::~ColumnWithTypeAndName (this=0x5556771a0700, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/core/column_with_type_and_name.h:35
#17 std::_Destroydoris::vectorized::ColumnWithTypeAndName (__pointer=0x5556771a0700) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_construct.h:140
#18 std::_Destroy_aux::__destroydoris::vectorized::ColumnWithTypeAndName* (__last=, __first=0x5556771a0700) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_construct.h:152
#19 std::_Destroydoris::vectorized::ColumnWithTypeAndName* (__last=, __first=) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_construct.h:185
#20 std::_Destroy<doris::vectorized::ColumnWithTypeAndName*, doris::vectorized::ColumnWithTypeAndName> (__last=0x5556771a09a0, __first=) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/alloc_traits.h:746
#21 std::vector<doris::vectorized::ColumnWithTypeAndName, std::allocatordoris::vectorized::ColumnWithTypeAndName >::~vector (this=0x5555b2820d20, __in_chrg=) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_vector.h:680
#22 doris::vectorized::Block::~Block (this=0x5555b2820d20, __in_chrg=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/core/block.h:60
#23 std::default_deletedoris::vectorized::Block::operator() (__ptr=0x5555b2820d20, this=) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/unique_ptr.h:85
#24 std::for_each<__gnu_cxx::__normal_iterator<doris::vectorized::Block**, std::vector<doris::vectorized::Block*, std::allocatordoris::vectorized::Block* > >, std::default_deletedoris::vectorized::Block > (__first=..., __last=..., __f=...)
    at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_algo.h:3820
#25 0x0000555571b5c8bb in doris::vectorized::VOlapScanNode::close (this=0x555626164800, state=0x5556ee086000) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/vec/exec/volap_scan_node.cpp:448
#26 0x00005555704c98fa in doris::PlanFragmentExecutor::close (this=this@entry=0x55565b36d470) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/runtime/plan_fragment_executor.cpp:650
#27 0x000055557043d57b in doris::FragmentExecState::execute (this=0x55565b36d400) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/runtime/fragment_mgr.cpp:244
#28 0x0000555570441fa8 in doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>) (this=0x555578f53500, exec_state=std::shared_ptrdoris::FragmentExecState (use count 3, weak count 0) = {...},
    cb=...) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/shared_ptr_base.h:1290
#29 0x000055557044b2cc 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=
    @0x5557d5a0b180: (void (doris::FragmentMgr::)(doris::FragmentMgr * const, std::shared_ptrdoris::FragmentExecState, std::function<void(doris::PlanFragmentExecutor)>)) 0x555570441a20 <doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>, __t=@0x5557d5a0b1c0: 0x555578f53500, __f=
    @0x5557d5a0b180: (void (doris::FragmentMgr::)(doris::FragmentMgr * const, std::shared_ptrdoris::FragmentExecState, std::function<void(doris::PlanFragmentExecutor)>)) 0x555570441a20 <doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>, __t=@0x5557d5a0b1c0: 0x555578f53500) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:74
#30 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=
    @0x5557d5a0b180: (void (doris::FragmentMgr::)(doris::FragmentMgr * const, std::shared_ptrdoris::FragmentExecState, std::function<void(doris::PlanFragmentExecutor)>)) 0x555570441a20 <doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:111
#31 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>) (__args=..., this=0x5557d5a0b180) at /home/ubuntu/tools/ldb-tools/include/c++/11/functional:570
#32 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=0x5557d5a0b180) at /home/ubuntu/tools/ldb-tools/include/c++/11/functional:629
#33 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 /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:61
#34 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::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>&) (__fn=...) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:111
#35 std::_Function_handler<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*)>)> >::_M_invoke(std::_Any_data const&) (__functor=...) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/std_function.h:291
#36 0x00005555706032fd in std::function<void ()>::operator()() const (this=) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/std_function.h:560
#37 doris::FunctionRunnable::run (this=) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/util/threadpool.cpp:45
#38 doris::ThreadPool::dispatch_thread (this=0x555579014a00) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/util/threadpool.cpp:540
#39 0x00005555705fdb6f in std::function<void ()>::operator()() const (this=0x555642518a98) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/std_function.h:560
#40 doris::Thread::supervise_thread (arg=0x555642518a80) at /home/zcp/repo_center/doris_doris-1.0/doris/be/src/util/thread.cpp:408
#41 0x00007f618f919609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0

What You Expected?

no core

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant