GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-119.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-14101.x86_64.debug...done. done. [New LWP 84389] [New LWP 84407] [New LWP 84408] [New LWP 84409] [New LWP 84417] [New LWP 84424] [New LWP 84460] [New LWP 84461] [New LWP 84462] [New LWP 84463] [New LWP 84464] [New LWP 84465] [New LWP 84466] [New LWP 84467] [New LWP 84468] [New LWP 84469] [New LWP 84470] [New LWP 84471] [New LWP 84472] [New LWP 84473] [New LWP 84474] [New LWP 84475] [New LWP 84476] [New LWP 84477] [New LWP 84478] [New LWP 84479] [New LWP 84480] [New LWP 84481] [New LWP 84482] [New LWP 84483] [New LWP 84484] [New LWP 84485] [New LWP 84486] [New LWP 84487] [New LWP 84488] [New LWP 84489] [New LWP 84660] [New LWP 84386] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Core was generated by `/opt/couchbase/bin/memcached'. #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 238 62: movq %rax, %r14 warning: File "/opt/couchbase/lib/libstdc++.so.6.0.28-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py". To enable execution of this file add add-auto-load-safe-path /opt/couchbase/lib/libstdc++.so.6.0.28-gdb.py 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" Thread 38 (Thread 0x7fe2474b8f40 (LWP 84386)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec2300, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241f19f60 events = 0x7fe24301f500 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec2300, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 0, tv_usec = 484993 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe243049780, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7ffe83cb9fe0, prev_ = 0x7ffe83cb9fe0 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe243049780 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039122468931 } } idleStart = { __d = { __r = 9770378913393675 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe243049780) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=0x7fe243049780) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x000000000056a06b in memcached_main(int, char**) () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/memcached.cc:1006 numa_status = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe24302edf0 "Set memory allocation policy to 'interleave'" }, _M_string_length = 44, { _M_local_buf = ",", '\000' , _M_allocated_capacity = 44 } } parent_monitor = { _M_t = { >> = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } }, } } fineClock = { overhead = { __r = 845 }, measurementPeriod = { __r = 1 } } coarseClock = { overhead = { __r = 11 }, measurementPeriod = { __r = 1 } } phosphor_internal_category_enabled_972 = { _M_b = { _M_p = 0x7fe2464c269b }, static is_always_lock_free = } phosphor_internal_category_enabled_temp_972 = phosphor_internal_tpi_972 = { category = 0xc5dc9f "memcached", name = 0xcc3fcc "Started", type = phosphor::GlobalInstant, argument_names = { _M_elems = {0xcc80c2 "", 0xcc80c2 ""} }, argument_types = { _M_elems = {phosphor::is_none, phosphor::is_none} } } #7 0x00007fe2436ea555 in __libc_start_main (main=0x53f2c0 , argc=3, argv=0x7ffe83cba9c8, init=, fini=, rtld_fini=, stack_end=0x7ffe83cba9b8) at ../csu/libc-start.c:266 result = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {0, 3016376877879321588, 5645582, 140731109583296, 0, 0, -3017036410271898636, -3019430364823624716}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x7fe2472be9b3 <_dl_init+275>, 0x7fe2474d2150}, data = { prev = 0x0, cleanup = 0x0, canceltype = 1194060211 } } } not_first_call = #8 0x0000000000562537 in _start () at /opt/gcc-10.2.0/include/c++/10.2.0/bits/char_traits.h:322 No symbol table info available. Thread 37 (Thread 0x7fe1db7fe700 (LWP 84660)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 No locals. #1 0x00007fe245392fa2 in background_thread_sleep (tsdn=, interval=, info=) at src/background_thread.c:232 tv = { tv_sec = 1639454114, tv_usec = 384308 } before_sleep = { ns = 1639454114384308000 } #2 background_work_sleep_once (ind=, info=, tsdn=) at src/background_thread.c:307 min_interval = narenas = #3 background_work (ind=, tsd=0x7fe1db7ecf30) at src/background_thread.c:497 info = #4 background_thread_entry (ind_arg=) at src/background_thread.c:522 thread_ind = #5 0x00007fe245e85ea5 in start_thread (arg=0x7fe1db7fe700) at pthread_create.c:307 __res = pd = 0x7fe1db7fe700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608026961664, 3016376877879321588, 0, 8392704, 0, 140608026961664, -3017442311363435532, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #6 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 36 (Thread 0x7fe1dbfff700 (LWP 84489)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec3e00, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe2420542a0 events = 0x7fe243020280 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec3e00, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 1, tv_usec = 23977 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe24304a180, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe1dbfed550, prev_ = 0x7fe1dbfed550 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe24304a180 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039121904595 } } idleStart = { __d = { __r = 9770378914324477 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe24304a180) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=0x7fe24304a180) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x0000000000c06839 in folly::IOThreadPoolExecutor::threadRun (this=0x7fe243049a00, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/IOThreadPoolExecutor.cpp:195 ioThread = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x7fe243054930, _M_refcount = { _M_pi = 0x7fe243054920 } }, } idler = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe241ebd280 }, }, } } } guard = #7 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #8 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #9 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #10 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #11 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 = #12 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #13 0x00007fe245e85ea5 in start_thread (arg=0x7fe1dbfff700) at pthread_create.c:307 __res = pd = 0x7fe1dbfff700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608035354368, 3016376877879321588, 0, 8392704, 0, 140608035354368, -3017441212388678668, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #14 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 35 (Thread 0x7fe1f8ff9700 (LWP 84488)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=4177425176, absSteadyTime=absSteadyTime@entry=0x7fe1f8fe72f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd85b8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770384, tv_nsec = 181059032 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd85b8, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe1f8fe7318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd85b8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd85b8, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770384181059032 } } #5 0x0000000000bfeb57 in futexWaitPreIdle, std::chrono::time_point > >, std::chrono::duration > > ( timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=..., _ret=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:194 rv = idleDeadline = { __d = { __r = 9770384181059032 } } #6 futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:151 No locals. #7 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd85b8, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #8 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #9 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14457c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd85b8 }, }, } } } #10 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14457c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #11 folly::UnboundedBlockingQueue::try_take_for (this=0x1445780, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #12 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f65c00, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = -64 '\300', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x7fe2283f21c0, tiny = { __data = "\300!?(\342\177\000\000\000\000\000\000\000\000\000\000\020I\002C\342\177\000\000\bJ\001\000\000\000\000\000X\000\000\000\000\000\000\000\020v\376\370\341\177\000", __align = {} } }, call_ = 0xabac70 ::callSmall(folly::detail::function::Data&)>, exec_ = 0xab93c0 (folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)> }, enqueueTime_ = { __d = { __r = 9770377916958039 } }, expiration_ = { __r = 0 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a08, tiny = { __data = "\bJ\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240v\376\370\341\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = false, priority_ = 0 '\000', queueObserverPayload_ = 0 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #13 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #14 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #15 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #16 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #17 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 = #18 0x0000000000aba244 in operator() (this=0x7fe241e95080) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241e95080: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3d50, tiny = { __data = "P=\353A\342\177\000\000gmentation_threshold\000own\260P\351A\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 operator() (__closure=0x7fe241e95080) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe1f8fe76a0 "NonIoPool1" }, _M_string_length = 10, { _M_local_buf = "NonIoPool1\000\000\000\000\000", _M_allocated_capacity = 8029725099528449870 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3d50, tiny = { __data = "P=\353A\342\177\000\000gmentation_threshold\000own\260P\351A\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #20 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 = @0x7fe241e95080: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3d50, tiny = { __data = "P=\353A\342\177\000\000gmentation_threshold\000own\260P\351A\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #21 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #22 0x00007fe245e85ea5 in start_thread (arg=0x7fe1f8ff9700) at pthread_create.c:307 __res = pd = 0x7fe1f8ff9700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608521869056, 3016376877879321588, 0, 8392704, 0, 140608521869056, -3017513776934886412, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #23 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 34 (Thread 0x7fe1f97fa700 (LWP 84487)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=4185817880, absSteadyTime=absSteadyTime@entry=0x7fe1f97e82f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd85a0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770384, tv_nsec = 848517685 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd85a0, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe1f97e8318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd85a0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd85a0, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770384848517685 } } #5 0x0000000000bfeb57 in futexWaitPreIdle, std::chrono::time_point > >, std::chrono::duration > > ( timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=..., _ret=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:194 rv = idleDeadline = { __d = { __r = 9770384848517685 } } #6 futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:151 No locals. #7 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd85a0, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #8 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #9 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14457c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd85a0 }, }, } } } #10 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14457c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #11 folly::UnboundedBlockingQueue::try_take_for (this=0x1445780, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #12 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f65c00, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , "\020I\002C\342\177\000\000\aJ\001\000\000\000\000\000P\000\000\000\000\000\000\000\020\206~\371\341\177\000", __align = {} } }, call_ = 0xabb4d0 ::callSmall&)::{lambda()#2}>(folly::detail::function::Data&)>, exec_ = 0xaba0c0 &)::{lambda()#2}>(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data)> }, enqueueTime_ = { __d = { __r = 9770378914319553 } }, expiration_ = { __r = 0 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a07, tiny = { __data = "\aJ\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\206~\371\341\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = false, priority_ = 0 '\000', queueObserverPayload_ = 140609800669017 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #13 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #14 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #15 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #16 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #17 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 = #18 0x0000000000aba244 in operator() (this=0x7fe241e95040) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241e95040: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3de0, tiny = { __data = "\340=\353A\342\177\000\000_db_and_view_compaction\000pP\351A\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 operator() (__closure=0x7fe241e95040) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe1f97e86a0 "NonIoPool0" }, _M_string_length = 10, { _M_local_buf = "NonIoPool0\000\000\000\000\000", _M_allocated_capacity = 8029725099528449870 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3de0, tiny = { __data = "\340=\353A\342\177\000\000_db_and_view_compaction\000pP\351A\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #20 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 = @0x7fe241e95040: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3de0, tiny = { __data = "\340=\353A\342\177\000\000_db_and_view_compaction\000pP\351A\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #21 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #22 0x00007fe245e85ea5 in start_thread (arg=0x7fe1f97fa700) at pthread_create.c:307 __res = pd = 0x7fe1f97fa700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608530261760, 3016376877879321588, 0, 8392704, 0, 140608530261760, -3017517076006640652, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #23 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 33 (Thread 0x7fe1f9ffb700 (LWP 84486)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=4194210584, absSteadyTime=absSteadyTime@entry=0x7fe1f9fe92f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8198) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 168964701 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8198, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe1f9fe9318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8198) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8198, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419168964701 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8198, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1445240, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8198 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1445240) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1445200, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f65000, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\006J\001\000\000\000\000\000H\000\000\000\000\000\000\000\020\226\376\371\341\177\000", __align = {} } }, call_ = 0x7fe1f9fe96a0, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84486 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a06, tiny = { __data = "\006J\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\226\376\371\341\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x14a06, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0xa, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 160, priority_ = -106 '\226', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241e81f40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241e81f40: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3e10, tiny = { __data = "\020>\353A\342\177\000\000%\000\000\000\000\000\000\000%\000\000\000\000\000\000\000p:\350A\342\177\000\000\240:\350A\342\177\000\000%\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241e81f40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe1f9fe96a0 "AuxIoPool0" }, _M_string_length = 10, { _M_local_buf = "AuxIoPool0\000\000\000\000\000", _M_allocated_capacity = 8029725099529106753 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3e10, tiny = { __data = "\020>\353A\342\177\000\000%\000\000\000\000\000\000\000%\000\000\000\000\000\000\000p:\350A\342\177\000\000\240:\350A\342\177\000\000%\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241e81f40: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3e10, tiny = { __data = "\020>\353A\342\177\000\000%\000\000\000\000\000\000\000%\000\000\000\000\000\000\000p:\350A\342\177\000\000\240:\350A\342\177\000\000%\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe1f9ffb700) at pthread_create.c:307 __res = pd = 0x7fe1f9ffb700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608538654464, 3016376877879321588, 0, 8392704, 0, 140608538654464, -3017515977031883788, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 32 (Thread 0x7fe1fa7fc700 (LWP 84485)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=4202603288, absSteadyTime=absSteadyTime@entry=0x7fe1fa7ea2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8180) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 168988697 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8180, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe1fa7ea318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8180) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8180, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419168988697 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8180, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8180 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\005J\001\000\000\000\000\000@\000\000\000\000\000\000\000\020\246~\372\341\177\000", __align = {} } }, call_ = 0x7fe1fa7ea6a0, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84485 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a05, tiny = { __data = "\005J\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\246~\372\341\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x14a05, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x1b, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 160, priority_ = -90 '\246', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303ee40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303ee40: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c00, tiny = { __data = "\000<\353A\342\177\000\000y_fields", '\000' , "p\356\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303ee40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe1fa7ea6a0 "WriterPool7" }, _M_string_length = 11, { _M_local_buf = "WriterPool7\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c00, tiny = { __data = "\000<\353A\342\177\000\000y_fields", '\000' , "p\356\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303ee40: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c00, tiny = { __data = "\000<\353A\342\177\000\000y_fields", '\000' , "p\356\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe1fa7fc700) at pthread_create.c:307 __res = pd = 0x7fe1fa7fc700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608547047168, 3016376877879321588, 0, 8392704, 0, 140608547047168, -3017510480010615820, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 31 (Thread 0x7fe1faffd700 (LWP 84484)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=4210995992, absSteadyTime=absSteadyTime@entry=0x7fe1fafeb2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8168) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 159956118 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8168, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe1fafeb318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8168) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8168, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419159956118 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8168, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8168 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\004J\001\000\000\000\000\000\070\000\000\000\000\000\000\000\020\266\376\372\341\177\000", __align = {} } }, call_ = 0x7fe1fafeb6a0, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84484 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a04, tiny = { __data = "\004J\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\266\376\372\341\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x14a04, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0xf, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 160, priority_ = -74 '\266', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303ee00) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303ee00: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3b40, tiny = { __data = "@;\353A\342\177\000\000 \000\000\000\000\000\000\000 ", '\000' , "filtering_permit", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303ee00) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe1fafeb6a0 "WriterPool6" }, _M_string_length = 11, { _M_local_buf = "WriterPool6\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3b40, tiny = { __data = "@;\353A\342\177\000\000 \000\000\000\000\000\000\000 ", '\000' , "filtering_permit", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303ee00: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3b40, tiny = { __data = "@;\353A\342\177\000\000 \000\000\000\000\000\000\000 ", '\000' , "filtering_permit", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe1faffd700) at pthread_create.c:307 __res = pd = 0x7fe1faffd700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608555439872, 3016376877879321588, 0, 8392704, 0, 140608555439872, -3017509381035858956, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 30 (Thread 0x7fe1fb7fe700 (LWP 84483)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=4219388696, absSteadyTime=absSteadyTime@entry=0x7fe1fb7ec2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8150) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 170258698 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8150, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe1fb7ec318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8150) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8150, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419170258698 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8150, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8150 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\003J\001\000\000\000\000\000\060\000\000\000\000\000\000\000\020\306~\373\341\177\000", __align = {} } }, call_ = 0x7fe1fb7ec6a0, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84483 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a03, tiny = { __data = "\003J\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\306~\373\341\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x14a03, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x3, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 160, priority_ = -58 '\306', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303ed40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303ed40: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c90, tiny = { __data = "\220<\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303ed40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe1fb7ec6a0 "WriterPool5" }, _M_string_length = 11, { _M_local_buf = "WriterPool5\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c90, tiny = { __data = "\220<\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303ed40: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c90, tiny = { __data = "\220<\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe1fb7fe700) at pthread_create.c:307 __res = pd = 0x7fe1fb7fe700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608563832576, 3016376877879321588, 0, 8392704, 0, 140608563832576, -3017512680107613196, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 29 (Thread 0x7fe1fbfff700 (LWP 84482)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=4227781400, absSteadyTime=absSteadyTime@entry=0x7fe1fbfed2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8138) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 160756147 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8138, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe1fbfed318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8138) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8138, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419160756147 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8138, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8138 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\002J\001\000\000\000\000\000(\000\000\000\000\000\000\000\020\326\376\373\341\177\000", __align = {} } }, call_ = 0x7fe1fbfed6a0, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84482 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a02, tiny = { __data = "\002J\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\326\376\373\341\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x14a02, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x14, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 160, priority_ = -42 '\326', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303edc0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303edc0: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c30, tiny = { __data = "0<\353A\342\177", '\000' , "\360\355\003C\342\177\000\000\016\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303edc0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe1fbfed6a0 "WriterPool4" }, _M_string_length = 11, { _M_local_buf = "WriterPool4\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c30, tiny = { __data = "0<\353A\342\177", '\000' , "\360\355\003C\342\177\000\000\016\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303edc0: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3c30, tiny = { __data = "0<\353A\342\177", '\000' , "\360\355\003C\342\177\000\000\016\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe1fbfff700) at pthread_create.c:307 __res = pd = 0x7fe1fbfff700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140608572225280, 3016376877879321588, 0, 8392704, 0, 140608572225280, -3017511581132856332, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 28 (Thread 0x7fe228fcf700 (LWP 84481)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=687592216, absSteadyTime=absSteadyTime@entry=0x7fe228fbd2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8120) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 165590119 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8120, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe228fbd318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8120) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8120, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419165590119 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8120, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8120 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\001J\001\000\000\000\000\000 \000\000\000\000\000\000\000\020\326\373(\342\177\000", __align = {} } }, call_ = 0x7fe228fbd6a0, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84481 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a01, tiny = { __data = "\001J\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\326\373(\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x14a01, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x4, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 160, priority_ = -42 '\326', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303ed80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303ed80: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3cf0, tiny = { __data = "\360<\353A\342\177", '\000' , "\260\355\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303ed80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe228fbd6a0 "WriterPool3" }, _M_string_length = 11, { _M_local_buf = "WriterPool3\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3cf0, tiny = { __data = "\360<\353A\342\177", '\000' , "\260\355\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303ed80: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3cf0, tiny = { __data = "\360<\353A\342\177", '\000' , "\260\355\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe228fcf700) at pthread_create.c:307 __res = pd = 0x7fe228fcf700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609327003392, 3016376877879321588, 0, 8392704, 0, 140609327003392, -3019659983903857676, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 27 (Thread 0x7fe2297d0700 (LWP 84480)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=695984920, absSteadyTime=absSteadyTime@entry=0x7fe2297be2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8108) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 159963382 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8108, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe2297be318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8108) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8108, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419159963382 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8108, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8108 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\000J\001\000\000\000\000\000\030\000\000\000\000\000\000\000\020\346{)\342\177\000", __align = {} } }, call_ = 0x7fe2297be6a0, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84480 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x14a00, tiny = { __data = "\000J\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\240\346{)\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x14a00, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x15, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 160, priority_ = -26 '\346', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303ed00) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303ed00: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb30c0, tiny = { __data = "\300\060\353A\342\177\000\000y_fields", '\000' , "\060\355\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303ed00) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe2297be6a0 "WriterPool2" }, _M_string_length = 11, { _M_local_buf = "WriterPool2\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb30c0, tiny = { __data = "\300\060\353A\342\177\000\000y_fields", '\000' , "\060\355\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303ed00: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb30c0, tiny = { __data = "\300\060\353A\342\177\000\000y_fields", '\000' , "\060\355\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe2297d0700) at pthread_create.c:307 __res = pd = 0x7fe2297d0700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609335396096, 3016376877879321588, 0, 8392704, 0, 140609335396096, -3019663282975611916, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 26 (Thread 0x7fe229fd1700 (LWP 84479)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=704377624, absSteadyTime=absSteadyTime@entry=0x7fe229fbf2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd80f0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 168977756 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd80f0, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe229fbf318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd80f0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd80f0, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419168977756 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd80f0, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd80f0 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\377I\001\000\000\000\000\000\020\000\000\000\000\000\000\000\020\366\373)\342\177\000", __align = {} } }, call_ = 0x7fe22efed780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84479 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149ff, tiny = { __data = "\377I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200\327\376.\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149ff, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x9, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = -41 '\327', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303ecc0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303ecc0: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a80, tiny = { __data = "\200:\353A\342\177\000\000 an invalid packet\000\000\000\000\000\000filtering_permit", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303ecc0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe229fbf6a0 "WriterPool1" }, _M_string_length = 11, { _M_local_buf = "WriterPool1\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a80, tiny = { __data = "\200:\353A\342\177\000\000 an invalid packet\000\000\000\000\000\000filtering_permit", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303ecc0: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a80, tiny = { __data = "\200:\353A\342\177\000\000 an invalid packet\000\000\000\000\000\000filtering_permit", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe229fd1700) at pthread_create.c:307 __res = pd = 0x7fe229fd1700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609343788800, 3016376877879321588, 0, 8392704, 0, 140609343788800, -3019662184000855052, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 25 (Thread 0x7fe22a7d2700 (LWP 84478)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=712770328, absSteadyTime=absSteadyTime@entry=0x7fe22a7c02f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd80d8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 161052250 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd80d8, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22a7c0318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd80d8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd80d8, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419161052250 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd80d8, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x1443ac0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd80d8 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x1443ac0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1443a80, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f05400, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\376I\001\000\000\000\000\000\b\000\000\000\000\000\000\000\020\006|*\342\177\000", __align = {} } }, call_ = 0x7fe22f7ee780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84478 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149fe, tiny = { __data = "\376I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200\347~/\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149fe, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x1a, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = -25 '\347', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303ec80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303ec80: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb30f0, tiny = { __data = "\360\060\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303ec80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22a7c06a0 "WriterPool0" }, _M_string_length = 11, { _M_local_buf = "WriterPool0\000\000\000\000", _M_allocated_capacity = 8021036716417184343 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb30f0, tiny = { __data = "\360\060\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303ec80: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb30f0, tiny = { __data = "\360\060\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22a7d2700) at pthread_create.c:307 __res = pd = 0x7fe22a7d2700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609352181504, 3016376877879321588, 0, 8392704, 0, 140609352181504, -3019656738519194636, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 24 (Thread 0x7fe22afd3700 (LWP 84477)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=721163032, absSteadyTime=absSteadyTime@entry=0x7fe22afc12f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd80c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 159954610 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd80c0, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22afc1318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd80c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd80c0, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419159954610 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd80c0, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd80c0 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\375I\001", '\000' , "\020\026\374*\342\177\000", __align = {} } }, call_ = 0x7fe22ffef780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84477 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149fd, tiny = { __data = "\375I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200\367\376/\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149fd, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0xe, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = -9 '\367', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe24303eb80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe24303eb80: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ba0, tiny = { __data = "\240;\353A\342\177\000\000y_fields", '\000' , "\260\353\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe24303eb80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22afc16a0 "ReaderPool7" }, _M_string_length = 11, { _M_local_buf = "ReaderPool7\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ba0, tiny = { __data = "\240;\353A\342\177\000\000y_fields", '\000' , "\260\353\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe24303eb80: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ba0, tiny = { __data = "\240;\353A\342\177\000\000y_fields", '\000' , "\260\353\003C\342\177\000\000\000\000\000\000\000\000\000", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22afd3700) at pthread_create.c:307 __res = pd = 0x7fe22afd3700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609360574208, 3016376877879321588, 0, 8392704, 0, 140609360574208, -3019655639544437772, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 23 (Thread 0x7fe22b7d4700 (LWP 84476)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=729555736, absSteadyTime=absSteadyTime@entry=0x7fe22b7c22f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd80a8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 159942544 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd80a8, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22b7c2318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd80a8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd80a8, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419159942544 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd80a8, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd80a8 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\374I\001\000\000\000\000\000\340\000\000\000\000\000\000\000\020&|+\342\177\000", __align = {} } }, call_ = 0x7fe23d2e5780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84476 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149fc, tiny = { __data = "\374I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200W.=\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149fc, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x2, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = 87 'W', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241eadb80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241eadb80: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3bd0, tiny = { __data = "\320;\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241eadb80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22b7c26a0 "ReaderPool6" }, _M_string_length = 11, { _M_local_buf = "ReaderPool6\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3bd0, tiny = { __data = "\320;\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241eadb80: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3bd0, tiny = { __data = "\320;\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22b7d4700) at pthread_create.c:307 __res = pd = 0x7fe22b7d4700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609368966912, 3016376877879321588, 0, 8392704, 0, 140609368966912, -3019658938616192012, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 22 (Thread 0x7fe22bfd5700 (LWP 84475)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=737948440, absSteadyTime=absSteadyTime@entry=0x7fe22bfc32f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8090) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 161096709 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8090, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22bfc3318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8090) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8090, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419161096709 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8090, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8090 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\373I\001\000\000\000\000\000\330\000\000\000\000\000\000\000\020\066\374+\342\177\000", __align = {} } }, call_ = 0x7fe237fef780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84475 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149fb, tiny = { __data = "\373I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200\367\376\067\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149fb, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x13, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = -9 '\367', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241eadac0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241eadac0: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3210, tiny = { __data = "\020\062\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241eadac0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22bfc36a0 "ReaderPool5" }, _M_string_length = 11, { _M_local_buf = "ReaderPool5\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3210, tiny = { __data = "\020\062\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241eadac0: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3210, tiny = { __data = "\020\062\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22bfd5700) at pthread_create.c:307 __res = pd = 0x7fe22bfd5700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609377359616, 3016376877879321588, 0, 8392704, 0, 140609377359616, -3019657839641435148, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 21 (Thread 0x7fe22c7d6700 (LWP 84474)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=746341144, absSteadyTime=absSteadyTime@entry=0x7fe22c7c42f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8078) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 159376998 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8078, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22c7c4318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8078) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8078, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419159376998 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8078, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8078 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\372I\001\000\000\000\000\000\320\000\000\000\000\000\000\000\020F|,\342\177\000", __align = {} } }, call_ = 0x7fe23e2e7780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84474 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149fa, tiny = { __data = "\372I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200w.>\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149fa, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x7, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = 119 'w', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241eadb40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241eadb40: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3930, tiny = { __data = "09\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241eadb40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22c7c46a0 "ReaderPool4" }, _M_string_length = 11, { _M_local_buf = "ReaderPool4\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3930, tiny = { __data = "09\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241eadb40: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3930, tiny = { __data = "09\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22c7d6700) at pthread_create.c:307 __res = pd = 0x7fe22c7d6700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609385752320, 3016376877879321588, 0, 8392704, 0, 140609385752320, -3019652342620167180, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 20 (Thread 0x7fe22cfd7700 (LWP 84473)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=754733848, absSteadyTime=absSteadyTime@entry=0x7fe22cfc52f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8060) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 158883281 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8060, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22cfc5318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8060) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8060, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419158883281 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8060, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8060 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 104 'h', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x68, tiny = { __data = "h\000\000\000\000\000\000\000h\000\000\000\000\000\000\000\350\000\000\000\000\000\000\000\366\371[\000\000\000\000\000\270U\374,\342\177\000\000\320'LF\342\177\000", __align = {} } }, call_ = 0x7fe243035300, exec_ = 0x7fe2462b1ce6 , std::allocator > >, std::allocator, std::allocator > > >, 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 >::_M_rehash(unsigned long, unsigned long const&)+214> }, enqueueTime_ = { __d = { __r = 104 } }, expiration_ = { __r = 140609818732496 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x7fe242078e80, tiny = { __data = "\200\216\aB\342\177\000\000;\235\244", '\000' , "\305n+F\342\177\000\000\000R\003C\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149f9, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x7, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = 87 'W', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241eadb00) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241eadb00: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a50, tiny = { __data = "P:\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241eadb00) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22cfc56a0 "ReaderPool3" }, _M_string_length = 11, { _M_local_buf = "ReaderPool3\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a50, tiny = { __data = "P:\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241eadb00: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a50, tiny = { __data = "P:\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22cfd7700) at pthread_create.c:307 __res = pd = 0x7fe22cfd7700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609394145024, 3016376877879321588, 0, 8392704, 0, 140609394145024, -3019651243645410316, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 19 (Thread 0x7fe22effd700 (LWP 84472)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=788443928, absSteadyTime=absSteadyTime@entry=0x7fe22efeb2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8048) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 161595743 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8048, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22efeb318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8048) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8048, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419161595743 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8048, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8048 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\370I\001\000\000\000\000\000X\000\000\000\000\000\000\000\020\266\376.\342\177\000", __align = {} } }, call_ = 0x7fe22f7ee780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84472 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149f8, tiny = { __data = "\370I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200\347~/\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149f8, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x8, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = -25 '\347', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241e9f0c0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241e9f0c0: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ab0, tiny = { __data = "\260:\353A\342\177\000\000ET TRANSACTION ISOLATION statement was e", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241e9f0c0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22efeb6a0 "ReaderPool2" }, _M_string_length = 11, { _M_local_buf = "ReaderPool2\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ab0, tiny = { __data = "\260:\353A\342\177\000\000ET TRANSACTION ISOLATION statement was e", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241e9f0c0: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ab0, tiny = { __data = "\260:\353A\342\177\000\000ET TRANSACTION ISOLATION statement was e", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22effd700) at pthread_create.c:307 __res = pd = 0x7fe22effd700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609427855104, 3016376877879321588, 0, 8392704, 0, 140609427855104, -3019646831640255500, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 18 (Thread 0x7fe22f7fe700 (LWP 84471)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=796836632, absSteadyTime=absSteadyTime@entry=0x7fe22f7ec2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8030) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 161032252 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8030, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22f7ec318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8030) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8030, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419161032252 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8030, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8030 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\367I\001\000\000\000\000\000P\000\000\000\000\000\000\000\020\306~/\342\177\000", __align = {} } }, call_ = 0x7fe22ffef780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84471 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149f7, tiny = { __data = "\367I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200\367\376/\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149f7, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x3, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = -9 '\367', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241e9f080) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241e9f080: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a20, tiny = { __data = " :\353A\342\177\000\000OLLBACK TRANSACTION TO SAVEPOINT stateme", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241e9f080) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22f7ec6a0 "ReaderPool1" }, _M_string_length = 11, { _M_local_buf = "ReaderPool1\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a20, tiny = { __data = " :\353A\342\177\000\000OLLBACK TRANSACTION TO SAVEPOINT stateme", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241e9f080: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3a20, tiny = { __data = " :\353A\342\177\000\000OLLBACK TRANSACTION TO SAVEPOINT stateme", __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22f7fe700) at pthread_create.c:307 __res = pd = 0x7fe22f7fe700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609436247808, 3016376877879321588, 0, 8392704, 0, 140609436247808, -3019650130712009740, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 17 (Thread 0x7fe22ffff700 (LWP 84470)): #0 syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 No locals. #1 0x0000000000beeaed in nativeFutexWaitImpl (waitMask=waitMask@entry=805229336, absSteadyTime=absSteadyTime@entry=0x7fe22ffed2f8, absSystemTime=absSystemTime@entry=0x0, expected=expected@entry=2, addr=addr@entry=0x7fe22cfd8018) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:123 op = ts = { tv_sec = 9770419, tv_nsec = 159952574 } timeout = rv = #2 folly::detail::futexWaitImpl (futex=futex@entry=0x7fe22cfd8018, expected=expected@entry=2, absSystemTime=absSystemTime@entry=0x0, absSteadyTime=absSteadyTime@entry=0x7fe22ffed318, waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex.cpp:254 No locals. #3 0x0000000000bf8bba in futexWaitImpl const, std::chrono::time_point > > > (waitMask=4294967295, deadline=..., expected=2, futex=0x7fe22cfd8018) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:85 No locals. #4 folly::detail::futexWaitUntil, std::chrono::_V2::steady_clock, std::chrono::duration > > (futex=futex@entry=0x7fe22cfd8018, expected=expected@entry=2, deadline=..., waitMask=waitMask@entry=4294967295) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/Futex-inl.h:123 converted = { __d = { __r = 9770419159952574 } } #5 0x0000000000bfea1d in futexWaitUntil, std::chrono::time_point > > > (timeoutVariationFrac=0.5, stackToRetain=1024, idleTimeout=..., waitMask=4294967295, deadline=..., expected=2, fut=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/detail/MemoryIdler.h:164 No locals. #6 folly::SaturatingSemaphore::tryWaitSlow > > (this=this@entry=0x7fe22cfd8018, deadline=..., opt=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:318 before = #7 0x0000000000bff086 in try_wait_until > > (opt=..., deadline=..., this=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/SaturatingSemaphore.h:179 No locals. #8 folly::detail::LifoSemBase, std::atomic>::try_wait_until > > (this=this@entry=0x14422c0, deadline=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:521 node = { _M_t = { _M_t = { , std::atomic>*, folly::detail::LifoSemNodeRecycler, std::atomic> >> = { , std::atomic> >> = { , std::atomic>, true>> = { , std::atomic>> = {}, }, }, , std::atomic>*, false>> = { _M_head_impl = 0x7fe22cfd8018 }, }, } } } #9 0x0000000000c027e0 in try_wait_for > (timeout=, this=0x14422c0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/synchronization/LifoSem.h:498 No locals. #10 folly::UnboundedBlockingQueue::try_take_for (this=0x1442280, time=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/task_queue/UnboundedBlockingQueue.h:41 No locals. #11 0x0000000000bf6d57 in folly::CPUThreadPoolExecutor::threadRun (this=0x7fe241f04800, thread=...) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/executors/CPUThreadPoolExecutor.cpp:243 task = { storage_ = { { emptyState = 0 '\000', value = { = { func_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = "\000\000\000\000\000\000\000\000\320'LF\342\177\000\000\060\000\000\000\000\000\000\000\366I\001\000\000\000\000\000H\000\000\000\000\000\000\000\020\326\376/\342\177\000", __align = {} } }, call_ = 0x7fe23cae4780, exec_ = 0x5bf88f }, enqueueTime_ = { __d = { __r = 0 } }, expiration_ = { __r = 84470 }, expireCallback_ = { > = {}, members of folly::Function: data_ = { big = 0x149f6, tiny = { __data = "\366I\001\000\000\000\000\000;\235\244", '\000' , "_n+F\342\177\000\000\200G\256<\342\177\000\000@\006LF\342\177\000", __align = {} } }, call_ = 0x149f6, exec_ = 0x7fe2464c2810 }, context_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0xb, _M_refcount = { _M_pi = 0x7fe2464c2810 } }, } }, members of folly::CPUThreadPoolExecutor::CPUTask: poison = 128, priority_ = 71 'G', queueObserverPayload_ = 140609816586564 } }, hasValue = false } } guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xcdf7cb "CPUThreadPoolExecutor", e_ = 0xcdf7e0 "" } } } } #12 0x0000000000c11fc9 in __invoke_impl), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__t=, __f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:73 No locals. #13 __invoke), folly::ThreadPoolExecutor*&, std::shared_ptr&> (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #14 __call (__args=, this=) at /usr/local/include/c++/7.3.0/functional:467 No locals. #15 operator()<> (this=) at /usr/local/include/c++/7.3.0/functional:551 No locals. #16 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 = #17 0x0000000000aba244 in operator() (this=0x7fe241f07f80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 fn = @0x7fe241f07f80: { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ae0, tiny = { __data = "\340:\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #18 operator() (__closure=0x7fe241f07f80) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/executor/folly_executorpool.cc:47 threadNameOpt = { storage_ = { { emptyState = -96 '\240', value = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe22ffed6a0 "ReaderPool0" }, _M_string_length = 11, { _M_local_buf = "ReaderPool0\000\000\000\000", _M_allocated_capacity = 8021036716148221266 } } }, hasValue = true } } func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ae0, tiny = { __data = "\340:\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } #19 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 = @0x7fe241f07f80: { __func = { > = {}, members of folly::Function: data_ = { big = 0x7fe241eb3ae0, tiny = { __data = "\340:\353A\342\177", '\000' , __align = {} } }, call_ = 0xc11f80 ::callBig))(std::shared_ptr)> >(folly::detail::function::Data&)>, exec_ = 0xc11870 ))(std::shared_ptr)> >(folly::detail::function::Op, folly::detail::function::Data*, folly::detail::function::Data*)> } } #20 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #21 0x00007fe245e85ea5 in start_thread (arg=0x7fe22ffff700) at pthread_create.c:307 __res = pd = 0x7fe22ffff700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609444640512, 3016376877879321588, 0, 8392704, 0, 140609444640512, -3019649031737252876, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #22 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 16 (Thread 0x7fe2367fc700 (LWP 84469)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec3b00, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241e867a0 events = 0x7fe24301ff80 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec3b00, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 48, tv_usec = 140609745962736 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe241f5c6f0, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe2367ea620, prev_ = 0x7fe2367ea620 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe241f5c6f0 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039117544078 } } idleStart = { __d = { __r = 9770378897791799 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe241f5c6f0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=this@entry=0x7fe241f5c6f0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x00000000005b0339 in worker_libevent (arg=0x7fe241f5c6e0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/thread.cc:115 me = @0x7fe241f5c6e0: { thread_id = 140609553680128, eventBase = { = { _vptr.TimeoutManager = 0x1091d68 , cobTimeouts_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe2430422f0 }, }, } } } }, = { = { _vptr.Executor = 0x1091e28 , static LO_PRI = -128 '\200', static MID_PRI = 0 '\000', static HI_PRI = 127 '\177' }, }, = {}, = {}, = {}, members of folly::EventBase: intervalDuration_ = { __r = 10 }, wheelTimer_ = { _M_t = { _M_t = { > >*, folly::DelayedDestruction::Destructor>> = { > = { > = { = {}, }, }, > >*, false>> = { _M_head_impl = 0x0 }, }, } } }, loopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5c730, prev_ = 0x7fe241f5c730 }, } } } }, }, runBeforeLoopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5c740, prev_ = 0x7fe241f5c740 }, } } } }, }, onDestructionCallbacks_ = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)2>> = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)1>> = {}, }, members of folly::Synchronized >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >: static nxCopyCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxCopyCtor".>, static nxMoveCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxMoveCtor".>, datum_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>> = { static constant_time_size = true, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = false, data_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>> = { static link_mode = boost::intrusive::normal_link }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::data_t: root_plus_size_ = { > = { static constant_time_size = , size_ = 0 }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5c758, prev_ = 0x7fe241f5c758 }, } } } }, }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 2, static tls_lastDeferredReaderSlot = 2, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, runOnceCallbacks_ = 0x0, stop_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, loopThread_ = { static _S_min_alignment = 8, static _S_alignment = 8, _M_i = { _M_thread = 140609553680128 }, static is_always_lock_free = ::is_always_lock_free".> }, queue_ = { _M_t = { _M_t = { >*, std::default_delete > > >> = { > > >> = { > >, true>> = { > >> = {}, }, }, >*, false>> = { _M_head_impl = 0x7fe241f07e00 }, }, } } }, fnRunner_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243035100 }, }, } } }, loopKeepAliveCount_ = 1, loopKeepAliveCountAtomic_ = { > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, loopKeepAliveActive_ = true, maxLatency_ = { __r = 0 }, avgLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.549400659939934, buffer_time_ = { __r = 740 }, busy_buffer_ = { __r = 1 }, buffer_cnt_ = 7, static buffer_interval_ = { __r = 10 } }, maxLatencyLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.549400659939934, buffer_time_ = { __r = 740 }, busy_buffer_ = { __r = 1 }, buffer_cnt_ = 7, static buffer_interval_ = { __r = 10 } }, maxLatencyCob_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, enableTimeMeasurement_ = true, nextLoopCnt_ = 8052283, latestLoopCnt_ = 8052282, startWork_ = { __d = { __r = 9770378897790756 } }, invokingLoop_ = true, observer_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, }, observerSampleCount_ = 0, executionObserver_ = 0x0, name_ = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe241f5c8a8 "" }, _M_string_length = 0, { _M_local_buf = '\000' , _M_allocated_capacity = 0 } }, localStorage_ = { _M_h = { >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { >, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, >, std::allocator > >, 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, true>> = {}, >, std::allocator > >, 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, false>> = { >, std::allocator > >, 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 >> = {}, }, >, std::allocator > >, 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, std::integral_constant >> = {}, >, std::allocator > >, 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, true>> = {}, >, false> > >> = { >, false> >, true>> = { >, false> >> = { <__gnu_cxx::new_allocator >, false> >> = {}, }, }, }, members of std::_Hashtable >, std::allocator > >, 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 >: _M_buckets = 0x7fe241f5c8e8, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, localStorageToDtor_ = { _M_h = { , std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { , std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = { , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >> = {}, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::integral_constant >> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, > >> = { >, true>> = { >> = { <__gnu_cxx::new_allocator >> = {}, }, }, }, members of std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >: _M_buckets = 0x7fe241f5c920, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, virtualEventBaseInitFlag_ = { called_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 2, static tls_lastDeferredReaderSlot = 2, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, virtualEventBase_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } } }, evb_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243042300 }, }, } } } }, mutex = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, }, index = 6, subdoc_op = { m_path = 0x7fe241f4e300, m_jsn = 0x1440760, m_match = { type = 0, status = 0, matchres = 0, sflags = 0, match_level = 0, position = 0, num_siblings = 0, num_children = 0, immediate_parent_found = 0 '\000', get_last = 0 '\000', extra_options = Subdoc::Match::GET_MATCH_ONLY, unique_item_found = 0 '\000', loc_deepest = { at = 0x0, length = 0 }, loc_key = { at = 0x0, length = 0 }, ensure_unique = { at = 0x0, length = 0 } }, m_optype = { code = 0 '\000' }, m_doc = { at = 0x0, length = 0 }, m_userval = { at = 0x0, length = 0 }, m_result = 0x0 }, validator = { instance = { state = 5, stack = { > >> = { c = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Deque_impl_data> = { _M_map = 0x7fe241f07e40, _M_map_size = 8, _M_start = { _M_cur = 0x7fe243034800, _M_first = 0x7fe243034800, _M_last = 0x7fe243034a00, _M_node = 0x7fe241f07e58 }, _M_finish = { _M_cur = 0x7fe243034801, _M_first = 0x7fe243034800, _M_last = 0x7fe243034a00, _M_node = 0x7fe241f07e58 } }, } }, } }, } } }, running = { _M_base = { static _S_alignment = 1, _M_i = true }, static is_always_lock_free = true }, scratch_buffer = { _M_elems = '\000' }, shutdown_next_log = 0, new_conn_queue = { connections = { >, std::mutex>, (folly::detail::MutexLevel)0>> = {}, members of folly::Synchronized >, std::mutex>: static nxCopyCtor = , static nxMoveCtor = , datum_ = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = { _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 }, } }, }, mutex_ = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, } } } } #7 0x0000000000ba43f9 in run (this=0x7fe241eb3990) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe2367fc700) at pthread_create.c:307 __res = pd = 0x7fe2367fc700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609553680128, 3016376877879321588, 0, 8392704, 0, 140609553680128, -3019595154056879116, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 15 (Thread 0x7fe236ffd700 (LWP 84468)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec3800, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241f19e20 events = 0x7fe24301fe00 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec3800, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 48, tv_usec = 140609745959712 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe241f5bb20, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe236feb620, prev_ = 0x7fe236feb620 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe241f5bb20 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039117435796 } } idleStart = { __d = { __r = 9770378900317084 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe241f5bb20) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=this@entry=0x7fe241f5bb20) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x00000000005b0339 in worker_libevent (arg=0x7fe241f5bb10) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/thread.cc:115 me = @0x7fe241f5bb10: { thread_id = 140609562072832, eventBase = { = { _vptr.TimeoutManager = 0x1091d68 , cobTimeouts_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243026540 }, }, } } } }, = { = { _vptr.Executor = 0x1091e28 , static LO_PRI = -128 '\200', static MID_PRI = 0 '\000', static HI_PRI = 127 '\177' }, }, = {}, = {}, = {}, members of folly::EventBase: intervalDuration_ = { __r = 10 }, wheelTimer_ = { _M_t = { _M_t = { > >*, folly::DelayedDestruction::Destructor>> = { > = { > = { = {}, }, }, > >*, false>> = { _M_head_impl = 0x0 }, }, } } }, loopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5bb60, prev_ = 0x7fe241f5bb60 }, } } } }, }, runBeforeLoopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5bb70, prev_ = 0x7fe241f5bb70 }, } } } }, }, onDestructionCallbacks_ = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)2>> = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)1>> = {}, }, members of folly::Synchronized >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >: static nxCopyCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxCopyCtor".>, static nxMoveCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxMoveCtor".>, datum_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>> = { static constant_time_size = true, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = false, data_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>> = { static link_mode = boost::intrusive::normal_link }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::data_t: root_plus_size_ = { > = { static constant_time_size = , size_ = 0 }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5bb88, prev_ = 0x7fe241f5bb88 }, } } } }, }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 3, static tls_lastDeferredReaderSlot = 3, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, runOnceCallbacks_ = 0x0, stop_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, loopThread_ = { static _S_min_alignment = 8, static _S_alignment = 8, _M_i = { _M_thread = 140609562072832 }, static is_always_lock_free = ::is_always_lock_free".> }, queue_ = { _M_t = { _M_t = { >*, std::default_delete > > >> = { > > >> = { > >, true>> = { > >> = {}, }, }, >*, false>> = { _M_head_impl = 0x7fe241f07d80 }, }, } } }, fnRunner_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243035000 }, }, } } }, loopKeepAliveCount_ = 1, loopKeepAliveCountAtomic_ = { > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, loopKeepAliveActive_ = true, maxLatency_ = { __r = 0 }, avgLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.565907218108293, buffer_time_ = { __r = 4041 }, busy_buffer_ = { __r = 27 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.565907218108293, buffer_time_ = { __r = 4041 }, busy_buffer_ = { __r = 27 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyCob_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, enableTimeMeasurement_ = true, nextLoopCnt_ = 8048547, latestLoopCnt_ = 8048546, startWork_ = { __d = { __r = 9770378900316049 } }, invokingLoop_ = true, observer_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, }, observerSampleCount_ = 0, executionObserver_ = 0x0, name_ = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe241f5bcd8 "" }, _M_string_length = 0, { _M_local_buf = '\000' , _M_allocated_capacity = 0 } }, localStorage_ = { _M_h = { >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { >, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, >, std::allocator > >, 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, true>> = {}, >, std::allocator > >, 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, false>> = { >, std::allocator > >, 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 >> = {}, }, >, std::allocator > >, 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, std::integral_constant >> = {}, >, std::allocator > >, 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, true>> = {}, >, false> > >> = { >, false> >, true>> = { >, false> >> = { <__gnu_cxx::new_allocator >, false> >> = {}, }, }, }, members of std::_Hashtable >, std::allocator > >, 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 >: _M_buckets = 0x7fe241f5bd18, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, localStorageToDtor_ = { _M_h = { , std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { , std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = { , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >> = {}, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::integral_constant >> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, > >> = { >, true>> = { >> = { <__gnu_cxx::new_allocator >> = {}, }, }, }, members of std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >: _M_buckets = 0x7fe241f5bd50, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, virtualEventBaseInitFlag_ = { called_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 3, static tls_lastDeferredReaderSlot = 3, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, virtualEventBase_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } } }, evb_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243026550 }, }, } } } }, mutex = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, }, index = 5, subdoc_op = { m_path = 0x7fe241f4de00, m_jsn = 0x143ff80, m_match = { type = 0, status = 0, matchres = 0, sflags = 0, match_level = 0, position = 0, num_siblings = 0, num_children = 0, immediate_parent_found = 0 '\000', get_last = 0 '\000', extra_options = Subdoc::Match::GET_MATCH_ONLY, unique_item_found = 0 '\000', loc_deepest = { at = 0x0, length = 0 }, loc_key = { at = 0x0, length = 0 }, ensure_unique = { at = 0x0, length = 0 } }, m_optype = { code = 0 '\000' }, m_doc = { at = 0x0, length = 0 }, m_userval = { at = 0x0, length = 0 }, m_result = 0x0 }, validator = { instance = { state = 5, stack = { > >> = { c = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Deque_impl_data> = { _M_map = 0x7fe241f07dc0, _M_map_size = 8, _M_start = { _M_cur = 0x7fe243034400, _M_first = 0x7fe243034400, _M_last = 0x7fe243034600, _M_node = 0x7fe241f07dd8 }, _M_finish = { _M_cur = 0x7fe243034401, _M_first = 0x7fe243034400, _M_last = 0x7fe243034600, _M_node = 0x7fe241f07dd8 } }, } }, } }, } } }, running = { _M_base = { static _S_alignment = 1, _M_i = true }, static is_always_lock_free = true }, scratch_buffer = { _M_elems = '\000' }, shutdown_next_log = 0, new_conn_queue = { connections = { >, std::mutex>, (folly::detail::MutexLevel)0>> = {}, members of folly::Synchronized >, std::mutex>: static nxCopyCtor = , static nxMoveCtor = , datum_ = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = { _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 }, } }, }, mutex_ = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, } } } } #7 0x0000000000ba43f9 in run (this=0x7fe241eb3960) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe236ffd700) at pthread_create.c:307 __res = pd = 0x7fe236ffd700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609562072832, 3016376877879321588, 0, 8392704, 0, 140609562072832, -3019594055082122252, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 14 (Thread 0x7fe2377fe700 (LWP 84467)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec3500, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241f19e80 events = 0x7fe24301fc80 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec3500, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 48, tv_usec = 140609745956688 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe241f5af50, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe2377ec620, prev_ = 0x7fe2377ec620 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe241f5af50 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039117335636 } } idleStart = { __d = { __r = 9770378915493635 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe241f5af50) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=this@entry=0x7fe241f5af50) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x00000000005b0339 in worker_libevent (arg=0x7fe241f5af40) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/thread.cc:115 me = @0x7fe241f5af40: { thread_id = 140609570465536, eventBase = { = { _vptr.TimeoutManager = 0x1091d68 , cobTimeouts_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe2430264f0 }, }, } } } }, = { = { _vptr.Executor = 0x1091e28 , static LO_PRI = -128 '\200', static MID_PRI = 0 '\000', static HI_PRI = 127 '\177' }, }, = {}, = {}, = {}, members of folly::EventBase: intervalDuration_ = { __r = 10 }, wheelTimer_ = { _M_t = { _M_t = { > >*, folly::DelayedDestruction::Destructor>> = { > = { > = { = {}, }, }, > >*, false>> = { _M_head_impl = 0x0 }, }, } } }, loopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5af90, prev_ = 0x7fe241f5af90 }, } } } }, }, runBeforeLoopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5afa0, prev_ = 0x7fe241f5afa0 }, } } } }, }, onDestructionCallbacks_ = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)2>> = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)1>> = {}, }, members of folly::Synchronized >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >: static nxCopyCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxCopyCtor".>, static nxMoveCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxMoveCtor".>, datum_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>> = { static constant_time_size = true, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = false, data_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>> = { static link_mode = boost::intrusive::normal_link }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::data_t: root_plus_size_ = { > = { static constant_time_size = , size_ = 0 }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5afb8, prev_ = 0x7fe241f5afb8 }, } } } }, }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 6, static tls_lastDeferredReaderSlot = 6, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, runOnceCallbacks_ = 0x0, stop_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, loopThread_ = { static _S_min_alignment = 8, static _S_alignment = 8, _M_i = { _M_thread = 140609570465536 }, static is_always_lock_free = ::is_always_lock_free".> }, queue_ = { _M_t = { _M_t = { >*, std::default_delete > > >> = { > > >> = { > >, true>> = { > >> = {}, }, }, >*, false>> = { _M_head_impl = 0x7fe241f07d00 }, }, } } }, fnRunner_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe24305cf00 }, }, } } }, loopKeepAliveCount_ = 1, loopKeepAliveCountAtomic_ = { > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, loopKeepAliveActive_ = true, maxLatency_ = { __r = 0 }, avgLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 33.743572152446923, buffer_time_ = { __r = 2054 }, busy_buffer_ = { __r = 21 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 33.743572152446923, buffer_time_ = { __r = 2054 }, busy_buffer_ = { __r = 21 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyCob_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, enableTimeMeasurement_ = true, nextLoopCnt_ = 8047333, latestLoopCnt_ = 8047332, startWork_ = { __d = { __r = 9770378915492501 } }, invokingLoop_ = true, observer_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, }, observerSampleCount_ = 0, executionObserver_ = 0x0, name_ = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe241f5b108 "" }, _M_string_length = 0, { _M_local_buf = '\000' , _M_allocated_capacity = 0 } }, localStorage_ = { _M_h = { >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { >, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, >, std::allocator > >, 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, true>> = {}, >, std::allocator > >, 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, false>> = { >, std::allocator > >, 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 >> = {}, }, >, std::allocator > >, 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, std::integral_constant >> = {}, >, std::allocator > >, 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, true>> = {}, >, false> > >> = { >, false> >, true>> = { >, false> >> = { <__gnu_cxx::new_allocator >, false> >> = {}, }, }, }, members of std::_Hashtable >, std::allocator > >, 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 >: _M_buckets = 0x7fe241f5b148, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, localStorageToDtor_ = { _M_h = { , std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { , std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = { , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >> = {}, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::integral_constant >> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, > >> = { >, true>> = { >> = { <__gnu_cxx::new_allocator >> = {}, }, }, }, members of std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >: _M_buckets = 0x7fe241f5b180, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, virtualEventBaseInitFlag_ = { called_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 6, static tls_lastDeferredReaderSlot = 6, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, virtualEventBase_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } } }, evb_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243026500 }, }, } } } }, mutex = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, }, index = 4, subdoc_op = { m_path = 0x7fe241f4d900, m_jsn = 0x143f7a0, m_match = { type = 0, status = 0, matchres = 0, sflags = 0, match_level = 0, position = 0, num_siblings = 0, num_children = 0, immediate_parent_found = 0 '\000', get_last = 0 '\000', extra_options = Subdoc::Match::GET_MATCH_ONLY, unique_item_found = 0 '\000', loc_deepest = { at = 0x0, length = 0 }, loc_key = { at = 0x0, length = 0 }, ensure_unique = { at = 0x0, length = 0 } }, m_optype = { code = 0 '\000' }, m_doc = { at = 0x0, length = 0 }, m_userval = { at = 0x0, length = 0 }, m_result = 0x0 }, validator = { instance = { state = 5, stack = { > >> = { c = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Deque_impl_data> = { _M_map = 0x7fe241f07d40, _M_map_size = 8, _M_start = { _M_cur = 0x7fe243034000, _M_first = 0x7fe243034000, _M_last = 0x7fe243034200, _M_node = 0x7fe241f07d58 }, _M_finish = { _M_cur = 0x7fe243034001, _M_first = 0x7fe243034000, _M_last = 0x7fe243034200, _M_node = 0x7fe241f07d58 } }, } }, } }, } } }, running = { _M_base = { static _S_alignment = 1, _M_i = true }, static is_always_lock_free = true }, scratch_buffer = { _M_elems = '\000' }, shutdown_next_log = 0, new_conn_queue = { connections = { >, std::mutex>, (folly::detail::MutexLevel)0>> = {}, members of folly::Synchronized >, std::mutex>: static nxCopyCtor = , static nxMoveCtor = , datum_ = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = { _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 }, } }, }, mutex_ = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, } } } } #7 0x0000000000ba43f9 in run (this=0x7fe241eb39c0) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe2377fe700) at pthread_create.c:307 __res = pd = 0x7fe2377fe700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609570465536, 3016376877879321588, 0, 8392704, 0, 140609570465536, -3019597354153876492, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 13 (Thread 0x7fe237fff700 (LWP 84466)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec3200, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241f19fc0 events = 0x7fe24301fb00 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec3200, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 48, tv_usec = 140609745953664 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe241f5a380, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe237fed620, prev_ = 0x7fe237fed620 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe241f5a380 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039117254266 } } idleStart = { __d = { __r = 9770378911815636 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe241f5a380) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=this@entry=0x7fe241f5a380) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x00000000005b0339 in worker_libevent (arg=0x7fe241f5a370) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/thread.cc:115 me = @0x7fe241f5a370: { thread_id = 140609578858240, eventBase = { = { _vptr.TimeoutManager = 0x1091d68 , cobTimeouts_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe2430264a0 }, }, } } } }, = { = { _vptr.Executor = 0x1091e28 , static LO_PRI = -128 '\200', static MID_PRI = 0 '\000', static HI_PRI = 127 '\177' }, }, = {}, = {}, = {}, members of folly::EventBase: intervalDuration_ = { __r = 10 }, wheelTimer_ = { _M_t = { _M_t = { > >*, folly::DelayedDestruction::Destructor>> = { > = { > = { = {}, }, }, > >*, false>> = { _M_head_impl = 0x0 }, }, } } }, loopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5a3c0, prev_ = 0x7fe241f5a3c0 }, } } } }, }, runBeforeLoopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5a3d0, prev_ = 0x7fe241f5a3d0 }, } } } }, }, onDestructionCallbacks_ = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)2>> = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)1>> = {}, }, members of folly::Synchronized >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >: static nxCopyCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxCopyCtor".>, static nxMoveCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxMoveCtor".>, datum_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>> = { static constant_time_size = true, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = false, data_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>> = { static link_mode = boost::intrusive::normal_link }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::data_t: root_plus_size_ = { > = { static constant_time_size = , size_ = 0 }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f5a3e8, prev_ = 0x7fe241f5a3e8 }, } } } }, }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 4, static tls_lastDeferredReaderSlot = 4, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, runOnceCallbacks_ = 0x0, stop_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, loopThread_ = { static _S_min_alignment = 8, static _S_alignment = 8, _M_i = { _M_thread = 140609578858240 }, static is_always_lock_free = ::is_always_lock_free".> }, queue_ = { _M_t = { _M_t = { >*, std::default_delete > > >> = { > > >> = { > >, true>> = { > >> = {}, }, }, >*, false>> = { _M_head_impl = 0x7fe241f07c80 }, }, } } }, fnRunner_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe24305ce00 }, }, } } }, loopKeepAliveCount_ = 1, loopKeepAliveCountAtomic_ = { > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, loopKeepAliveActive_ = true, maxLatency_ = { __r = 0 }, avgLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.951018204792646, buffer_time_ = { __r = 2228 }, busy_buffer_ = { __r = 22 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.951018204792646, buffer_time_ = { __r = 2228 }, busy_buffer_ = { __r = 22 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyCob_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, enableTimeMeasurement_ = true, nextLoopCnt_ = 8053742, latestLoopCnt_ = 8053741, startWork_ = { __d = { __r = 9770378911814602 } }, invokingLoop_ = true, observer_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, }, observerSampleCount_ = 0, executionObserver_ = 0x0, name_ = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe241f5a538 "" }, _M_string_length = 0, { _M_local_buf = '\000' , _M_allocated_capacity = 0 } }, localStorage_ = { _M_h = { >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { >, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, >, std::allocator > >, 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, true>> = {}, >, std::allocator > >, 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, false>> = { >, std::allocator > >, 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 >> = {}, }, >, std::allocator > >, 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, std::integral_constant >> = {}, >, std::allocator > >, 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, true>> = {}, >, false> > >> = { >, false> >, true>> = { >, false> >> = { <__gnu_cxx::new_allocator >, false> >> = {}, }, }, }, members of std::_Hashtable >, std::allocator > >, 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 >: _M_buckets = 0x7fe241f5a578, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, localStorageToDtor_ = { _M_h = { , std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { , std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = { , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >> = {}, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::integral_constant >> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, > >> = { >, true>> = { >> = { <__gnu_cxx::new_allocator >> = {}, }, }, }, members of std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >: _M_buckets = 0x7fe241f5a5b0, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, virtualEventBaseInitFlag_ = { called_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 4, static tls_lastDeferredReaderSlot = 4, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, virtualEventBase_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } } }, evb_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe2430264b0 }, }, } } } }, mutex = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, }, index = 3, subdoc_op = { m_path = 0x7fe241f4d400, m_jsn = 0x143efc0, m_match = { type = 0, status = 0, matchres = 0, sflags = 0, match_level = 0, position = 0, num_siblings = 0, num_children = 0, immediate_parent_found = 0 '\000', get_last = 0 '\000', extra_options = Subdoc::Match::GET_MATCH_ONLY, unique_item_found = 0 '\000', loc_deepest = { at = 0x0, length = 0 }, loc_key = { at = 0x0, length = 0 }, ensure_unique = { at = 0x0, length = 0 } }, m_optype = { code = 0 '\000' }, m_doc = { at = 0x0, length = 0 }, m_userval = { at = 0x0, length = 0 }, m_result = 0x0 }, validator = { instance = { state = 5, stack = { > >> = { c = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Deque_impl_data> = { _M_map = 0x7fe241f07cc0, _M_map_size = 8, _M_start = { _M_cur = 0x7fe243041c00, _M_first = 0x7fe243041c00, _M_last = 0x7fe243041e00, _M_node = 0x7fe241f07cd8 }, _M_finish = { _M_cur = 0x7fe243041c01, _M_first = 0x7fe243041c00, _M_last = 0x7fe243041e00, _M_node = 0x7fe241f07cd8 } }, } }, } }, } } }, running = { _M_base = { static _S_alignment = 1, _M_i = true }, static is_always_lock_free = true }, scratch_buffer = { _M_elems = '\000' }, shutdown_next_log = 0, new_conn_queue = { connections = { >, std::mutex>, (folly::detail::MutexLevel)0>> = {}, members of folly::Synchronized >, std::mutex>: static nxCopyCtor = , static nxMoveCtor = , datum_ = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = { _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 }, } }, }, mutex_ = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, } } } } #7 0x0000000000ba43f9 in run (this=0x7fe241eb39f0) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe237fff700) at pthread_create.c:307 __res = pd = 0x7fe237fff700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609578858240, 3016376877879321588, 0, 8392704, 0, 140609578858240, -3019596255179119628, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 12 (Thread 0x7fe23caf4700 (LWP 84465)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec2f00, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241e86600 events = 0x7fe24301f980 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec2f00, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 48, tv_usec = 140609745950640 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe241f597b0, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe23cae2620, prev_ = 0x7fe23cae2620 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe241f597b0 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039117158455 } } idleStart = { __d = { __r = 9770378909589505 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe241f597b0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=this@entry=0x7fe241f597b0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x00000000005b0339 in worker_libevent (arg=0x7fe241f597a0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/thread.cc:115 me = @0x7fe241f597a0: { thread_id = 140609657456384, eventBase = { = { _vptr.TimeoutManager = 0x1091d68 , cobTimeouts_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243026590 }, }, } } } }, = { = { _vptr.Executor = 0x1091e28 , static LO_PRI = -128 '\200', static MID_PRI = 0 '\000', static HI_PRI = 127 '\177' }, }, = {}, = {}, = {}, members of folly::EventBase: intervalDuration_ = { __r = 10 }, wheelTimer_ = { _M_t = { _M_t = { > >*, folly::DelayedDestruction::Destructor>> = { > = { > = { = {}, }, }, > >*, false>> = { _M_head_impl = 0x0 }, }, } } }, loopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f597f0, prev_ = 0x7fe241f597f0 }, } } } }, }, runBeforeLoopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f59800, prev_ = 0x7fe241f59800 }, } } } }, }, onDestructionCallbacks_ = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)2>> = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)1>> = {}, }, members of folly::Synchronized >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >: static nxCopyCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxCopyCtor".>, static nxMoveCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxMoveCtor".>, datum_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>> = { static constant_time_size = true, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = false, data_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>> = { static link_mode = boost::intrusive::normal_link }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::data_t: root_plus_size_ = { > = { static constant_time_size = , size_ = 0 }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f59818, prev_ = 0x7fe241f59818 }, } } } }, }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 7, static tls_lastDeferredReaderSlot = 7, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, runOnceCallbacks_ = 0x0, stop_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, loopThread_ = { static _S_min_alignment = 8, static _S_alignment = 8, _M_i = { _M_thread = 140609657456384 }, static is_always_lock_free = ::is_always_lock_free".> }, queue_ = { _M_t = { _M_t = { >*, std::default_delete > > >> = { > > >> = { > >, true>> = { > >> = {}, }, }, >*, false>> = { _M_head_impl = 0x7fe241f07c00 }, }, } } }, fnRunner_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe24305cd00 }, }, } } }, loopKeepAliveCount_ = 1, loopKeepAliveCountAtomic_ = { > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, loopKeepAliveActive_ = true, maxLatency_ = { __r = 0 }, avgLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.793761030049097, buffer_time_ = { __r = 1516 }, busy_buffer_ = { __r = 2 }, buffer_cnt_ = 7, static buffer_interval_ = { __r = 10 } }, maxLatencyLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.793761030049097, buffer_time_ = { __r = 1516 }, busy_buffer_ = { __r = 2 }, buffer_cnt_ = 7, static buffer_interval_ = { __r = 10 } }, maxLatencyCob_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, enableTimeMeasurement_ = true, nextLoopCnt_ = 8050569, latestLoopCnt_ = 8050568, startWork_ = { __d = { __r = 9770378909588142 } }, invokingLoop_ = true, observer_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, }, observerSampleCount_ = 0, executionObserver_ = 0x0, name_ = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe241f59968 "" }, _M_string_length = 0, { _M_local_buf = '\000' , _M_allocated_capacity = 0 } }, localStorage_ = { _M_h = { >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { >, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, >, std::allocator > >, 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, true>> = {}, >, std::allocator > >, 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, false>> = { >, std::allocator > >, 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 >> = {}, }, >, std::allocator > >, 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, std::integral_constant >> = {}, >, std::allocator > >, 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, true>> = {}, >, false> > >> = { >, false> >, true>> = { >, false> >> = { <__gnu_cxx::new_allocator >, false> >> = {}, }, }, }, members of std::_Hashtable >, std::allocator > >, 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 >: _M_buckets = 0x7fe241f599a8, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, localStorageToDtor_ = { _M_h = { , std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { , std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = { , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >> = {}, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::integral_constant >> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, > >> = { >, true>> = { >> = { <__gnu_cxx::new_allocator >> = {}, }, }, }, members of std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >: _M_buckets = 0x7fe241f599e0, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, virtualEventBaseInitFlag_ = { called_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 7, static tls_lastDeferredReaderSlot = 7, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, virtualEventBase_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } } }, evb_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe2430265a0 }, }, } } } }, mutex = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, }, index = 2, subdoc_op = { m_path = 0x7fe241f4cf00, m_jsn = 0x143e7e0, m_match = { type = 0, status = 0, matchres = 0, sflags = 0, match_level = 0, position = 0, num_siblings = 0, num_children = 0, immediate_parent_found = 0 '\000', get_last = 0 '\000', extra_options = Subdoc::Match::GET_MATCH_ONLY, unique_item_found = 0 '\000', loc_deepest = { at = 0x0, length = 0 }, loc_key = { at = 0x0, length = 0 }, ensure_unique = { at = 0x0, length = 0 } }, m_optype = { code = 0 '\000' }, m_doc = { at = 0x0, length = 0 }, m_userval = { at = 0x0, length = 0 }, m_result = 0x0 }, validator = { instance = { state = 5, stack = { > >> = { c = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Deque_impl_data> = { _M_map = 0x7fe241f07980, _M_map_size = 8, _M_start = { _M_cur = 0x7fe243041800, _M_first = 0x7fe243041800, _M_last = 0x7fe243041a00, _M_node = 0x7fe241f07998 }, _M_finish = { _M_cur = 0x7fe243041801, _M_first = 0x7fe243041800, _M_last = 0x7fe243041a00, _M_node = 0x7fe241f07998 } }, } }, } }, } } }, running = { _M_base = { static _S_alignment = 1, _M_i = true }, static is_always_lock_free = true }, scratch_buffer = { _M_elems = '\000' }, shutdown_next_log = 0, new_conn_queue = { connections = { >, std::mutex>, (folly::detail::MutexLevel)0>> = {}, members of folly::Synchronized >, std::mutex>: static nxCopyCtor = , static nxMoveCtor = , datum_ = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = { _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 }, } }, }, mutex_ = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, } } } } #7 0x0000000000ba43f9 in run (this=0x7fe241eb3900) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe23caf4700) at pthread_create.c:307 __res = pd = 0x7fe23caf4700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609657456384, 3016376877879321588, 0, 8392704, 0, 140609657456384, -3019615628165979148, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 11 (Thread 0x7fe23d2f5700 (LWP 84464)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec2c00, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241f1e0a0 events = 0x7fe24301f800 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec2c00, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 48, tv_usec = 140609745947616 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe241f58be0, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe23d2e3620, prev_ = 0x7fe23d2e3620 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe241f58be0 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039117078916 } } idleStart = { __d = { __r = 9770378909073204 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe241f58be0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=this@entry=0x7fe241f58be0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x00000000005b0339 in worker_libevent (arg=0x7fe241f58bd0) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/thread.cc:115 me = @0x7fe241f58bd0: { thread_id = 140609665849088, eventBase = { = { _vptr.TimeoutManager = 0x1091d68 , cobTimeouts_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe2430265d0 }, }, } } } }, = { = { _vptr.Executor = 0x1091e28 , static LO_PRI = -128 '\200', static MID_PRI = 0 '\000', static HI_PRI = 127 '\177' }, }, = {}, = {}, = {}, members of folly::EventBase: intervalDuration_ = { __r = 10 }, wheelTimer_ = { _M_t = { _M_t = { > >*, folly::DelayedDestruction::Destructor>> = { > = { > = { = {}, }, }, > >*, false>> = { _M_head_impl = 0x0 }, }, } } }, loopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f58c20, prev_ = 0x7fe241f58c20 }, } } } }, }, runBeforeLoopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f58c30, prev_ = 0x7fe241f58c30 }, } } } }, }, onDestructionCallbacks_ = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)2>> = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)1>> = {}, }, members of folly::Synchronized >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >: static nxCopyCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxCopyCtor".>, static nxMoveCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxMoveCtor".>, datum_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>> = { static constant_time_size = true, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = false, data_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>> = { static link_mode = boost::intrusive::normal_link }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::data_t: root_plus_size_ = { > = { static constant_time_size = , size_ = 0 }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f58c48, prev_ = 0x7fe241f58c48 }, } } } }, }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 5, static tls_lastDeferredReaderSlot = 5, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, runOnceCallbacks_ = 0x0, stop_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, loopThread_ = { static _S_min_alignment = 8, static _S_alignment = 8, _M_i = { _M_thread = 140609665849088 }, static is_always_lock_free = ::is_always_lock_free".> }, queue_ = { _M_t = { _M_t = { >*, std::default_delete > > >> = { > > >> = { > >, true>> = { > >> = {}, }, }, >*, false>> = { _M_head_impl = 0x7fe241f07940 }, }, } } }, fnRunner_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe24305cc00 }, }, } } }, loopKeepAliveCount_ = 1, loopKeepAliveCountAtomic_ = { > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, loopKeepAliveActive_ = true, maxLatency_ = { __r = 0 }, avgLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.813816270620976, buffer_time_ = { __r = 3182 }, busy_buffer_ = { __r = 21 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.813816270620976, buffer_time_ = { __r = 3182 }, busy_buffer_ = { __r = 21 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyCob_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, enableTimeMeasurement_ = true, nextLoopCnt_ = 8049904, latestLoopCnt_ = 8049903, startWork_ = { __d = { __r = 9770378909072067 } }, invokingLoop_ = true, observer_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, }, observerSampleCount_ = 0, executionObserver_ = 0x0, name_ = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe241f58d98 "" }, _M_string_length = 0, { _M_local_buf = '\000' , _M_allocated_capacity = 0 } }, localStorage_ = { _M_h = { >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { >, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, >, std::allocator > >, 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, true>> = {}, >, std::allocator > >, 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, false>> = { >, std::allocator > >, 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 >> = {}, }, >, std::allocator > >, 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, std::integral_constant >> = {}, >, std::allocator > >, 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, true>> = {}, >, false> > >> = { >, false> >, true>> = { >, false> >> = { <__gnu_cxx::new_allocator >, false> >> = {}, }, }, }, members of std::_Hashtable >, std::allocator > >, 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 >: _M_buckets = 0x7fe241f58dd8, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, localStorageToDtor_ = { _M_h = { , std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { , std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = { , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >> = {}, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::integral_constant >> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, > >> = { >, true>> = { >> = { <__gnu_cxx::new_allocator >> = {}, }, }, }, members of std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >: _M_buckets = 0x7fe241f58e10, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, virtualEventBaseInitFlag_ = { called_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 5, static tls_lastDeferredReaderSlot = 5, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, virtualEventBase_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } } }, evb_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe2430265c0 }, }, } } } }, mutex = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, }, index = 1, subdoc_op = { m_path = 0x7fe241f4ca00, m_jsn = 0x143e000, m_match = { type = 0, status = 0, matchres = 0, sflags = 0, match_level = 0, position = 0, num_siblings = 0, num_children = 0, immediate_parent_found = 0 '\000', get_last = 0 '\000', extra_options = Subdoc::Match::GET_MATCH_ONLY, unique_item_found = 0 '\000', loc_deepest = { at = 0x0, length = 0 }, loc_key = { at = 0x0, length = 0 }, ensure_unique = { at = 0x0, length = 0 } }, m_optype = { code = 0 '\000' }, m_doc = { at = 0x0, length = 0 }, m_userval = { at = 0x0, length = 0 }, m_result = 0x0 }, validator = { instance = { state = 5, stack = { > >> = { c = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Deque_impl_data> = { _M_map = 0x7fe241f07c40, _M_map_size = 8, _M_start = { _M_cur = 0x7fe243041600, _M_first = 0x7fe243041600, _M_last = 0x7fe243041800, _M_node = 0x7fe241f07c58 }, _M_finish = { _M_cur = 0x7fe243041601, _M_first = 0x7fe243041600, _M_last = 0x7fe243041800, _M_node = 0x7fe241f07c58 } }, } }, } }, } } }, running = { _M_base = { static _S_alignment = 1, _M_i = true }, static is_always_lock_free = true }, scratch_buffer = { _M_elems = '\000' }, shutdown_next_log = 0, new_conn_queue = { connections = { >, std::mutex>, (folly::detail::MutexLevel)0>> = {}, members of folly::Synchronized >, std::mutex>: static nxCopyCtor = , static nxMoveCtor = , datum_ = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = { _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 }, } }, }, mutex_ = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, } } } } #7 0x0000000000ba43f9 in run (this=0x7fe241eb37e0) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe23d2f5700) at pthread_create.c:307 __res = pd = 0x7fe23d2f5700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609665849088, 3016376877879321588, 0, 8392704, 0, 140609665849088, -3019618927237733388, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 10 (Thread 0x7fe23daf6700 (LWP 84463)): #0 0x00007fe2437c6eb3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00007fe24515a3c5 in epoll_dispatch (base=0x7fe241ec2900, tv=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/epoll.c:465 epollop = 0x7fe241e86760 events = 0x7fe24301f680 i = res = timeout = __func__ = "epoll_dispatch" #2 0x00007fe245151376 in event_base_loop (base=0x7fe241ec2900, flags=1) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/libevent/libevent-prefix/src/libevent/event.c:1998 evsel = 0x7fe245364c20 tv = { tv_sec = 48, tv_usec = 140609745944592 } tv_p = res = done = 0 retval = 0 __func__ = "event_base_loop" #3 0x0000000000c186f7 in folly::EventBase::loopBody (this=this@entry=0x7fe241f58010, flags=flags@entry=0, ignoreKeepAlive=ignoreKeepAlive@entry=false) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:397 callbacks = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe23dae4620, prev_ = 0x7fe23dae4620 }, } } } }, } message = 0xce1548 "Your code just tried to loop over an event base from inside another event base loop. Since libevent is not reentrant, this leads to undefined behavior in opt builds. Please fix immediately. For the co"... SCOPE_EXIT_STATE13 = { = { dismissed_ = false }, members of folly::detail::ScopeGuardImpl, true>: function_ = { __this = 0x7fe241f58010 } } res = 0 ranLoopCallbacks = blocking = true once = false prev = { __d = { __r = 9751039117004213 } } idleStart = { __d = { __r = 9770378904805594 } } busy = idle = prevLoopThread = { _M_thread = 0 } #4 0x0000000000c18bc6 in folly::EventBase::loop (this=this@entry=0x7fe241f58010) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:315 guard = { list_ = { forbid = true, prev = 0x0, curr = { name = { static npos = , b_ = 0xce11bb "EventBase", e_ = 0xce11c4 "" } } } } #5 0x0000000000c1a586 in folly::EventBase::loopForever (this=this@entry=0x7fe241f58010) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/folly/folly-prefix/src/folly/folly/io/async/EventBase.cpp:538 ret = #6 0x00000000005b0339 in worker_libevent (arg=0x7fe241f58000) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/thread.cc:115 me = @0x7fe241f58000: { thread_id = 140609674241792, eventBase = { = { _vptr.TimeoutManager = 0x1091d68 , cobTimeouts_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243026450 }, }, } } } }, = { = { _vptr.Executor = 0x1091e28 , static LO_PRI = -128 '\200', static MID_PRI = 0 '\000', static HI_PRI = 127 '\177' }, }, = {}, = {}, = {}, members of folly::EventBase: intervalDuration_ = { __r = 10 }, wheelTimer_ = { _M_t = { _M_t = { > >*, folly::DelayedDestruction::Destructor>> = { > = { > = { = {}, }, }, > >*, false>> = { _M_head_impl = 0x0 }, }, } } }, loopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f58050, prev_ = 0x7fe241f58050 }, } } } }, }, runBeforeLoopCallbacks_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>> = { static constant_time_size = false, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = true, data_ = { , (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>> = { *, boost::intrusive::dft_tag, 1>> = {}, members of boost::intrusive::bhtraits, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>: static link_mode = boost::intrusive::auto_unlink }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::data_t: root_plus_size_ = { > = { static constant_time_size = }, members of boost::intrusive::list_impl, (boost::intrusive::link_mode_type)2, boost::intrusive::dft_tag, 1>, unsigned long, false, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f58060, prev_ = 0x7fe241f58060 }, } } } }, }, onDestructionCallbacks_ = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)2>> = { >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >, (folly::detail::MutexLevel)1>> = {}, }, members of folly::Synchronized >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >: static nxCopyCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxCopyCtor".>, static nxMoveCtor = >, &folly::EventBase::OnDestructionCallback::listHook_> >, folly::SharedMutexImpl >::nxMoveCtor".>, datum_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>> = { static constant_time_size = true, static stateful_value_traits = , static has_container_from_iterator = , static safemode_or_autounlink = false, data_ = { >, &folly::EventBase::OnDestructionCallback::listHook_>> = { static link_mode = boost::intrusive::normal_link }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::data_t: root_plus_size_ = { > = { static constant_time_size = , size_ = 0 }, members of boost::intrusive::list_impl >, &folly::EventBase::OnDestructionCallback::listHook_>, unsigned long, true, void>::root_plus_size: m_header = { > = { next_ = 0x7fe241f58078, prev_ = 0x7fe241f58078 }, } } } }, }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 12, static tls_lastDeferredReaderSlot = 12, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, runOnceCallbacks_ = 0x0, stop_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, loopThread_ = { static _S_min_alignment = 8, static _S_alignment = 8, _M_i = { _M_thread = 140609674241792 }, static is_always_lock_free = ::is_always_lock_free".> }, queue_ = { _M_t = { _M_t = { >*, std::default_delete > > >> = { > > >> = { > >, true>> = { > >> = {}, }, }, >*, false>> = { _M_head_impl = 0x7fe241f07a00 }, }, } } }, fnRunner_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe24305cb00 }, }, } } }, loopKeepAliveCount_ = 1, loopKeepAliveCountAtomic_ = { > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, loopKeepAliveActive_ = true, maxLatency_ = { __r = 0 }, avgLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.479999009351381, buffer_time_ = { __r = 2875 }, busy_buffer_ = { __r = 25 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyLoopTime_ = { expCoeff_ = -4.9999999999999998e-07, value_ = 32.479999009351381, buffer_time_ = { __r = 2875 }, busy_buffer_ = { __r = 25 }, buffer_cnt_ = 10, static buffer_interval_ = { __r = 10 } }, maxLatencyCob_ = { > = {}, members of folly::Function: data_ = { big = 0x0, tiny = { __data = '\000' , __align = {} } }, call_ = 0x4664dd ::uninitCall(folly::detail::function::Data&)>, exec_ = 0x0 }, enableTimeMeasurement_ = true, nextLoopCnt_ = 8046663, latestLoopCnt_ = 8046662, startWork_ = { __d = { __r = 9770378904804382 } }, invokingLoop_ = true, observer_ = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, }, observerSampleCount_ = 0, executionObserver_ = 0x0, name_ = { static npos = 18446744073709551615, _M_dataplus = { > = { <__gnu_cxx::new_allocator> = {}, }, members of std::__cxx11::basic_string, std::allocator >::_Alloc_hider: _M_p = 0x7fe241f581c8 "" }, _M_string_length = 0, { _M_local_buf = '\000' , _M_allocated_capacity = 0 } }, localStorage_ = { _M_h = { >, std::__detail::_Select1st, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { >, std::__detail::_Select1st, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, >, std::allocator > >, 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, true>> = {}, >, std::allocator > >, 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, false>> = { >, std::allocator > >, 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 >> = {}, }, >, std::allocator > >, 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, std::integral_constant >> = {}, >, std::allocator > >, 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, true>> = {}, >, false> > >> = { >, false> >, true>> = { >, false> >> = { <__gnu_cxx::new_allocator >, false> >> = {}, }, }, }, members of std::_Hashtable >, std::allocator > >, 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 >: _M_buckets = 0x7fe241f58208, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, localStorageToDtor_ = { _M_h = { , std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Hashtable_traits >> = { , std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, false>> = { > = { = {}, }, , true>> = { > = { > = {}, }, }, > = { = {}, }, }, , true>> = { > = { > = {}, }, }, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = { , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >> = {}, }, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, std::integral_constant >> = {}, , std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits, true>> = {}, > >> = { >, true>> = { >> = { <__gnu_cxx::new_allocator >> = {}, }, }, }, members of std::_Hashtable, std::__detail::_Identity, std::equal_to, std::hash, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prime_rehash_policy, std::__detail::_Hashtable_traits >: _M_buckets = 0x7fe241f58240, _M_bucket_count = 1, _M_before_begin = { _M_nxt = 0x0 }, _M_element_count = 0, _M_rehash_policy = { static _S_growth_factor = 2, _M_max_load_factor = 1, _M_next_resize = 0 }, _M_single_bucket = 0x0 } }, virtualEventBaseInitFlag_ = { called_ = { _M_base = { static _S_alignment = 1, _M_i = false }, static is_always_lock_free = true }, mutex_ = { static kReaderPriority = false, state_ = { > = { static _S_alignment = 4, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true }, static kIncrHasS = 2048, static kHasS = 4294965248, static kAnnotationCreated = 1024, static kMayDefer = 512, static kPrevDefer = 256, static kHasE = 128, static kBegunE = 64, static kHasU = 32, static kHasSolo = 224, static kWaitingNotS = 16, static kWaitingESingle = 4, static kWaitingEMultiple = 8, static kWaitingE = 12, static kWaitingU = 2, static kWaitingS = 1, static kWaitingAny = 31, static kNumSharedToStartDeferring = 2, static kMaxSpinCount = 1000, static kMaxSoftYieldCount = 1000, static kDeferredSearchDistance = 2, static kDeferredSeparationFactor = 4, static kTokenStackTLSCapacity = 2, static kTokenless = 1, static tls_lastTokenlessSlot = 12, static tls_lastDeferredReaderSlot = 12, static deferredReaders = {{ > = { static _S_alignment = 8, _M_i = 0 }, members of std::atomic: static is_always_lock_free = true } } } }, virtualEventBase_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x0 }, }, } } }, evb_ = { _M_t = { _M_t = { >> = { >> = { , true>> = { > = {}, }, }, > = { _M_head_impl = 0x7fe243026480 }, }, } } } }, mutex = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, }, index = 0, subdoc_op = { m_path = 0x7fe241f4c500, m_jsn = 0x143d820, m_match = { type = 0, status = 0, matchres = 0, sflags = 0, match_level = 0, position = 0, num_siblings = 0, num_children = 0, immediate_parent_found = 0 '\000', get_last = 0 '\000', extra_options = Subdoc::Match::GET_MATCH_ONLY, unique_item_found = 0 '\000', loc_deepest = { at = 0x0, length = 0 }, loc_key = { at = 0x0, length = 0 }, ensure_unique = { at = 0x0, length = 0 } }, m_optype = { code = 0 '\000' }, m_doc = { at = 0x0, length = 0 }, m_userval = { at = 0x0, length = 0 }, m_result = 0x0 }, validator = { instance = { state = 5, stack = { > >> = { c = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Deque_impl_data> = { _M_map = 0x7fe241e87d80, _M_map_size = 8, _M_start = { _M_cur = 0x7fe243041200, _M_first = 0x7fe243041200, _M_last = 0x7fe243041400, _M_node = 0x7fe241e87d98 }, _M_finish = { _M_cur = 0x7fe243041201, _M_first = 0x7fe243041200, _M_last = 0x7fe243041400, _M_node = 0x7fe241e87d98 } }, } }, } }, } } }, running = { _M_base = { static _S_alignment = 1, _M_i = true }, static is_always_lock_free = true }, scratch_buffer = { _M_elems = '\000' }, shutdown_next_log = 0, new_conn_queue = { connections = { >, std::mutex>, (folly::detail::MutexLevel)0>> = {}, members of folly::Synchronized >, std::mutex>: static nxCopyCtor = , static nxMoveCtor = , datum_ = { >> = { _M_impl = { > = { <__gnu_cxx::new_allocator> = {}, }, >::_Vector_impl_data> = { _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0 }, } }, }, mutex_ = { = { _M_mutex = { __data = { __lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0, __spins = 0, __elision = 0, __list = { __prev = 0x0, __next = 0x0 } }, __size = '\000' , __align = 0 } }, } } } } #7 0x0000000000ba43f9 in run (this=0x7fe241eb36c0) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe23daf6700) at pthread_create.c:307 __res = pd = 0x7fe23daf6700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609674241792, 3016376877879321588, 0, 8392704, 0, 140609674241792, -3019617828262976524, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 9 (Thread 0x7fe2402fb700 (LWP 84462)): #0 0x00007fe2437bbc3d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x0000000000ae2f78 in master_thread_run (ctx=0x143cd50) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:19291 tls = { is_master = 1, thread_idx = 1, user_ptr = 0x0, alpn_proto = 0x2
} pfd = i = workerthreadcount = #2 master_thread (thread_func_param=0x143cd50) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:19386 sa = { __sigaction_handler = { sa_handler = 0x1, sa_sigaction = 0x1 }, sa_mask = { __val = {0 } }, sa_flags = 0, sa_restorer = 0x0 } #3 0x00007fe245e85ea5 in start_thread (arg=0x7fe2402fb700) at pthread_create.c:307 __res = pd = 0x7fe2402fb700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609716205312, 3016376877879321588, 0, 8392704, 3, 140609716205312, -3019432013482236940, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #4 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 8 (Thread 0x7fe23fafa700 (LWP 84461)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 No locals. #1 0x0000000000aec00b in consume_socket (thread_index=, sp=0x143beb8, ctx=0x143cd50) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:18846 No locals. #2 worker_thread_run (conn=0x143b5c8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:18987 ctx = 0x143cd50 thread_index = tls = { is_master = 0, thread_idx = 6, user_ptr = 0x0, alpn_proto = 0x0 } #3 worker_thread (thread_func_param=0x143b5c8) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:19145 sa = { __sigaction_handler = { sa_handler = 0x1, sa_sigaction = 0x1 }, sa_mask = { __val = {0 } }, sa_flags = 0, sa_restorer = 0x0 } #4 0x00007fe245e85ea5 in start_thread (arg=0x7fe23fafa700) at pthread_create.c:307 __res = pd = 0x7fe23fafa700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609707812608, 3016376877879321588, 0, 8392704, 3, 140609707812608, -3019613432363949068, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #5 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 7 (Thread 0x7fe23f2f9700 (LWP 84460)): #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 No locals. #1 0x0000000000aec00b in consume_socket (thread_index=, sp=0x143b4d0, ctx=0x143cd50) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:18846 No locals. #2 worker_thread_run (conn=0x143abe0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:18987 ctx = 0x143cd50 thread_index = tls = { is_master = 0, thread_idx = 5, user_ptr = 0x0, alpn_proto = 0x0 } #3 worker_thread (thread_func_param=0x143abe0) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/prometheus-cpp/prometheus-cpp-prefix/src/prometheus-cpp/3rdparty/civetweb/src/civetweb.c:19145 sa = { __sigaction_handler = { sa_handler = 0x1, sa_sigaction = 0x1 }, sa_mask = { __val = {0 } }, sa_flags = 0, sa_restorer = 0x0 } #4 0x00007fe245e85ea5 in start_thread (arg=0x7fe23f2f9700) at pthread_create.c:307 __res = pd = 0x7fe23f2f9700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609699419904, 3016376877879321588, 0, 8392704, 3, 140609699419904, -3019614531338705932, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #5 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 6 (Thread 0x7fe23e2f7700 (LWP 84424)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 No locals. #1 0x000000000067afe7 in __gthread_cond_timedwait (__abs_timeout=0x7fe23e2e56b0, __mutex=, __cond=0x7fe241f4c3f8) at /opt/gcc-10.2.0/include/c++/10.2.0/x86_64-pc-linux-gnu/bits/gthr-default.h:872 No locals. #2 __wait_until_impl > > (__lock=..., __lock=..., __atime=, this=0x7fe241f4c3f8) at /opt/gcc-10.2.0/include/c++/10.2.0/condition_variable:232 __ts = { tv_sec = 1639540483, tv_nsec = 617024878 } #3 wait_until > > (__atime=..., __lock=..., this=0x7fe241f4c3f8) at /opt/gcc-10.2.0/include/c++/10.2.0/condition_variable:141 __c_entry = { __d = { __r = 9751038953882885 } } #4 wait_for > (__rtime=..., __rtime=..., __lock=..., this=0x7fe241f4c3f8) at /opt/gcc-10.2.0/include/c++/10.2.0/condition_variable:172 No locals. #5 AuditImpl::consume_events() () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/auditd/src/audit.cc:401 lock = { _M_device = 0x7fe241f4c428, _M_owns = true } #6 0x0000000000ba43f9 in run (this=0x7fe241eb33c0) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #7 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #8 0x00007fe245e85ea5 in start_thread (arg=0x7fe23e2f7700) at pthread_create.c:307 __res = pd = 0x7fe23e2f7700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609682634496, 3016376877879321588, 0, 8392704, 0, 140609682634496, -3019612331241708556, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #9 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 5 (Thread 0x7fe23eaf8700 (LWP 84417)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 No locals. #1 0x00000000005f0d16 in __gthread_cond_timedwait (__abs_timeout=0x7fe23eae6680, __mutex=0x7fe2430495d0, __cond=0x7fe2430495f8) at /opt/gcc-10.2.0/include/c++/10.2.0/x86_64-pc-linux-gnu/bits/gthr-default.h:872 No locals. #2 __wait_until_impl > > (__lock=, __lock=, __atime=, this=0x7fe2430495f8) at /opt/gcc-10.2.0/include/c++/10.2.0/condition_variable:232 __ts = { tv_sec = 1639473883, tv_nsec = 576466213 } #3 wait_until > > (__atime=..., __lock=, this=0x7fe2430495f8) at /opt/gcc-10.2.0/include/c++/10.2.0/condition_variable:141 __c_entry = { __d = { __r = 9770238913326024 } } #4 wait_for > (__rtime=, __lock=, this=0x7fe2430495f8) at /opt/gcc-10.2.0/include/c++/10.2.0/condition_variable:172 No locals. #5 ExternalAuthManagerThread::run() () at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/external_auth_manager_thread.cc:91 now = #6 0x0000000000bb9ab3 in Couchbase::Thread::thread_entry() () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/thread.cc:38 No locals. #7 0x0000000000ba43f9 in run (this=0x7fe241eb3420) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #8 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #9 0x00007fe245e85ea5 in start_thread (arg=0x7fe23eaf8700) at pthread_create.c:307 __res = pd = 0x7fe23eaf8700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609691027200, 3016376877879321588, 0, 8392704, 0, 140609691027200, -3019611232266951692, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #10 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 4 (Thread 0x7fe240afc700 (LWP 84409)): #0 0x00007fe2437bbc3d in poll () at ../sysdeps/unix/syscall-template.S:81 No locals. #1 0x00000000005ab111 in get_command (buffsize=80, buffer=0x7fe240aea690 "@\006LF\342\177") at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/stdin_check.cc:57 fds = { fd = 0, events = 1, revents = 0 } #2 check_stdin_thread (arg=) at /home/couchbase/jenkins/workspace/toy-unix-simple/kv_engine/daemon/stdin_check.cc:98 command = "@\006LF\342\177\000\000\001\000\000\000\000\000\000\000\300\006LF\342\177\000\000\060\000\000\000\000\000\000\000\271I\001\000\000\000\000\000\277\347\350E\342\177\000\000\310\005LF\342\177\000\000\000\000\000\000\000\000\000\000`0\353A\342\177\000\000\000\000\000\000\000\000\000" call_exit_handler = true #3 0x0000000000ba43f9 in run (this=0x7fe241eb3060) at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:51 No locals. #4 platform_thread_wrap(void*) () at /home/couchbase/jenkins/workspace/toy-unix-simple/platform/src/cb_pthreads.cc:64 No locals. #5 0x00007fe245e85ea5 in start_thread (arg=0x7fe240afc700) at pthread_create.c:307 __res = pd = 0x7fe240afc700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609724598016, 3016376877879321588, 0, 8392704, 0, 140609724598016, -3019430914507480076, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #6 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 3 (Thread 0x7fe2412fd700 (LWP 84408)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 No locals. #1 0x0000000000b7200a in __gthread_cond_timedwait (__abs_timeout=0x7fe2412eb6b0, __mutex=, __cond=0x7fe243016a48) at /usr/local/include/c++/7.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h:871 No locals. #2 __wait_until_impl > > (__atime=..., __lock=..., this=0x7fe243016a48) at /usr/local/include/c++/7.3.0/condition_variable:166 __ts = { tv_sec = 1639473424, tv_nsec = 62740250 } #3 wait_until > > (__atime=..., __lock=..., this=0x7fe243016a48) at /usr/local/include/c++/7.3.0/condition_variable:106 No locals. #4 wait_until >, spdlog::details::periodic_worker::periodic_worker(const std::function&, std::chrono::seconds):::: > (__p=..., __atime=..., __lock=..., this=0x7fe243016a48) at /usr/local/include/c++/7.3.0/condition_variable:129 No locals. #5 wait_for, spdlog::details::periodic_worker::periodic_worker(const std::function&, std::chrono::seconds):::: > (__p=..., __rtime=..., __lock=..., this=0x7fe243016a48) at /usr/local/include/c++/7.3.0/condition_variable:145 No locals. #6 operator() (__closure=0x7fe241e87d08) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/spdlog/spdlog-prefix/src/spdlog/include/spdlog/details/periodic_worker-inl.h:25 lock = { _M_device = 0x7fe243016a20, _M_owns = true } interval = { __r = 1 } callback_fun = { > = {}, = { static _M_max_size = 16, static _M_max_align = 8, _M_functor = { _M_unused = { _M_object = 0x112cfc0 , _M_const_object = 0x112cfc0 , _M_function_pointer = 0x112cfc0 , _M_member_pointer = (void (std::_Undefined_class::*)(std::_Undefined_class * const)) 0x112cfc0 , this adjustment 140609745091880 }, _M_pod_data = "\300\317\022\001\000\000\000\000(}\350A\342\177\000" }, _M_manager = 0xb56610 >::_M_manager(std::_Any_data &, const std::_Any_data &, std::_Manager_operation)> }, members of std::function: _M_invoker = 0xb57900 >::_M_invoke(const std::_Any_data &)> } this = 0x7fe243016a10 #7 __invoke_impl&, std::chrono::seconds):: > (__f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:60 No locals. #8 __invoke&, std::chrono::seconds):: > (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #9 _M_invoke<0> (this=0x7fe241e87d08) at /usr/local/include/c++/7.3.0/thread:234 No locals. #10 operator() (this=0x7fe241e87d08) at /usr/local/include/c++/7.3.0/thread:243 No locals. #11 std::thread::_State_impl&, std::chrono::seconds):: > > >::_M_run(void) (this=0x7fe241e87d00) at /usr/local/include/c++/7.3.0/thread:186 No locals. #12 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #13 0x00007fe245e85ea5 in start_thread (arg=0x7fe2412fd700) at pthread_create.c:307 __res = pd = 0x7fe2412fd700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609732990720, 3016376877879321588, 0, 8392704, 0, 140609732990720, -3019434213579234316, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #14 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 2 (Thread 0x7fe241afe700 (LWP 84407)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 No locals. #1 0x0000000000b7224a in __gthread_cond_timedwait (__abs_timeout=0x7fe241aec500, __mutex=, __cond=0x7fe24305c438) at /usr/local/include/c++/7.3.0/x86_64-pc-linux-gnu/bits/gthr-default.h:871 No locals. #2 __wait_until_impl > > (__atime=..., __lock=..., this=0x7fe24305c438) at /usr/local/include/c++/7.3.0/condition_variable:166 __ts = { tv_sec = 1639473433, tv_nsec = 577463634 } #3 wait_until > > (__atime=..., __lock=..., this=0x7fe24305c438) at /usr/local/include/c++/7.3.0/condition_variable:106 No locals. #4 wait_until >, spdlog::details::mpmc_blocking_queue::dequeue_for(T&, std::chrono::milliseconds) [with T = spdlog::details::async_msg]:: > ( __p=..., __atime=..., __lock=..., this=0x7fe24305c438) at /usr/local/include/c++/7.3.0/condition_variable:129 No locals. #5 wait_for, spdlog::details::mpmc_blocking_queue::dequeue_for(T&, std::chrono::milliseconds) [with T = spdlog::details::async_msg]:: > (__p=..., __rtime=, __lock=..., this=0x7fe24305c438) at /usr/local/include/c++/7.3.0/condition_variable:145 No locals. #6 dequeue_for (wait_duration=..., popped_item=..., this=0x7fe24305c410) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/spdlog/spdlog-prefix/src/spdlog/include/spdlog/details/mpmc_blocking_q.h:58 lock = { _M_device = 0x0, _M_owns = false } #7 spdlog::details::thread_pool::process_next_msg_ (this=this@entry=0x7fe24305c410) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/spdlog/spdlog-prefix/src/spdlog/include/spdlog/details/thread_pool-inl.h:99 incoming_async_msg = { = { = { logger_name = { data_ = 0x0, size_ = 0 }, level = spdlog::level::off, time = { __d = { __r = 0 } }, thread_id = 0, color_range_start = 0, color_range_end = 0, source = { filename = 0x0, line = 0, funcname = 0x0 }, payload = { data_ = 0x0, size_ = 0 } }, members of spdlog::details::log_msg_buffer: buffer = warning: RTTI symbol not found for class 'fmt::v7::basic_memory_buffer >' { > = { _vptr.buffer = 0xc62130 >+16>, ptr_ = 0x7fe241aec590 "spdlog_file_logger4: Create bucket [GleamBookUsers0] failed - Already exists\":\"127.0.0.1\",\"port\":11209} (System, @ns_server) ]]nection\",\"port\":11209} (not authenticated) ]d) ]/ud>) ]enticated"..., size_ = 0, capacity_ = 250 }, members of fmt::v7::basic_memory_buffer >: store_ = "spdlog_file_logger4: Create bucket [GleamBookUsers0] failed - Already exists\":\"127.0.0.1\",\"port\":11209} (System, @ns_server) ]]nection\",\"port\":11209} (not authenticated) ]d) ]/ud>) ]enticated"..., alloc_ = { <__gnu_cxx::new_allocator> = {}, } } }, members of spdlog::details::async_msg: msg_type = spdlog::details::log, worker_ptr = { > = { > = {}, members of std::__shared_ptr: _M_ptr = 0x0, _M_refcount = { _M_pi = 0x0 } }, } } #8 0x0000000000b72598 in worker_loop_ (this=0x7fe24305c410) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/spdlog/spdlog-prefix/src/spdlog/include/spdlog/details/thread_pool-inl.h:90 No locals. #9 operator() (__closure=) at /home/couchbase/jenkins/workspace/cbdeps-platform-build-old/deps/packages/build/spdlog/spdlog-prefix/src/spdlog/include/spdlog/details/thread_pool-inl.h:28 on_thread_start = this = #10 __invoke_impl):: > (__f=) at /usr/local/include/c++/7.3.0/bits/invoke.h:60 No locals. #11 __invoke):: > (__fn=) at /usr/local/include/c++/7.3.0/bits/invoke.h:95 No locals. #12 _M_invoke<0> (this=) at /usr/local/include/c++/7.3.0/thread:234 No locals. #13 operator() (this=) at /usr/local/include/c++/7.3.0/thread:243 No locals. #14 std::thread::_State_impl):: > > >::_M_run(void) (this=) at /usr/local/include/c++/7.3.0/thread:186 No locals. #15 0x00007fe24407dd40 in execute_native_thread_routine () from /opt/couchbase/bin/../lib/libstdc++.so.6 No symbol table info available. #16 0x00007fe245e85ea5 in start_thread (arg=0x7fe241afe700) at pthread_create.c:307 __res = pd = 0x7fe241afe700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609741383424, 3016376877879321588, 0, 8392704, 0, 140609741383424, -3019433114604477452, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #17 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals. Thread 1 (Thread 0x7fe242bff700 (LWP 84389)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 No locals. #1 0x00007fe2453935a7 in background_thread_sleep (tsdn=, interval=10000000000, info=) at src/background_thread.c:255 next_wakeup = { ns = 9770384566414682 } ts_wakeup = { ns = 1639473429230542000 } ts = { tv_sec = 1639473429, tv_nsec = 230542000 } tv = { tv_sec = 1639473419, tv_usec = 230542 } before_sleep = { ns = 1639473419230542000 } #2 background_work_sleep_once (ind=0, info=, tsdn=) at src/background_thread.c:307 min_interval = 10000000000 narenas = #3 background_thread0_work (tsd=0x7fe242bedf30) at src/background_thread.c:452 created_threads = 0x7fe242bed5a0 i = n_created = #4 background_work (ind=, tsd=0x7fe242bedf30) at src/background_thread.c:490 info = #5 background_thread_entry (ind_arg=) at src/background_thread.c:522 thread_ind = #6 0x00007fe245e85ea5 in start_thread (arg=0x7fe242bff700) at pthread_create.c:307 __res = pd = 0x7fe242bff700 now = unwind_buf = { cancel_jmp_buf = {{ jmp_buf = {140609759213312, 3016376877879321588, 0, 8392704, 0, 140609759213312, -3019426380632628236, -3019424847573228556}, mask_was_saved = 0 }}, priv = { pad = {0x0, 0x0, 0x0, 0x0}, data = { prev = 0x0, cleanup = 0x0, canceltype = 0 } } } not_first_call = pagesize_m1 = sp = freesize = #7 0x00007fe2437c68dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111 No locals.