core dump in call_home when tserver is out of memory #2371
Labels
area/docdb
YugabyteDB core features
kind/bug
This issue is a bug
priority/medium
Medium priority issue
Jira Link: DB-2404
Core was generated by `/home/yugabyte/tserver/bin/yb-tserver --flagfile /home/yugabyte/tserver/conf/se'.
Program terminated with signal 6, Aborted.
#0 0x00007f72476080a7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007f72476080a7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007f72476094aa in __GI_abort () at abort.c:89
#2 0x00007f72487415cd in __gnu_cxx::__verbose_terminate_handler() () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#3 0x00007f724873f636 in ?? () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#4 0x00007f724873f681 in std::terminate() () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#5 0x00007f724873f898 in __cxa_throw () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#6 0x00007f724cec712b in (anonymous namespace)::handle_oom(void* ()(void), void*, bool, bool) () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/lib/yb-thirdparty/libtcmalloc.so.4
#7 0x00007f724cee76c2 in tcmalloc::allocate_full_cpp_throw_oom(unsigned long) () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/lib/yb-thirdparty/libtcmalloc.so.4
#8 0x00007f724877e6a9 in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator const&) () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#9 0x00007f724877f48b in std::string::_Rep::_M_clone(std::allocator const&, unsigned long) () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#10 0x00007f724877f534 in std::string::reserve(unsigned long) () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#11 0x00007f724877f608 in std::string::append(std::string const&) () from /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew/lib/libstdc++.so.6
#12 0x00007f7256614f9b in operator+= (__str=..., this=0x7f72353db528) at /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew-xxxxxxxxxxxxx/Cellar/gcc/5.5.0_4/include/c++/5.5.0/bits/basic_string.h:3442
#13 yb::CallHome::BuildJson (this=this@entry=0x1ec1500) at ../../src/yb/master/call_home.cc:387
#14 0x00007f725661573d in yb::CallHome::BuildJsonAndSend (this=this@entry=0x1ec1500) at ../../src/yb/master/call_home.cc:413
#15 0x00007f72566157bc in yb::CallHome::DoCallHome (this=0x1ec1500) at ../../src/yb/master/call_home.cc:422
#16 0x00007f724ee7be2a in operator() (__closure=) at ../../src/yb/rpc/scheduler.cc:132
#17 asio_handler_invoke<yb::rpc::Scheduler::Impl::HandleTimer(const boost::system::error_code&)::<lambda()> > (function=) at ../../thirdparty/installed/uninstrumented/include/boost/asio/handler_invoke_hook.hpp:69
#18 invoke<yb::rpc::Scheduler::Impl::HandleTimer(const boost::system::error_code&)::<lambda()>, yb::rpc::Scheduler::Impl::HandleTimer(const boost::system::error_code&)::<lambda()> > (context=, function=) at ../../thirdparty/installed/uninstrumented/include/boost/asio/detail/handler_invoke_helpers.hpp:37
#19 complete<yb::rpc::Scheduler::Impl::HandleTimer(const boost::system::error_code&)::<lambda()> > (this=, handler=, function=) at ../../thirdparty/installed/uninstrumented/include/boost/asio/detail/handler_work.hpp:82
#20 boost::asio::detail::completion_handler<yb::rpc::Scheduler::Impl::HandleTimer(boost::system::error_code const&)::{lambda()#1}>::do_complete(void*, boost::asio::detail::scheduler_operation*, boost::system::error_code const&, unsigned long) (owner=0x141ad20, base=0x222dce0)
at ../../thirdparty/installed/uninstrumented/include/boost/asio/detail/completion_handler.hpp:70
#21 0x00007f724ee374b4 in complete (bytes_transferred=0, ec=..., owner=0x141ad20, this=) at ../../thirdparty/installed/uninstrumented/include/boost/asio/detail/scheduler_operation.hpp:40
#22 do_run_one (ec=..., this_thread=..., lock=..., this=0x141ad20) at ../../thirdparty/installed/uninstrumented/include/boost/asio/detail/impl/scheduler.ipp:401
#23 run (ec=..., this=0x141ad20) at ../../thirdparty/installed/uninstrumented/include/boost/asio/detail/impl/scheduler.ipp:154
#24 run (this=, ec=...) at ../../thirdparty/installed/uninstrumented/include/boost/asio/impl/io_context.ipp:70
#25 yb::rpc::IoThreadPool::Impl::Execute (this=) at ../../src/yb/rpc/io_thread_pool.cc:77
#26 0x00007f724d478369 in operator() (this=0x1364c68) at /home/yugabyte/yb-software/yugabyte-2.0.0.0-b16-centos-x86_64/linuxbrew-xxxxxxxxxxxxx/Cellar/gcc/5.5.0_4/include/c++/5.5.0/functional:2267
#27 yb::Thread::SuperviseThread (arg=) at ../../src/yb/util/thread.cc:690
#28 0x00007f7247f7e694 in start_thread (arg=0x7f72353dc700) at pthread_create.c:333
#29 0x00007f72476bb41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
(gdb)
The text was updated successfully, but these errors were encountered: