[New LWP 56488] [New LWP 56459] [New LWP 56460] [New LWP 56461] [New LWP 56462] [New LWP 56463] [New LWP 56467] [New LWP 56468] [New LWP 56469] [New LWP 56470] [New LWP 56471] [New LWP 56472] [New LWP 56473] [New LWP 56474] [New LWP 56475] [New LWP 56476] [New LWP 56477] [New LWP 56478] [New LWP 56479] [New LWP 56480] [New LWP 56481] [New LWP 56482] [New LWP 56483] [New LWP 56484] [New LWP 56485] [New LWP 56486] [New LWP 56487] [New LWP 56489] [New LWP 56490] [New LWP 56666] [New LWP 56667] [New LWP 56668] [New LWP 56669] [New LWP 56670] [New LWP 56671] [New LWP 56672] [New LWP 56673] [New LWP 56674] [New LWP 56675] [New LWP 56676] [New LWP 56677] [New LWP 56678] [New LWP 56679] [New LWP 56680] [New LWP 56681] [New LWP 56682] [New LWP 56683] [New LWP 56684] [New LWP 56685] [New LWP 56686] 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 0x00007f8945e7b207 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 0x00007f8945e7b207 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55 resultvar = 0 pid = 56459 selftid = 56488 #1 0x00007f8945e7c8f8 in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x7f894620c1c0 <_IO_2_1_stderr_>, sa_sigaction = 0x7f894620c1c0 <_IO_2_1_stderr_>}, sa_mask = {__val = {140227560816633, 0, 140227560337587, 140224862907992, 140227563798976, 1, 140227563799107, 140227563783072, 140227560343758, 140227563798976, 10, 140226253031968, 0, 140226445882448, 140227560345027, 140227563798976}}, sa_flags = 1182596112, sa_restorer = 0x1077e90 } sigs = {__val = {32, 0 }} #2 0x00007f89467c563c in __gnu_cxx::__verbose_terminate_handler () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/vterminate.cc:95 terminating = false t = #3 0x0000000000b344ab in backtrace_terminate_handler() () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/utilities/terminate_handler.cc:88 No locals. #4 0x00007f89467d08f6 in __cxxabiv1::__terminate(void (*)()) () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:48 No locals. #5 0x00007f89467d0961 in std::terminate () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:58 No locals. #6 0x00007f89467d0bf4 in __cxxabiv1::__cxa_throw (obj=obj@entry=0x7f88f8000940, tinfo=0x1078430 , dest=0x444cf0 <_ZNSt11logic_errorD1Ev@plt>) at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_throw.cc:95 globals = header = 0x7f88f80008c0 #7 0x00000000004bf012 in CheckpointManager::queueDirty(SingleThreadedRCPtr >&, GenerateBySeqno, GenerateCas, PreLinkDocumentContext*, std::function) (this=0x7f89037eb8e0, qi=..., generateBySeqno=, generateCas=, preLinkDocumentContext=, assignedSeqnoCallback=...) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/vbucket.h:440 lh = {_M_device = @0x7f88ca59ba90} openCkpt = newLastBySeqno = 140226445883488 result = snapStart = #8 0x0000000000736161 in VBucket::queueItem(SingleThreadedRCPtr >&, VBQueueItemCtx const&) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/vbucket.cc:1280 durLock = {_M_device = 0x7f88ca5c7310, _M_owns = false} notifyCtx = {bySeqno = 0, notifyReplication = false, notifyFlusher = false, syncWrite = No, itemCountDifference = 0} #9 0x0000000000736765 in VBucket::queueDirty(HashTable::HashBucketLock const&, StoredValue&, VBQueueItemCtx const&) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/vbucket.cc:1369 durabilityReqs = qi = {value = 0x7f88caa7e580} notifyCtx = #10 0x00000000008319c6 in EPVBucket::updateStoredValue(HashTable::HashBucketLock const&, StoredValue&, Item const&, VBQueueItemCtx const&, bool) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/ep_vb.cc:676 result = #11 0x0000000000730bef in VBucket::processSetInner(HashTable::FindUpdateResult&, StoredValue*&, Item&, unsigned long, bool, bool, VBQueueItemCtx const&, cb::StoreIfStatus, bool) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/hash_table.h:741 committed = status = notifyCtx = #12 0x0000000000731384 in VBucket::processSet(HashTable::FindUpdateResult&, StoredValue*&, Item&, unsigned long, bool, bool, VBQueueItemCtx const&, cb::StoreIfStatus, bool) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/vbucket.cc:3368 No locals. #13 0x0000000000734052 in VBucket::setWithMeta(Item&, unsigned long, unsigned long*, CookieIface const*, EventuallyPersistentEngine&, CheckConflicts, bool, GenerateBySeqno, GenerateCas, Collections::VB::CachingReadHandle const&) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/vbucket.cc:2085 htRes = {pending = {lock = {bucketNum = 30, htLock = {_M_device = 0x7f88ca5ce4b0, _M_owns = true}}, value = 0x0}, committed = 0x7f88c8010140, ht = @0x7f88ca5c6f18} v = 0x7f88c8010140 hbl = @0x7f89037ebdb0: {bucketNum = 30, htLock = {_M_device = 0x7f88ca5ce4b0, _M_owns = true}} maybeKeyExists = true queueItmCtx = {genBySeqno = No, genCas = No, generateDeleteTime = No, trackCasDrift = Yes, durability = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = {requirementsOrPreparedSeqno = {> = {> = {> = {> = {> = {> = {_M_u = {_M_first = {_M_storage = {level = cb::durability::None, timeout = {static BucketDefaultVal = 0, static InfinityVal = 65535, value = 0}}}, _M_rest = {_M_first = {_M_storage = 140226387296000}, _M_rest = {}}}, _M_index = 0 '\000'}, }, }, }, }, }, >> = {}, >> = {}, }, cookie = 0x7f8944d85d80}}, _M_engaged = true}, }}, >> = {}, }, preLinkDocumentContext = 0x0, overwritingPrepareSeqno = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = 9275}, _M_engaged = false}, }}, >> = {}, }, hcs = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = 8034447}, _M_engaged = false}, }}, >> = {}, }, deduplicate = No} status = notifyCtx = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = {bySeqno = 0, notifyReplication = false, notifyFlusher = false, syncWrite = No, itemCountDifference = 0}}, _M_engaged = false}, }}, >> = {}, } ret = #14 0x00000000006fdfb8 in KVBucket::setWithMeta(Item&, unsigned long, unsigned long*, CookieIface const*, cb::bitset<4ul, vbucket_state_t, PermittedVBStatesMap>, CheckConflicts, bool, GenerateBySeqno, GenerateCas, ExtendedMetaData*) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/kv_bucket.cc:1753 cHandle = { = {readLock = {lock_ = 0x7f88ca5a5e98, token_ = {type_ = folly::SharedMutexToken::INLINE_SHARED, slot_ = 23}}, manifest = 0x7f88ca5a5e00}, itr = { const*, std::pair*>> = {}, underlying_ = {itemPtr_ = 0x7f88c80ef8d8, index_ = 9}}, key = {> = {}, buffer = {static npos = , buf = 0x7f88c2cb4940
, len = 21}, encoding = Yes}} vb = {> = {> = {}, _M_ptr = 0x7f88ca5c6f00, _M_refcount = {_M_pi = 0x7f88ca5c0860}}, } rlh = {lock_ = 0x7f88ca5c70e8, token_ = {type_ = folly::SharedMutexToken::DEFERRED_SHARED, slot_ = 0}} rv = #15 0x00000000008eb5c8 in PassiveStream::processMessage(MutationConsumerMessage*, PassiveStream::MessageType) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/dcp/response.h:478 delCas = 8173694 meta = {cas = 140227483091480, revSeqno = {counter = {_M_elems = "Z\223|\000\000"}}, flags = 58638656, exptime = 9276} taskToString = {_M_elems = {{static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f89037ec0a0 "mutation"}, _M_string_length = 8, {_M_local_buf = "mutation\000)\260G\211\177\000", _M_allocated_capacity = 7957695015159100781}}, {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f89037ec0c0 "deletion"}, _M_string_length = 8, {_M_local_buf = "deletion\000\000\000\000\001\000\000", _M_allocated_capacity = 7957695015225681252}}, {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f89037ec0e0 "expiration"}, _M_string_length = 10, {_M_local_buf = "expiration\000\000\000\000\000", _M_allocated_capacity = 7598805615304013925}}, {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f89037ec100 "prepare"}, _M_string_length = 7, {_M_local_buf = "prepare\000`\000\000\000\000\000\000", _M_allocated_capacity = 28554735470867056}}}} vb = {> = {> = {}, _M_ptr = 0x7f88ca5c6f00, _M_refcount = {_M_pi = 0x7f88ca5c0860}}, } consumer = {> = {> = {}, _M_ptr = , _M_refcount = {_M_pi = 0x7f88c9d3c800}}, } ret = deleteSource = Explicit switchComplete = false #16 0x00000000008ebe85 in processMutation (mutation=0x7f88c4ae27e0, this=0x7f88c96f0b10) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/dcp/passive_stream.cc:745 No locals. #17 PassiveStream::processBufferedMessages(unsigned int&, unsigned long) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/dcp/passive_stream.cc:480 ret = cb::success response = message_bytes = seqno = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = 9276}, _M_engaged = true}, }}, >> = {}, } lh = {_M_device = 0x7f88c96f0c70, _M_owns = false} count = 1 total_bytes_processed = 61 failed = false noMem = false #18 0x00000000008dcf72 in DcpConsumer::drainStreamsBufferedItems (this=this@entry=0x7f88c9d3c880, stream=..., yieldThreshold=10) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/dcp/consumer.cc:1261 rval = all_processed bytesProcessed = 0 iterations = 5 #19 0x00000000008e3517 in DcpConsumer::processBufferedItems() () at /opt/gcc-10.2.0/include/c++/10.2.0/ext/atomicity.h:100 stream = {> = {> = {}, _M_ptr = 0x7f88c96f0b10, _M_refcount = {_M_pi = 0x7f88c96f0b00}}, } process_ret = all_processed vbucket = {vbid = 359} #20 0x00000000008e6a45 in DcpConsumerTask::run (this=0x7f8944d53730) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/dcp/consumer.cc:84 phosphor_internal_category_enabled_73 = {_M_b = {_M_p = 0x0}, static is_always_lock_free = } phosphor_internal_category_enabled_temp_73 = phosphor_internal_tpi_73 = {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_73 = {tpi = 0x1063cc0 , enabled = true, arg1 = {}, arg2 = {}, start = {__d = {__r = 66498914195741738}}} consumer = {> = {> = {}, _M_ptr = , _M_refcount = {_M_pi = 0x7f88c9d3c800}}, } sleepFor = 0 state = #21 0x0000000000aa3279 in GlobalTask::execute(std::basic_string_view >) () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/globaltask.cc:98 guard = {previous = 0x0} start = runAgain = #22 0x0000000000a9c93a in FollyExecutorPool::TaskProxy::scheduleViaCPUPool()::{lambda()#2}::operator()() const (__closure=0x7f89037ec650) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/folly_executorpool.cc:309 runAgain = proxy = @0x7f894174cc00: #23 0x0000000000aa462e in operator() (this=0x7f89037ec650) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/cancellable_cpu_executor.cc:42 fn = @0x7f89037ec650: {> = {}, data_ = {big = 0x7f894174cc00, tiny = {__data = "\000\314tA\211\177\000\000@\307~\003\211\177\000\000\000\000\000\000\000\000\000\000@+\325D\211\177\000\000\373", '\000' , __align = {}}}, call_ = 0xa9ce70 ::callSmall(folly::detail::function::Data&)>, exec_ = 0xa9b360 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)>} #24 CancellableCPUExecutor::add(GlobalTask*, folly::Function)::{lambda()#1}::operator()() const () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/cancellable_cpu_executor.cc:42 task = {storage_ = {{emptyState = 48 '0', value = {task = 0x7f8944d53730, func = {> = {}, data_ = {big = 0x7f894174cc00, tiny = {__data = "\000\314tA\211\177\000\000@\307~\003\211\177\000\000\000\000\000\000\000\000\000\000@+\325D\211\177\000\000\373", '\000' , __align = {}}}, call_ = 0xa9ce70 ::callSmall(folly::detail::function::Data&)>, exec_ = 0xa9b360 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)>}}}, hasValue = true}} this = #25 0x0000000000c01c10 in operator() (this=0x7f89037ec840) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/Function.h:416 fn = @0x7f89037ec840: {> = {}, data_ = {big = 0x7f8944c57800, tiny = {__data = "\000x\305D\211\177\000\000\320\347\303H\211\177\000\000\060\000\000\000\000\000\000\000\250\334\000\000\000\000\000\000\310\000\000\000\000\000\000\000\020\311~\003\211\177\000", __align = {}}}, call_ = 0xaa49b0 ::callSmall >(folly::detail::function::Data &)>, exec_ = 0xaa3f60 >(folly::detail::function::Op, folly::detail::function::Data *, folly::detail::function::Data *)>} #26 folly::ThreadPoolExecutor::runTask(std::shared_ptr const&, folly::ThreadPoolExecutor::Task&&) (this=this@entry=0x7f8944c57900, 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 = 66498914195738035}} stats = {expired = false, waitTime = {__r = 1488791}, runTime = {__r = 0}, enqueueTime = {__d = {__r = 66498914194249244}}, requestId = 0} #27 0x0000000000bec6aa in folly::CPUThreadPoolExecutor::threadRun (this=0x7f8944c57900, 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 = 0x7f8944c57800, tiny = {__data = "\000x\305D\211\177\000\000\320\347\303H\211\177\000\000\060\000\000\000\000\000\000\000\250\334\000\000\000\000\000\000\310\000\000\000\000\000\000\000\020\311~\003\211\177\000", __align = {}}}, call_ = 0xaa49b0 ::callSmall >(folly::detail::function::Data &)>, exec_ = 0xaa3f60 >(folly::detail::function::Op, folly::detail::function::Data *, folly::detail::function::Data *)>}, enqueueTime_ = {__d = {__r = 66498914194249244}}, expiration_ = {__r = 0}, expireCallback_ = {> = {}, data_ = {big = 0xdca8, tiny = {__data = "\250\334\000\000\000\000\000\000K6\245", '\000' , "_.\243H\211\177\000\000\240\311~\003\211\177\000\000@\306\303H\211\177\000", __align = {}}}, call_ = 0x466eef ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0}, context_ = {> = {> = {}, _M_ptr = 0x0, _M_refcount = {_M_pi = 0x0}}, }}, poison = false, priority_ = 0 '\000', queueObserverPayload_ = 140227557498592}}, hasValue = true}} guard = {list_ = {forbid = true, prev = 0x0, curr = {name = {static npos = , b_ = 0xcc528b "CPUThreadPoolExecutor", e_ = 0xcc52a0 ""}}}} #28 0x0000000000c04bc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #29 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #30 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #31 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #32 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 = #33 0x0000000000a9c634 in operator() (this=0x7f89414389c0) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/folly_executorpool.cc:49 fn = @0x7f89414389c0: #34 operator() (__closure=0x7f89414389c0) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/executor/folly_executorpool.cc:49 threadNameOpt = {storage_ = {{emptyState = -96 '\240', value = {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f89037ec9a0 "NonIoPool0"}, _M_string_length = 10, {_M_local_buf = "NonIoPool0\000\000\000\000\000", _M_allocated_capacity = 8029725099528449870}}}, hasValue = true}} func = #35 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 = @0x7f89414389c0: #36 0x00007f89467f9d40 in execute_native_thread_routine () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/src/c++11/thread.cc:80 No locals. #37 0x00007f8948601dd5 in start_thread (arg=0x7f89037fe700) at pthread_create.c:307 __res = pd = 0x7f89037fe700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140226445960960, 176404659868039609, 0, 8392704, 0, 140226445960960, -188955578311607879, -189107363954656839}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = #38 0x00007f8945f42ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals.