You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/07/14 09:54:21 UTC

[GitHub] [doris] eldenmoon opened a new issue, #10851: [Bug] BE core dump in VOlapScanNode::close

eldenmoon opened a new issue, #10851:
URL: https://github.com/apache/doris/issues/10851

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) 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=<synthetic pointer>, start=<synthetic pointer>, N=8, head=0x555bb8f497c0) at src/linked_list.h:88
   #2  tcmalloc::SLL_PopRange (end=<synthetic pointer>, start=<synthetic pointer>, N=8, head=0x555bb8f497c0) at src/linked_list.h:79
   #3  tcmalloc::ThreadCache::FreeList::PopRange (end=<synthetic pointer>, start=<synthetic pointer>, 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=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/common/allocator.h:253
   #7  Allocator<false, false>::free (size=32768, buf=<optimized out>, this=0x5557c9c8f480) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/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/selectdb_selectdb-1.0/selectdb/be/src/vec/common/pod_array.h:133
   #9  doris::vectorized::PODArrayBase<16ul, 4096ul, Allocator<false, false>, 15ul, 16ul>::~PODArrayBase (this=0x5557c9c8f480, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/common/pod_array.h:250
   #10 doris::vectorized::PODArray<__int128, 4096ul, Allocator<false, false>, 15ul, 16ul>::~PODArray (this=0x5557c9c8f480, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/common/pod_array.h:255
   #11 doris::vectorized::ColumnVector<__int128>::~ColumnVector (this=<optimized out>, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/columns/column_vector.h:101
   #12 doris::vectorized::ColumnVector<__int128>::~ColumnVector (this=0x5557c9c8f470, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/columns/column_vector.h:101
   #13 0x0000555571b61cd0 in COW<doris::vectorized::IColumn>::release_ref (this=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/common/cow.h:109
   #14 COW<doris::vectorized::IColumn>::intrusive_ptr<doris::vectorized::IColumn const>::~intrusive_ptr (this=0x5556771a0700, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/common/cow.h:136
   #15 COW<doris::vectorized::IColumn>::immutable_ptr<doris::vectorized::IColumn>::~immutable_ptr (this=0x5556771a0700, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/common/cow.h:257
   #16 doris::vectorized::ColumnWithTypeAndName::~ColumnWithTypeAndName (this=0x5556771a0700, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/core/column_with_type_and_name.h:35
   #17 std::_Destroy<doris::vectorized::ColumnWithTypeAndName> (__pointer=0x5556771a0700) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_construct.h:140
   #18 std::_Destroy_aux<false>::__destroy<doris::vectorized::ColumnWithTypeAndName*> (__last=<optimized out>, __first=0x5556771a0700) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_construct.h:152
   #19 std::_Destroy<doris::vectorized::ColumnWithTypeAndName*> (__last=<optimized out>, __first=<optimized out>) 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=<optimized out>) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/alloc_traits.h:746
   #21 std::vector<doris::vectorized::ColumnWithTypeAndName, std::allocator<doris::vectorized::ColumnWithTypeAndName> >::~vector (this=0x5555b2820d20, __in_chrg=<optimized out>) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/stl_vector.h:680
   #22 doris::vectorized::Block::~Block (this=0x5555b2820d20, __in_chrg=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/vec/core/block.h:60
   #23 std::default_delete<doris::vectorized::Block>::operator() (__ptr=0x5555b2820d20, this=<synthetic pointer>) 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::allocator<doris::vectorized::Block*> > >, std::default_delete<doris::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/selectdb_selectdb-1.0/selectdb/be/src/vec/exec/volap_scan_node.cpp:448
   #26 0x00005555704c98fa in doris::PlanFragmentExecutor::close (this=this@entry=0x55565b36d470) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/runtime/plan_fragment_executor.cpp:650
   #27 0x000055557043d57b in doris::FragmentExecState::execute (this=0x55565b36d400) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/runtime/fragment_mgr.cpp:244
   #28 0x0000555570441fa8 in doris::FragmentMgr::_exec_actual(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>) (this=0x555578f53500, exec_state=std::shared_ptr<doris::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_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>), doris::FragmentMgr*&, std::shared_ptr<doris::FragmentExecState>&, std::function<void (doris::PlanFragmentExecutor*)>&>(std::__invoke_memfun_deref, void (doris::FragmentMgr::*&)(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>), doris::FragmentMgr*&, std::shared_ptr<doris::FragmentExecState>&, std::function<void (doris::PlanFragmentExecutor*)>&) (__f=
       @0x5557d5a0b180: (void (doris::FragmentMgr::*)(doris::FragmentMgr * const, std::shared_ptr<doris::FragmentExecState>, std::function<void(doris::PlanFragmentExecutor*)>)) 0x555570441a20 <doris::FragmentMgr::_exec_actual(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>)>, __t=@0x5557d5a0b1c0: 0x555578f53500, __f=
       @0x5557d5a0b180: (void (doris::FragmentMgr::*)(doris::FragmentMgr * const, std::shared_ptr<doris::FragmentExecState>, std::function<void(doris::PlanFragmentExecutor*)>)) 0x555570441a20 <doris::FragmentMgr::_exec_actual(std::shared_ptr<doris::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_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>), doris::FragmentMgr*&, std::shared_ptr<doris::FragmentExecState>&, std::function<void (doris::PlanFragmentExecutor*)>&>(void (doris::FragmentMgr::*&)(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>), doris::FragmentMgr*&, std::shared_ptr<doris::FragmentExecState>&, std::function<void (doris::PlanFragmentExecutor*)>&) (__fn=
       @0x5557d5a0b180: (void (doris::FragmentMgr::*)(doris::FragmentMgr * const, std::shared_ptr<doris::FragmentExecState>, std::function<void(doris::PlanFragmentExecutor*)>)) 0x555570441a20 <doris::FragmentMgr::_exec_actual(std::shared_ptr<doris::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_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::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_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::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_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>)>&>(std::__invoke_other, std::_Bind_result<void, void (doris::FragmentMgr::*(doris::FragmentMgr*, std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::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_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>)>&>(std::_Bind_result<void, void (doris::FragmentMgr::*(doris::FragmentMgr*, std::shared_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::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_ptr<doris::FragmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::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=<optimized out>) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/std_function.h:560
   #37 doris::FunctionRunnable::run (this=<optimized out>) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/util/threadpool.cpp:45
   #38 doris::ThreadPool::dispatch_thread (this=0x555579014a00) at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/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/selectdb_selectdb-1.0/selectdb/be/src/util/thread.cpp:408
   #41 0x00007f618f919609 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
   --Type <RET> for more, q to quit, c to continue without paging-- 
   
   ### 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
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org