GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-120.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /opt/couchbase/bin/memcached...Reading symbols from /usr/lib/debug/opt/couchbase/bin/memcached-7.1.0-2211.x86_64.debug...done. done. [New LWP 6227] [New LWP 6207] [New LWP 6208] [New LWP 6209] [New LWP 6210] [New LWP 6211] [New LWP 6215] [New LWP 6216] [New LWP 6217] [New LWP 6218] [New LWP 6219] [New LWP 6220] [New LWP 6221] [New LWP 6222] [New LWP 6223] [New LWP 6224] [New LWP 6225] [New LWP 6226] [New LWP 6228] [New LWP 6229] [New LWP 6230] [New LWP 6231] [New LWP 6232] [New LWP 6233] [New LWP 6234] [New LWP 6235] [New LWP 6236] [New LWP 6237] [New LWP 6238] [New LWP 6240] [New LWP 6241] [New LWP 6242] [New LWP 6243] [New LWP 6244] [New LWP 6245] [New LWP 6246] [New LWP 6247] [New LWP 6248] [New LWP 6254] [New LWP 6255] [New LWP 6256] [New LWP 6257] [New LWP 6258] [New LWP 6259] [New LWP 6260] [New LWP 6261] [New LWP 6262] [New LWP 6263] [New LWP 6264] [New LWP 6265] To enable execution of this file add add-auto-load-safe-path /usr/lib64/libthread_db-1.0.so line to your configuration file "/root/.gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/root/.gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" Core was generated by `/opt/couchbase/bin/memcached -C /opt/couchbase/var/lib/couchbase/config/memcach'. #0 0x00007f70c0cdf3d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig); #0 0x00007f70c0cdf3d7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 resultvar = 0 pid = 6207 selftid = 6227 #1 0x00007f70c0ce0ac8 in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 , 140121919628064}}, sa_flags = -1079626480, sa_restorer = 0x0} sigs = {__val = {32, 0 }} #2 0x00007f70c16377f2 in __gnu_cxx::__verbose_terminate_handler() () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/vterminate.cc:50 terminating = false t = #3 0x0000000000b4448b in backtrace_terminate_handler() () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/utilities/terminate_handler.cc:88 No locals. #4 0x00007f70c16358f6 in __cxxabiv1::__terminate(void (*)()) () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:48 No locals. #5 0x00007f70c1635961 in std::terminate () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:58 No locals. #6 0x00007f70c1635bf4 in __cxxabiv1::__cxa_throw (obj=, tinfo=0x108ee10 , dest=0x7f70c1634b30 ) at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_throw.cc:95 globals = header = 0x7f7094000f90 #7 0x00000000004cf077 in EPVBucket::setNumTotalItems (this=0x7f704a578700, kvstore=...) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/ep_vb.cc:1198 e = @0x7f7094000f50: itemCount = 18446744073709551569 vbState = 0x7f7088713f00 vbItemCount1 = systemEvents = 0 vbItemCount2 = 18446744073709551569 #8 0x0000000000749401 in Warmup::estimateDatabaseItemCount (this=0x7f7050b17900, shardId=) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/kvshard.h:72 epVb = @0x7f704a578700: vbItemCount = 0 itr = { >::ahm_iterator, std::hash, std::equal_to, std::allocator, folly::AtomicHashArrayLinearProbeFcn, folly::identity_fn>, std::pair >, folly::AtomicHashArray, std::hash, std::equal_to, std::allocator, folly::AtomicHashArrayLinearProbeFcn, folly::identity_fn>::aha_iterator, std::hash, std::equal_to, std::allocator, folly::AtomicHashArrayLinearProbeFcn, folly::identity_fn>, std::pair > > >, std::pair >, std::forward_iterator_tag>> = {}, ahm_ = 0x7f7050b17ad8, subMap_ = , subIt_ = {, std::hash, std::equal_to, std::allocator, folly::AtomicHashArrayLinearProbeFcn, folly::identity_fn>::aha_iterator, std::hash, std::equal_to, std::allocator, folly::AtomicHashArrayLinearProbeFcn, folly::identity_fn>, std::pair > >, std::pair >, std::forward_iterator_tag>> = {}, aha_ = , offset_ = }} vbid = __for_range = item_count = 742395 #9 0x0000000000753421 in WarmupEstimateDatabaseItemCount::run (this=0x7f70a41b4d30) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/warmup.cc:266 phosphor_internal_category_enabled_265 = {_M_b = {_M_p = 0x0}, static is_always_lock_free = } phosphor_internal_category_enabled_temp_265 = phosphor_internal_tpi_265 = {category = 0x0, name = 0x0, type = phosphor::AsyncStart, argument_names = {_M_elems = {0x0, 0x0}}, argument_types = {_M_elems = {phosphor::is_bool, phosphor::is_bool}}} phosphor_internal_guard_265 = {tpi = 0x1077c20 , enabled = true, arg1 = {}, arg2 = {}, start = {__d = {__r = 1078496517699481}}} #10 0x0000000000ab7502 in GlobalTask::execute() () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/globaltask.cc:68 guard = {previous = 0x0} #11 0x0000000000ab4605 in FollyExecutorPool::TaskProxy::scheduleViaCPUPool()::{lambda()#2}::operator()() const (__closure=0x7f70ad3ea840) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/folly_executorpool.cc:189 scheduleOverhead = start = {__d = {__r = 1078496517680198}} runAgain = false proxy = @0x7f7049c3e600: #12 0x0000000000c08ec0 in operator() (this=0x7f70ad3ea840) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/Function.h:416 fn = @0x7f70ad3ea840: {> = {}, data_ = {big = 0x7f7049c3e600, tiny = { __data = "\000\346\303Ip\177\000\000\000\000\000\000\000\000\000\000\320\326=Qp\177\000\000S\030", '\000' , "\020\251>\255p\177\000", __align = {}}}, call_ = 0xab4cc0 ::callSmall(folly::detail::function::Data&)>, exec_ = 0xab3410 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)>} #13 folly::ThreadPoolExecutor::runTask(std::shared_ptr const&, folly::ThreadPoolExecutor::Task&&) (this=this@entry=0x7f70bfa5a400, thread=..., task=task@entry=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/ThreadPoolExecutor.cpp:97 rctx = {prev_ = {> = {> = {}, _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0}}, }} startTime = {__d = {__r = 1078496517672512}} stats = {expired = false, waitTime = {__r = 64319}, runTime = {__r = 0}, enqueueTime = {__d = {__r = 1078496517608193}}, requestId = 0} #14 0x0000000000bf37fa in folly::CPUThreadPoolExecutor::threadRun (this=0x7f70bfa5a400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:265 task = {storage_ = {{emptyState = 0 '\000', value = { = {func_ = {> = {}, data_ = {big = 0x7f7049c3e600, tiny = { __data = "\000\346\303Ip\177\000\000\000\000\000\000\000\000\000\000\320\326=Qp\177\000\000S\030", '\000' , "\020\251>\255p\177\000", __align = {}}}, call_ = 0xab4cc0 ::callSmall(folly::detail::function::Data&)>, exec_ = 0xab3410 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)>}, enqueueTime_ = { __d = {__r = 1078496517608193}}, expiration_ = {__r = 0}, expireCallback_ = {> = {}, data_ = {big = 0x1853, tiny = { __data = "S\030\000\000\000\000\000\000[?\244", '\000' , "_~\211\303p\177\000\000\240\251>\255p\177\000\000@\026\252\303p\177\000", __align = {}}}, call_ = 0x466eed ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0}, context_ = {> = {> = {}, _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0}}, }}, poison = false, priority_ = 0 '\000', queueObserverPayload_ = 0}}, hasValue = true}} guard = {list_ = {forbid = true, prev = 0x0, curr = {name = {static npos = , b_ = 0xcdb38b "CPUThreadPoolExecutor", e_ = 0xcdb3a0 ""}}}} #15 0x0000000000c0be79 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #16 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #17 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #18 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #19 folly::detail::function::FunctionTraits::callBig))(std::shared_ptr)> >(folly::detail::function::Data&) (p=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/Function.h:401 fn = #20 0x0000000000ab4294 in operator() (this=0x7f70bfabfbc0) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7f70bfabfbc0: #21 operator() (__closure=0x7f70bfabfbc0) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = {storage_ = {{emptyState = -96 '\240', value = {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f70ad3ea9a0 "ReaderPool3"}, _M_string_length = 11, {_M_local_buf = "ReaderPool3\000\000\000\000", _M_allocated_capacity = 8021036716148221266}}}, hasValue = true}} func = #22 folly::detail::function::FunctionTraits::callBig&&)::{lambda()#1}>(folly::detail::function::Data&) (p=...) at /home/couchbase/jenkins/workspace/couchbase-server-unix/server_build/tlm/deps/folly.exploded/include/folly/Function.h:401 fn = @0x7f70bfabfbc0: #23 0x00007f70c165ed40 in execute_native_thread_routine () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/src/c++11/thread.cc:80 No locals. #24 0x00007f70c3466ea5 in start_thread (arg=0x7f70ad3fc700) at pthread_create.c:307 __res = pd = 0x7f70ad3fc700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140121919702784, -1821991772178769846, 0, 8392704, 0, 140121919702784, 1754053509652256842, 1754005468419954762}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = #25 0x00007f70c0da79fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. No core file now.