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] core dump, doris::DeltaWriter::flush_memtable_and_wait #10154

Closed
2 of 3 tasks
pingchunzhang opened this issue Jun 15, 2022 · 0 comments · Fixed by #10156
Closed
2 of 3 tasks

[Bug] core dump, doris::DeltaWriter::flush_memtable_and_wait #10154

pingchunzhang opened this issue Jun 15, 2022 · 0 comments · Fixed by #10156

Comments

@pingchunzhang
Copy link
Contributor

Search before asking

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

Version

fc9e34a

What's Wrong?

#0 0x00007fef923fd00b in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fef923dc859 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x000055d02d20ed6e in google::DumpStackTraceAndExit () at src/utilities.cc:160
#3 0x000055d03040513d in google::LogMessage::Fail () at src/logging.cc:1650
#4 0x000055d030407679 in google::LogMessage::SendToLog (this=0x7fef110f3a20) at src/logging.cc:1607
#5 0x000055d030404ca6 in google::LogMessage::Flush (this=0x7fef110f3a20) at src/logging.cc:1476
#6 0x000055d030407ce9 in google::LogMessageFatal::~LogMessageFatal (this=, __in_chrg=)
at src/logging.cc:2226
#7 0x000055d02f911f2c in doris::DeltaWriter::flush_memtable_and_wait (this=0x55d0394628c0, need_wait=false)
at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/olap/delta_writer.cpp:236
#8 0x000055d02dbab79f in doris::TabletsChannel::reduce_mem_usage (this=0x55d038560000, mem_limit=2147483648)
at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/runtime/tablets_channel.cpp:198
#9 0x000055d02dba3d7e in doris::LoadChannel::handle_mem_exceed_limit (this=0x55d038461300, force=false)
at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/runtime/load_channel.cpp:112
#10 0x000055d02dcdd60c in doris::LoadChannel::add_batch<doris::PTabletWriterAddBlockRequest, doris::PTabletWriterAddBlockResult> (this=0x55d038461300, request=..., response=0x55d041cae070)
at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/runtime/load_channel.h:143
#11 0x000055d02dcdb8b2 in doris::LoadChannelMgr::add_batch<doris::PTabletWriterAddBlockRequest, doris::PTabletWriterAddBlockResult> (this=0x55d040fa80e0, request=..., response=0x55d041cae070)
at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/runtime/load_channel_mgr.h:141
#12 0x000055d02dccf733 in operator() (__closure=0x55d0399cb530)
at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/service/internal_service.cpp:158
#13 0x000055d02dcd49b0 in std::__invoke_impl<void, doris::PInternalServiceImpl::tablet_writer_add_block(google::protobuf::RpcController*, const doris::PTabletWriterAddBlockRequest*, doris::PTabletWriterAddBlockResult*, google::protobuf::Closure*)::<lambda()>&>(std::__invoke_other, struct {...} &) (__f=...)
at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:61
#14 0x000055d02dcd4682 in std::__invoke_r<void, doris::PInternalServiceImpl::tablet_writer_add_block(google::protobuf::RpcController*, const doris::PTabletWriterAddBlockRequest*, doris::PTabletWriterAddBlockResult*, google::protobuf::Closure*)::<lambda()>&>(struct {...} &) (__fn=...) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:111
#15 0x000055d02dcd4316 in std::_Function_handler<void(), doris::PInternalServiceImpl::tablet_writer_add_block(google::protobuf::RpcController*, const doris::PTabletWriterAddBlockRequest*, doris::PTabletWriterAddBlockResult*, google::protobuf::Closure*)::<lambda()> >::_M_invoke(const std::_Any_data &) (__functor=...)
at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/std_function.h:291
#16 0x000055d02dad2d3a in std::function<void ()>::operator()() const (this=0x7fef110f7eb8)
at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/std_function.h:560
#17 0x000055d02dad0a6c in doris::PriorityThreadPool::work_thread (this=0x55d037578b70, thread_id=13)
at /home/zcp/repo_center/selectdb_selectdb-1.0/selectdb/be/src/util/priority_thread_pool.hpp:136
#18 0x000055d02dae3426 in std::__invoke_impl<void, void (doris::PriorityThreadPool::* const&)(int), doris::PriorityThreadPool*&, int&> (__f=
@0x55d037b5c248: (void (doris::PriorityThreadPool::)(doris::PriorityThreadPool * const, int)) 0x55d02dad0a0c doris::PriorityThreadPool::work_thread(int), __t=@0x55d037b5c260: 0x55d037578b70)
at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:74
#19 0x000055d02dae32fa in std::__invoke<void (doris::PriorityThreadPool::
const&)(int), doris::PriorityThreadPool*&, int&> (__fn=
@0x55d037b5c248: (void (doris::PriorityThreadPool::)(doris::PriorityThreadPool * const, int)) 0x55d02dad0a0c doris::PriorityThreadPool::work_thread(int)) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:96
#20 0x000055d02dae322f in std::_Mem_fn_base<void (doris::PriorityThreadPool::
)(int), true>::operator()<doris::PriorityThreadPool*&, int&> (this=0x55d037b5c248) at /home/ubuntu/tools/ldb-tools/include/c++/11/functional:131
#21 0x000055d02dae313d in std::__invoke_impl<void, std::_Mem_fn<void (doris::PriorityThreadPool::)(int)>&, doris::PriorityThreadPool&, int&> (__f=...) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:61
#22 0x000055d02dae3005 in std::__invoke_r<void, std::_Mem_fn<void (doris::PriorityThreadPool::)(int)>&, doris::PriorityThreadPool&, int&> (__fn=...) at /home/ubuntu/tools/ldb-tools/include/c++/11/bits/invoke.h:111
#23 0x000055d02dae2e56 in std::_Bind_result<void, std::_Mem_fn<void (doris::PriorityThreadPool::)(int)> (doris::PriorityThreadPool, int)>::__call<void, , 0ul, 1ul>(std::tuple<>&&, std::_Index_tuple<0ul, 1ul>) (this=0x55d037b5c248, __args=...)
at /home/ubuntu/tools/ldb-tools/include/c++/11/functional:570
#24 0x000055d02dae2ce7 in std::_Bind_result<void, std::_Mem_fn<void (doris::PriorityThreadPool::)(int)> (doris::PriorityThreadPool, int)>::operator()<>() (this=0x55d037b5c248) at /home/ubuntu/tools/ldb-tools/include/c++/11/functional:629
#25 0x000055d02dae2c33 in std::__invoke_impl<void, std::_Bind_result<void, std::_Mem_fn<void (doris::PriorityThreadPool::)(int)> (doris::PriorityThreadPool, int)>>(std::__invoke_other, std::_Bind_result<void, std::_Mem_fn<void (doris::PriorityThreadPool::)(int)> (doris::PriorityThreadPool, int)>&&) (__f=...)

image

What You Expected?

no core dump

How to Reproduce?

No response

Anything Else?

no others

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
1 participant