We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.2
`==8142==ERROR: AddressSanitizer: heap-use-after-free on address 0x625000ccc030 at pc 0x55a3fb94fc34 bp 0x7f82eec78d20 sp 0x7f82eec78d10 READ of size 1 at 0x625000ccc030 thread T122 (FragmentMgrThre) #0 0x55a3fb94fc33 in inline_memcpy /root/doris/be/src/glibc-compatibility/memcpy/memcpy_x86_64.cpp:138 #1 0x55a3fb950835 in memcpy /root/doris/be/src/glibc-compatibility/memcpy/memcpy_x86_64.cpp:219 #2 0x55a3fc19ebcc in doris::memory_copy(void*, void const*, unsigned long) /root/doris/be/src/util/mem_util.hpp:622 #3 0x55a3fccd653a in doris::Tuple::deep_copy(doris::Tuple*, doris::TupleDescriptor const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple.cpp:80 #4 0x55a3fccd60ab in doris::Tuple::deep_copy(doris::TupleDescriptor const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple.cpp:65 #5 0x55a3fcc915b8 in doris::Tuple::deep_copy(doris::TupleDescriptor const&, doris::MemPool*) /root/doris/be/src/runtime/tuple.h:77 #6 0x55a3fcc91c35 in doris::TupleRow::deep_copy(doris::TupleRow*, std::vector<doris::TupleDescriptor*, std::allocatordoris::TupleDescriptor* > const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple_row.h:61 #7 0x55a3fcc8c66f in doris::RowBatch::deep_copy_to(doris::RowBatch*) /root/doris/be/src/runtime/row_batch.cpp:543 #8 0x55a3fcd1697a in doris::DataStreamRecvr::SenderQueue::add_batch(doris::RowBatch*, bool) /root/doris/be/src/runtime/data_stream_recvr.cc:284 #9 0x55a3fcd1b60b in doris::DataStreamRecvr::add_batch(doris::RowBatch*, int, bool) /root/doris/be/src/runtime/data_stream_recvr.cc:489 #10 0x55a3fe563e2d in doris::DataStreamSender::Channel::send_local_batch(doris::RowBatch*, bool) /root/doris/be/src/runtime/data_stream_sender.cpp:248 #11 0x55a3fe56a62b in doris::DataStreamSender::send(doris::RuntimeState*, doris::RowBatch*) /root/doris/be/src/runtime/data_stream_sender.cpp:467 #12 0x55a3fcc6c529 in doris::PlanFragmentExecutor::open_internal() /root/doris/be/src/runtime/plan_fragment_executor.cpp:410 #13 0x55a3fcc68f5c in doris::PlanFragmentExecutor::open() /root/doris/be/src/runtime/plan_fragment_executor.cpp:261 #14 0x55a3fca4ae6c in doris::FragmentExecState::execute() /root/doris/be/src/runtime/fragment_mgr.cpp:242 #15 0x55a3fca528a6 in doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>) /root/doris/be/src/runtime/fragment_mgr.cpp:482 #16 0x55a3fca9a78d in void 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_ptr<doris::Frag mentExecState>&, std::function<void (doris::PlanFragmentExecutor*)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x626678d) #17 0x55a3fca9926a in std::enable_if<is_invocable_r_v<void, void (doris::FragmentMgr::&)(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor)>), doris::FragmentMgr*&, std::shared_ptr<doris::FragmentExecState
&, std::function<void (doris::PlanFragmentExecutor*)>&>, void>::type 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_ptr&, std::function<void (doris::PlanFragmentExecutor*)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x626526a) #18 0x55a3fca975bd in void std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::func tion<void (doris::PlanFragmentExecutor*)>)>::__call<void, , 0ul, 1ul, 2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x62635bd) #19 0x55a3fca93ea2 in void std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::func tion<void (doris::PlanFragmentExecutor*)>)>::operator()<>() /var/local/ldb-toolchain/include/c++/11/functional:629 #20 0x55a3fca8ef55 in void std::__invoke_impl<void, std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::Frag mentExecState>, 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::PlanFragmentExecu tor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x625af55) #21 0x55a3fca87073 in std::enable_if<is_invocable_r_v<void, std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr, std::function<void (doris::PlanFragmentExecutor*)>)>&>, void>::type std::__invoke_r<void, std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (do ris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>&>(std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::fu nction<void (doris::PlanFragmentExecutor*)>))(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x6253073) #22 0x55a3fca7ef18 in std::_Function_handler<void (), std::_Bind_result<void, void (doris::FragmentMgr::(doris::FragmentMgr, std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>))(std::shared_ptr<doris::Fr agmentExecState>, std::function<void (doris::PlanFragmentExecutor*)>)> >::_M_invoke(std::_Any_data const&) /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:291 #23 0x55a3fc9b8285 in std::function<void ()>::operator()() const /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:560 0x625000ccc030 is located 48 bytes inside of 4096-byte region [0x625000ccc000,0x625000ccd000) freed by thread T122 (FragmentMgrThre) here: #0 0x55a3fb90a48f in free (/root/doris/test_env_1.1.2/be/lib/doris_be+0x50d648f) #1 0x55a3fcdad976 in doris::SystemAllocator::free(unsigned char*, unsigned long) /root/doris/be/src/runtime/memory/system_allocator.cpp:51 #2 0x55a3fcbf9108 in doris::ChunkAllocator::free(doris::Chunk const&) /root/doris/be/src/runtime/memory/chunk_allocator.cpp:200 #3 0x55a3fc9f84b1 in doris::MemPool::free_all() /root/doris/be/src/runtime/mem_pool.cpp:81 #4 0x55a3fcc8906b in doris::RowBatch::reset() /root/doris/be/src/runtime/row_batch.cpp:369 #5 0x55a3fe01a90c in doris::TableFunctionNode::_process_next_child_row() /root/doris/be/src/exec/table_function_node.cpp:111 #6 0x55a3fe01c43c in doris::TableFunctionNode::get_next(doris::RuntimeState*, doris::RowBatch*, bool*) /root/doris/be/src/exec/table_function_node.cpp:235 #7 0x55a3fcc6f91b in doris::PlanFragmentExecutor::get_next_internal(doris::RowBatch**) /root/doris/be/src/runtime/plan_fragment_executor.cpp:591 #8 0x55a3fcc6bb11 in doris::PlanFragmentExecutor::open_internal() /root/doris/be/src/runtime/plan_fragment_executor.cpp:387 #9 0x55a3fcc68f5c in doris::PlanFragmentExecutor::open() /root/doris/be/src/runtime/plan_fragment_executor.cpp:261 #10 0x55a3fca4ae6c in doris::FragmentExecState::execute() /root/doris/be/src/runtime/fragment_mgr.cpp:242 #11 0x55a3fca528a6 in doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>) /root/doris/be/src/runtime/fragment_mgr.cpp:482 #12 0x55a3fca9a78d in void 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*)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x626678d) #13 0x55a3fca9926a in std::enable_if<is_invocable_r_v<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>::type 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*)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x626526a) #14 0x55a3fca975bd in 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*)>)>::__call<void, , 0ul, 1ul, 2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x62635bd) #15 0x55a3fca93ea2 in 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*)>)>::operator()<>() /var/local/ldb-toolchain/include/c++/11/functional:629 #16 0x55a3fca8ef55 in void 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*)>)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x625af55) #17 0x55a3fca87073 in std::enable_if<is_invocable_r_v<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*)>)>&>, void>::type 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*)>)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x6253073) #18 0x55a3fca7ef18 in 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&) /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:291 #19 0x55a3fc9b8285 in std::function<void ()>::operator()() const /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:560 #20 0x55a3fd03c617 in doris::FunctionRunnable::run() /root/doris/be/src/util/threadpool.cpp:42 #21 0x55a3fd0378f9 in doris::ThreadPool::dispatch_thread() /root/doris/be/src/util/threadpool.cpp:570 previously allocated by thread T122 (FragmentMgrThre) here: #0 0x55a3fb90b4cc in posix_memalign (/root/doris/test_env_1.1.2/be/lib/doris_be+0x50d74cc) #1 0x55a3fcdadb14 in doris::SystemAllocator::allocate_via_malloc(unsigned long) /root/doris/be/src/runtime/memory/system_allocator.cpp:58 #2 0x55a3fcdad70b in doris::SystemAllocator::allocate(unsigned long) /root/doris/be/src/runtime/memory/system_allocator.cpp:36 #3 0x55a3fcbf87e8 in doris::ChunkAllocator::allocate(unsigned long, doris::Chunk*) /root/doris/be/src/runtime/memory/chunk_allocator.cpp:173 #4 0x55a3fc9f9913 in doris::MemPool::find_chunk(unsigned long, bool) /root/doris/be/src/runtime/mem_pool.cpp:145 #5 0x55a3fc19e741 in unsigned char* doris::MemPool::allocate(long, int) /root/doris/be/src/runtime/mem_pool.h:273 #6 0x55a3fc19e741 in doris::MemPool::allocate(long) /root/doris/be/src/runtime/mem_pool.h:113 #7 0x55a3fccd6088 in doris::Tuple::deep_copy(doris::TupleDescriptor const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple.cpp:64 #8 0x55a3fcc915b8 in doris::Tuple::deep_copy(doris::TupleDescriptor const&, doris::MemPool*) /root/doris/be/src/runtime/tuple.h:77 #9 0x55a3fcc91c35 in doris::TupleRow::deep_copy(doris::TupleRow*, std::vector<doris::TupleDescriptor*, std::allocatordoris::TupleDescriptor* > const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple_row.h:61 #10 0x55a3fcc8c66f in doris::RowBatch::deep_copy_to(doris::RowBatch*) /root/doris/be/src/runtime/row_batch.cpp:543 #11 0x55a3fe0f5405 in doris::PartitionedAggregationNode::get_next(doris::RuntimeState*, doris::RowBatch*, bool*) /root/doris/be/src/exec/partitioned_aggregation_node.cc:362 #12 0x55a3fe01c12a in doris::TableFunctionNode::get_next(doris::RuntimeState*, doris::RowBatch*, bool*) /root/doris/be/src/exec/table_function_node.cpp:218 #13 0x55a3fcc6f91b in doris::PlanFragmentExecutor::get_next_internal(doris::RowBatch**) /root/doris/be/src/runtime/plan_fragment_executor.cpp:591 #14 0x55a3fcc6bb11 in doris::PlanFragmentExecutor::open_internal() /root/doris/be/src/runtime/plan_fragment_executor.cpp:387 #15 0x55a3fcc68f5c in doris::PlanFragmentExecutor::open() /root/doris/be/src/runtime/plan_fragment_executor.cpp:261 #16 0x55a3fca4ae6c in doris::FragmentExecState::execute() /root/doris/be/src/runtime/fragment_mgr.cpp:242 #17 0x55a3fca528a6 in doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>) /root/doris/be/src/runtime/fragment_mgr.cpp:482 #18 0x55a3fca9a78d in void 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*)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x626678d) #19 0x55a3fca9926a in std::enable_if<is_invocable_r_v<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>::type 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*)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x626526a) #20 0x55a3fca975bd in 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*)>)>::__call<void, , 0ul, 1ul, 2ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul, 2ul>) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x62635bd) #21 0x55a3fca93ea2 in 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*)>)>::operator()<>() /var/local/ldb-toolchain/include/c++/11/functional:629 #22 0x55a3fca8ef55 in void 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*)>)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x625af55) #23 0x55a3fca87073 in std::enable_if<is_invocable_r_v<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*)>)>&>, void>::type 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*)>)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x6253073) #24 0x55a3fca7ef18 in 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&) /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:291 #25 0x55a3fc9b8285 in std::function<void ()>::operator()() const /var/local/ldb-toolchain/include/c++/11/bits/std_function.h:560 #26 0x55a3fd03c617 in doris::FunctionRunnable::run() /root/doris/be/src/util/threadpool.cpp:42 #27 0x55a3fd0378f9 in doris::ThreadPool::dispatch_thread() /root/doris/be/src/util/threadpool.cpp:570`
does not core dump.
No response
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Search before asking
Version
1.1.2
What's Wrong?
`==8142==ERROR: AddressSanitizer: heap-use-after-free on address 0x625000ccc030 at pc 0x55a3fb94fc34 bp 0x7f82eec78d20 sp 0x7f82eec78d10
READ of size 1 at 0x625000ccc030 thread T122 (FragmentMgrThre)
#0 0x55a3fb94fc33 in inline_memcpy /root/doris/be/src/glibc-compatibility/memcpy/memcpy_x86_64.cpp:138
#1 0x55a3fb950835 in memcpy /root/doris/be/src/glibc-compatibility/memcpy/memcpy_x86_64.cpp:219
#2 0x55a3fc19ebcc in doris::memory_copy(void*, void const*, unsigned long) /root/doris/be/src/util/mem_util.hpp:622
#3 0x55a3fccd653a in doris::Tuple::deep_copy(doris::Tuple*, doris::TupleDescriptor const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple.cpp:80
#4 0x55a3fccd60ab in doris::Tuple::deep_copy(doris::TupleDescriptor const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple.cpp:65
#5 0x55a3fcc915b8 in doris::Tuple::deep_copy(doris::TupleDescriptor const&, doris::MemPool*) /root/doris/be/src/runtime/tuple.h:77
#6 0x55a3fcc91c35 in doris::TupleRow::deep_copy(doris::TupleRow*, std::vector<doris::TupleDescriptor*, std::allocatordoris::TupleDescriptor* > const&, doris::MemPool*, bool) /root/doris/be/src/runtime/tuple_row.h:61
#7 0x55a3fcc8c66f in doris::RowBatch::deep_copy_to(doris::RowBatch*) /root/doris/be/src/runtime/row_batch.cpp:543
#8 0x55a3fcd1697a in doris::DataStreamRecvr::SenderQueue::add_batch(doris::RowBatch*, bool) /root/doris/be/src/runtime/data_stream_recvr.cc:284
#9 0x55a3fcd1b60b in doris::DataStreamRecvr::add_batch(doris::RowBatch*, int, bool) /root/doris/be/src/runtime/data_stream_recvr.cc:489
#10 0x55a3fe563e2d in doris::DataStreamSender::Channel::send_local_batch(doris::RowBatch*, bool) /root/doris/be/src/runtime/data_stream_sender.cpp:248
#11 0x55a3fe56a62b in doris::DataStreamSender::send(doris::RuntimeState*, doris::RowBatch*) /root/doris/be/src/runtime/data_stream_sender.cpp:467
#12 0x55a3fcc6c529 in doris::PlanFragmentExecutor::open_internal() /root/doris/be/src/runtime/plan_fragment_executor.cpp:410
#13 0x55a3fcc68f5c in doris::PlanFragmentExecutor::open() /root/doris/be/src/runtime/plan_fragment_executor.cpp:261
#14 0x55a3fca4ae6c in doris::FragmentExecState::execute() /root/doris/be/src/runtime/fragment_mgr.cpp:242
#15 0x55a3fca528a6 in doris::FragmentMgr::_exec_actual(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor*)>) /root/doris/be/src/runtime/fragment_mgr.cpp:482
#16 0x55a3fca9a78d in void 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_ptr<doris::Frag
mentExecState>&, std::function<void (doris::PlanFragmentExecutor*)>&) (/root/doris/test_env_1.1.2/be/lib/doris_be+0x626678d)
#17 0x55a3fca9926a in std::enable_if<is_invocable_r_v<void, void (doris::FragmentMgr::&)(std::shared_ptrdoris::FragmentExecState, std::function<void (doris::PlanFragmentExecutor)>), doris::FragmentMgr*&, std::shared_ptr<doris::FragmentExecState
What You Expected?
does not core dump.
How to Reproduce?
No response
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: