(gdb) bt full #0 load (__m=std::memory_order_relaxed, this=0x7fb8c82a081000) at /usr/local/include/c++/7.3.0/bits/atomic_base.h:396 No locals. #1 load (this=0x7fb8c82a081000) at /home/couchbase/jenkins/workspace/couchbase-server-unix/platform/include/platform/non_negative_counter.h:99 No locals. #2 fetch_sub (arg=34186498402484481, this=0x7fb8c82a081000) at /home/couchbase/jenkins/workspace/couchbase-server-unix/platform/include/platform/non_negative_counter.h:148 current = desired = 140432414344504 #3 operator-= (rhs=34186498402484481, this=) at /home/couchbase/jenkins/workspace/couchbase-server-unix/platform/include/platform/non_negative_counter.h:190 No locals. #4 deallocate (n=34186498402484481, p=, this=) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/utilities/memory_tracking_allocator.h:108 No locals. #5 deallocate (__n=34186498402484481, __p=, __a=...) at /usr/local/include/c++/7.3.0/bits/alloc_traits.h:328 No locals. #6 _M_destroy (__size=34186498402484480, this=0x7fb89afde427) at /usr/local/include/c++/7.3.0/bits/basic_string.h:226 No locals. #7 _M_dispose (this=0x7fb89afde427) at /usr/local/include/c++/7.3.0/bits/basic_string.h:221 No locals. #8 ~basic_string (this=0x7fb89afde427, __in_chrg=) at /usr/local/include/c++/7.3.0/bits/basic_string.h:647 No locals. #9 ~StoredDocKeyT (this=, __in_chrg=) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/storeddockey.h:51 No locals. #10 ~pair (this=, __in_chrg=) at /usr/local/include/c++/7.3.0/bits/stl_pair.h:198 No locals. #11 _S_destroy const, index_entry> >, std::pair const, index_entry> > (__p=) at /usr/local/include/c++/7.3.0/bits/alloc_traits.h:261 No locals. #12 destroy const, index_entry> > (__a=, __p=) at /usr/local/include/c++/7.3.0/bits/alloc_traits.h:356 No locals. #13 _M_deallocate_node (__n=0x7fb89afde41f, this=0x7fb8f82c05e0) at /usr/local/include/c++/7.3.0/bits/hashtable_policy.h:2084 No locals. #14 _M_deallocate_nodes (__n=, this=0x7fb8f82c05e0) at /usr/local/include/c++/7.3.0/bits/hashtable_policy.h:2097 __tmp = 0x7fb89afde41f #15 clear (this=0x7fb8f82c05e0) at /usr/local/include/c++/7.3.0/bits/hashtable.h:2029 No locals. #16 std::_Hashtable, std::pair const, index_entry>, MemoryTrackingAllocator const, index_entry> >, std::__detail::_Select1st, std::equal_to, std::hash >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >::~_Hashtable (this=0x7fb8f82c05e0, __in_chrg=) at /usr/local/include/c++/7.3.0/bits/hashtable.h:1355 No locals. #17 0x00007fb90cef2b1a in ~unordered_map (this=0x7fb8f82c05e0, __in_chrg=) at /usr/local/include/c++/7.3.0/bits/unordered_map.h:101 No locals. #18 Checkpoint::~Checkpoint (this=0x7fb8f82c0480, __in_chrg=) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/checkpoint.cc:217 No locals. #19 0x00007fb90cefbfd8 in operator() (this=, __ptr=0x7fb8f82c0480) at /usr/local/include/c++/7.3.0/bits/unique_ptr.h:78 No locals. #20 ~unique_ptr (this=, __in_chrg=) at /usr/local/include/c++/7.3.0/bits/unique_ptr.h:268 No locals. #21 destroy > (this=, __p=) at /usr/local/include/c++/7.3.0/ext/new_allocator.h:140 No locals. #22 destroy > (__a=..., __p=) at /usr/local/include/c++/7.3.0/bits/alloc_traits.h:487 No locals. #23 _M_clear (this=0x7fb8c0fbdb70) at /usr/local/include/c++/7.3.0/bits/list.tcc:76 __tmp = __cur = #24 ~_List_base (this=0x7fb8c0fbdb70, __in_chrg=) at /usr/local/include/c++/7.3.0/bits/stl_list.h:442 No locals. #25 ~list (this=0x7fb8c0fbdb70, __in_chrg=) at /usr/local/include/c++/7.3.0/bits/stl_list.h:733 No locals. #26 CheckpointManager::removeClosedUnrefCheckpoints (this=, vbucket=..., newOpenCheckpointCreated=newOpenCheckpointCreated@entry=@0x7fb8c0fbdbd5: false, limit=limit@entry=18446744073709551615) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/checkpoint_manager.cc:486 numUnrefItems = unrefCheckpointList = { >, std::allocator > > >> = { _M_impl = { > > >> = {<__gnu_cxx::new_allocator > > >> = {}, }, _M_node = { = {_M_next = 0x7fb8c82a0c00, _M_prev = 0x7fb8c82a0c00}, _M_storage = {_M_storage = "\001\000\000\000\000\000\000"}}}}, } #27 0x00007fb90cf06382 in CheckpointVisitor::visitBucket (this=0x7fb8c867aa00, vb=...) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/checkpoint_visitor.cc:40 newCheckpointCreated = false #28 0x00007fb90d003fbb in VBCBAdaptor::run (this=0x7fb9000cb870) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/kv_bucket.cc:2386 vbid = vb = {> = {> = {}, _M_ptr = 0x7fb8c048f300, _M_refcount = {_M_pi = 0x7fb8c04a4b80}}, } #29 0x00007fb90cfe8c13 in GlobalTask::execute (this=0x7fb9000cb870) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/globaltask.cc:74 guard = {previous = 0x0} #30 0x00007fb90cfe2c92 in operator() (__closure=0x7fb8c0fbe0c0) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/folly_executorpool.cc:167 executedAt = end = scheduleOverhead = start = {__d = {__r = 391826001832727}} runAgain = false proxy = @0x7fb87fd175f0: #31 folly::detail::function::FunctionTraits::callSmall(folly::detail::function::Data&) (p=...) at /home/couchbase/jenkins/workspace/couchbase-server-unix/server_build/tlm/deps/folly.exploded/include/folly/Function.h:387 fn = @0x7fb8c0fbe0c0: {__proxy = @0x7fb87fd175f0} #32 0x00007fb90d1621d6 in operator() (this=0x7fb8c0fbe0c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/Function.h:416 fn = @0x7fb8c0fbe0c0: {> = {}, data_ = {big = 0x7fb87fd175f0, tiny = {__data = "\360u\321\177\270\177\000\000\000\000\000\000\000\000\000\000\020u\321\177\270\177", '\000' , __align = {}}}, call_ = 0x7fb90cfe2bd0 ::callSmall(folly::detail::function::Data&)>, exec_ = 0x7fb90cfe0720 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)>} #33 folly::ThreadPoolExecutor::runTask(std::shared_ptr const&, folly::ThreadPoolExecutor::Task&&) (this=0x7fb8f8f1d800, thread=..., task=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/ThreadPoolExecutor.cpp:98 rctx = {prev_ = {> = {> = {}, _M_ptr = 0x0, _M_refcount = {_M_pi = 0x0}}, }} startTime = {__d = {__r = 391826001831585}} stats = {expired = false, waitTime = {__r = 16086}, runTime = {__r = 0}, enqueueTime = {__d = {__r = 391826001815499}}, requestId = 0} #34 0x00007fb90d14a6ca in folly::CPUThreadPoolExecutor::threadRun (this=0x7fb8f8f1d800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:265 guard = {list_ = {forbid = true, prev = 0x0, curr = {name = {static npos = , b_ = 0x7fb90d1ca37b "CPUThreadPoolExecutor", e_ = 0x7fb90d1ca390 ""}}}} #35 0x00007fb90d1652f9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #36 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #37 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #38 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #39 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 = #40 0x00007fb90cfe10d3 in operator() (this=0x7fb9077e0870) at /home/couchbase/jenkins/workspace/couchbase-server-unix/server_build/tlm/deps/folly.exploded/include/folly/Function.h:416 fn = @0x7fb9077e0870: #41 operator() (__closure=0x7fb9077e0860) at /home/couchbase/jenkins/workspace/couchbase-server-unix/server_build/tlm/deps/folly.exploded/include/folly/executors/thread_factory/PriorityThreadFactory.h:54 func = priority = #42 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 = @0x7fb9077e0860: #43 0x00007fb90960adcf in std::execute_native_thread_routine (__p=0x7fb8f8ead090) at /tmp/deploy/gcc-7.3.0/libstdc++-v3/src/c++11/thread.cc:83 __t = {_M_t = { _M_t = { >> = { >> = {, true>> = {> = {}, }, }, > = {_M_head_impl = 0x7fb8f8ead090}, }, }}} #44 0x00007fb908e23dc5 in start_thread () from /lib64/libpthread.so.0 No symbol table info available. #45 0x00007fb908b5276d in clone () from /lib64/libc.so.6 No symbol table info available.