(gdb) bt full #0 0x00007f2bced9f1f7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 111378 selftid = 111418 #1 0x00007f2bceda08e8 in __GI_abort () at abort.c:90 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0, 139824514112048, 139824514112056, 139826134413760, 139826134413760, 1, 139826134413891, 139817186698184, 139826130981916, 1, 139826134413760, 139824514117392, 139826131449949, 2, 30222624, 139824203836032}}, sa_flags = 10, sa_restorer = 0x7f2b6e7fc700} sigs = {__val = {32, 0 }} #2 0x00007f2bcf6e063c in __gnu_cxx::__verbose_terminate_handler () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/vterminate.cc:95 terminating = false t = #3 0x0000000000b68deb in backtrace_terminate_handler() () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/utilities/terminate_handler.cc:88 No locals. #4 0x00007f2bcf6eb8f6 in __cxxabiv1::__terminate(void (*)()) () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:48 No locals. #5 0x00007f2bcf6eb961 in std::terminate () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:58 No locals. #6 0x00007f2bcf6ebc46 in __cxxabiv1::__cxa_rethrow () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_throw.cc:133 globals = header = #7 0x00000000004ecce7 in ActiveStream::processItems (this=0x7f29b9c62410, outstandingItemsResult=..., streamMutex=...) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/engines/ep/src/dcp/active_stream.cc:1291 rangeData = {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f29b9d1c200
}, _M_string_length = 142, { _M_local_buf = "\360\000\000\000\000\000\000\000\062\062\064\060\000\177\000", _M_allocated_capacity = 240}} itemData = {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f29b5a25000
}, _M_string_length = 6272, { _M_local_buf = "\340!\000\000\000\000\000\000\216\000\000\000\000\000\000", _M_allocated_capacity = 8672}} vb = {> = {> = {}, _M_ptr = 0x7f2985493600, _M_refcount = {_M_pi = 0x7f29b8f4f180}}, } e = @0x7f2b5c002af0: qi = __for_range = @0x7f2b6e7e9f18: { >, std::allocator > > >> = { _M_impl = { > >> = {<__gnu_cxx::new_allocator > >> = {}, }, >, std::allocator > > >::_Vector_impl_data> = {_M_start = 0x7f29b9e21a00, _M_finish = 0x7f29b9e21a90, _M_end_of_storage = 0x7f29b9e21b00}, }}, } mutations = { >, std::allocator > > >> = { _M_impl = { > >> = {<__gnu_cxx::new_allocator > >> = {}, }, >, std::allocator > > >::_Deque_impl_data> = {_M_map = 0x7f29b9d208c0, _M_map_size = 8, _M_start = {_M_cur = 0x7f29a849ec00, _M_first = 0x7f29a849ec00, _M_last = 0x7f29a849ee00, _M_node = 0x7f29b9d208d8}, _M_finish = {_M_cur = 0x7f29a849ec00, _M_first = 0x7f29a849ec00, _M_last = 0x7f29a849ee00, _M_node = 0x7f29b9d208d8}}, }}, } visibleSeqno = 32596 highNonVisibleSeqno = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = 0}, _M_engaged = }, }}, >> = {}, } lastCheckpointRange = {> = { >> = {}, _M_payload = {> = {_M_payload = { _M_empty = {}, _M_value = {range = {start = , end = 32597}, highCompletedSeqno = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = }, _M_engaged = }, }}, >> = {}, }, highPreparedSeqno = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = }, _M_engaged = }, }}, >> = {}, }}}, _M_engaged = }, }}, >> = {}, } #8 0x00000000008e4d04 in ActiveStream::nextCheckpointItemTask(std::lock_guard const&) () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/engines/ep/src/dcp/active_stream.cc:918 res = {checkpointType = Memory, items = { >, std::allocator > > >> = { _M_impl = { > >> = {<__gnu_cxx::new_allocator > >> = {}, }, >, std::allocator > > >::_Vector_impl_data> = {_M_start = 0x7f29b9e21a00, _M_finish = 0x7f29b9e21a90, _M_end_of_storage = 0x7f29b9e21b00}, }}, }, diskCheckpointState = {> = { >> = {}, _M_payload = {> = {_M_payload = {_M_empty = {}, _M_value = {highCompletedSeqno = 139824514117920}}, _M_engaged = false}, }}, >> = {}, }, visibleSeqno = 32596, ranges = { >> = { _M_impl = {> = {<__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = {_M_start = 0x7f2996526720, _M_finish = 0x7f2996526780, _M_end_of_storage = 0x7f29965267b0}, }}, }} producer = {> = {> = {}, _M_ptr = , _M_refcount = {_M_pi = 0x7f29ba1bae00}}, } vbucket = {> = {> = {}, _M_ptr = 0x7f2985493600, _M_refcount = {_M_pi = 0x7f29b8f4f180}}, } #9 0x00000000008e4dc4 in ActiveStream::nextCheckpointItemTask() () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/engines/ep/src/dcp/active_stream.cc:902 lh = {_M_device = @0x7f29b9c62478} #10 0x00000000008ee389 in ActiveStreamCheckpointProcessorTask::run() () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/engines/ep/src/dcp/active_stream_checkpoint_processor_task.cc:52 as = rh = { >::Iterable > >> = {itr = {_M_node = 0x7f299c686560}, endItr = {_M_node = 0x0}, before = {_M_node = }}, readLock = {_M_pm = 0x7f2981bdda88, _M_owns = }, container = } streams = { >, (__gnu_cxx::_Lock_policy)2>> = { >, (__gnu_cxx::_Lock_policy)2, false, false>> = {}, _M_ptr = 0x7f2981bdda70, _M_refcount = { _M_pi = 0x7f2981bdda60}}, } iterations = 0 expected = false #11 0x0000000000ad7ba9 in GlobalTask::execute(std::basic_string_view >) () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/globaltask.cc:98 guard = {previous = 0x0} start = runAgain = #12 0x0000000000ad181a in FollyExecutorPool::TaskProxy::scheduleViaCPUPool()::{lambda()#2}::operator()() const (__closure=0x7f2b6e7ea390) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:289 runAgain = proxy = @0x7f2bb64a50e0: #13 0x0000000000ad8f5e in operator() (this=0x7f2b6e7ea390) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/cancellable_cpu_executor.cc:42 fn = @0x7f2b6e7ea390: {> = {}, data_ = {big = 0x7f2bb64a50e0, tiny = {__data = "\340PJ\266+\177\000\000\200\244~n+\177\000\000\000\000\000\000\000\000\000\000 \234O\266+\177\000\000\224\000\000\000\000\000\000\000\000XG\370\r\000\000", __align = {}}}, call_ = 0xad1d30 ::callSmall(folly::detail::function::Data&)>, exec_ = 0xad0300 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)>} #14 CancellableCPUExecutor::addWithTask(GlobalTask&, folly::Function)::{lambda()#1}::operator()() const () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/cancellable_cpu_executor.cc:42 task = {storage_ = {{emptyState = -128 '\200', value = {task = @0x7f29b343f680, func = {> = {}, data_ = {big = 0x7f2bb64a50e0, tiny = { __data = "\340PJ\266+\177\000\000\200\244~n+\177\000\000\000\000\000\000\000\000\000\000 \234O\266+\177\000\000\224\000\000\000\000\000\000\000\000XG\370\r\000\000", __align = {}}}, call_ = 0xad1d30 ::callSmall(folly::detail::function::Data&)>, exec_ = 0xad0300 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)>}}}, hasValue = true}} this = #15 0x0000000000c2d6c0 in operator() (this=0x7f2b6e7ea580) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/Function.h:416 fn = @0x7f2b6e7ea580: {> = {}, data_ = {big = 0x7f2bcd534c00, tiny = {__data = "\000LS\315+\177\000\000З\265\321+\177\000\000\060\000\000\000\000\000\000\000:\263\001\000\000\000\000\000\320\000\000\000\000\000\000\000P\246~n+\177\000", __align = {}}}, call_ = 0xad92e0 ::callSmall >(folly::detail::function::Data &)>, exec_ = 0xad8890 >(folly::detail::function::Op, folly::detail::function::Data *, folly::detail::function::Data *)>} #16 folly::ThreadPoolExecutor::runTask(std::shared_ptr const&, folly::ThreadPoolExecutor::Task&&) (this=this@entry=0x7f2bcd534d00, 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 = 36773067421098134}} stats = {expired = false, waitTime = {__r = 286680}, runTime = {__r = 0}, enqueueTime = {__d = {__r = 36773067420811454}}, requestId = 0} #17 0x0000000000c1815a in folly::CPUThreadPoolExecutor::threadRun (this=0x7f2bcd534d00, 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 = 0x7f2bcd534c00, tiny = { __data = "\000LS\315+\177\000\000З\265\321+\177\000\000\060\000\000\000\000\000\000\000:\263\001\000\000\000\000\000\320\000\000\000\000\000\000\000P\246~n+\177\000", __align = {}}}, call_ = 0xad92e0 ::callSmall >(folly::detail::function::Data &)>, exec_ = 0xad8890 >(folly::detail::function::Op, folly::detail::function::Data *, folly::detail::function::Data *)>}, enqueueTime_ = {__d = {__r = 36773067420811454}}, expiration_ = {__r = 0}, expireCallback_ = {> = {}, data_ = {big = 0x1b33a, tiny = {__data = ":\263\001\000\000\000\000\000\233\370\245", '\000' , "_ޔ\321+\177\000\000\340\246~n+\177\000\000@v\265\321+\177\000", __align = {}}}, call_ = 0x46835d ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0}, context_ = {> = {> = {}, _M_ptr = 0x0, _M_refcount = {_M_pi = 0x0}}, }}, poison = false, priority_ = 0 '\000', queueObserverPayload_ = 139826125069696}}, hasValue = true}} guard = {list_ = {forbid = true, prev = 0x0, curr = {name = {static npos = , b_ = 0xd00feb "CPUThreadPoolExecutor", e_ = 0xd01000 ""}}}} #18 0x0000000000c30679 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #19 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #20 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #21 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #22 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 = #23 0x0000000000ad1514 in operator() (this=0x7f2bcd5f60c0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:49 fn = @0x7f2bcd5f60c0: #24 operator() (__closure=0x7f2bcd5f60c0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:49 threadNameOpt = {storage_ = {{emptyState = -32 '\340', value = {static npos = 18446744073709551615, _M_dataplus = {> = {<__gnu_cxx::new_allocator> = {}, }, _M_p = 0x7f2b6e7ea6e0 "NonIoPool0"}, _M_string_length = 10, { _M_local_buf = "NonIoPool0\000\000\000\000\000", _M_allocated_capacity = 8029725099528449870}}}, hasValue = true}} func = #25 folly::detail::function::FunctionTraits::callBig&&)::{lambda()#1}>(folly::detail::function::Data&) (p=...) at /home/couchbase/jenkins/workspace/toy-unix-simple/server_build/tlm/deps/folly.exploded/include/folly/Function.h:401 fn = @0x7f2bcd5f60c0: #26 0x00007f2bcf714d40 in execute_native_thread_routine () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/src/c++11/thread.cc:80 No locals. #27 0x00007f2bd151ce25 in start_thread (arg=0x7f2b6e7fc700) at pthread_create.c:308 __res = pd = 0x7f2b6e7fc700 now = unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139824514189056, 6178460347055413772, 0, 139824514189760, 139824514189056, 139826123108912, -6059434908087805428, -6059049792010905076}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}} not_first_call = pagesize_m1 = sp = freesize = #28 0x00007f2bcee6234d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 No locals.