Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-11785

mcd aborted in bucket_engine_release_cookie: "es != ((void *)0)"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.0
    • 3.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • 64 vb cluster_run -n1
    • Untriaged
    • Yes
    • June 30 - July 18

    Description

      Observed while running pyupr unit tests against latest from rel-3.0.0 branch.

      After about 20 tests the crash occurred on test_failover_log_n_producers_n_vbuckets. This test passes stand alone so I think it's a matter of running all the tests in succession and then coming across this issue.

      backtrace:

      Thread 228 (Thread 0x7fed2e7fc700 (LWP 695)):
      #0 0x00007fed8b608f79 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
      #1 0x00007fed8b60c388 in __GI_abort () at abort.c:89
      #2 0x00007fed8b601e36 in __assert_fail_base (fmt=0x7fed8b753718 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
      assertion=assertion@entry=0x7fed8949f28c "es != ((void *)0)",
      file=file@entry=0x7fed8949ea60 "/couchbase/memcached/engines/bucket_engine/bucket_engine.c", line=line@entry=3301,
      function=function@entry=0x7fed8949f6e0 <_PRETTY_FUNCTION_.10066> "bucket_engine_release_cookie") at assert.c:92
      #3 0x00007fed8b601ee2 in _GI__assert_fail (assertion=0x7fed8949f28c "es != ((void *)0)",
      file=0x7fed8949ea60 "/couchbase/memcached/engines/bucket_engine/bucket_engine.c", line=3301,
      function=0x7fed8949f6e0 <_PRETTY_FUNCTION_.10066> "bucket_engine_release_cookie") at assert.c:101
      #4 0x00007fed8949d13d in bucket_engine_release_cookie (cookie=0x5b422e0)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:3301
      #5 0x00007fed8835343f in EventuallyPersistentEngine::releaseCookie (this=0x7fed4808f5d0, cookie=0x5b422e0)
      at /couchbase/ep-engine/src/ep_engine.cc:1883
      #6 0x00007fed8838d730 in ConnHandler::releaseReference (this=0x7fed7c0544e0, force=false)
      at /couchbase/ep-engine/src/tapconnection.cc:306
      #7 0x00007fed883a4de6 in UprConnMap::shutdownAllConnections (this=0x7fed4806e4e0)
      at /couchbase/ep-engine/src/tapconnmap.cc:1004
      #8 0x00007fed88353e0a in EventuallyPersistentEngine::destroy (this=0x7fed4808f5d0, force=true)
      at /couchbase/ep-engine/src/ep_engine.cc:2034
      #9 0x00007fed8834dc05 in EvpDestroy (handle=0x7fed4808f5d0, force=true) at /couchbase/ep-engine/src/ep_engine.cc:142
      #10 0x00007fed89498a54 in engine_shutdown_thread (arg=0x7fed48080540)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1564
      #11 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed480a5b60) at /couchbase/platform/src/cb_pthreads.c:19
      #12 0x00007fed8beba182 in start_thread (arg=0x7fed2e7fc700) at pthread_create.c:312
      #13 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 226 (Thread 0x7fed71790700 (LWP 693)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x00007fed8cf43d97 in cb_cond_timedwait (cond=0x7fed78093e80, mutex=0x7fed78093e48, ms=720)
      at /couchbase/platform/src/cb_pthreads.c:156
      #2 0x00007fed8837840a in SyncObject::wait (this=0x7fed78093e40, tv=...) at /couchbase/ep-engine/src/syncobject.h:74
      #3 0x00007fed883ae36f in TaskQueue::_doSleep (this=0x7fed78093e40, t=...) at /couchbase/ep-engine/src/taskqueue.cc:76
      #4 0x00007fed883ae434 in TaskQueue::_fetchNextTask (this=0x7fed78093e40, t=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:97
      #5 0x00007fed883ae817 in TaskQueue::fetchNextTask (this=0x7fed78093e40, thread=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:145
      #6 0x00007fed883755b2 in ExecutorPool::_nextTask (this=0x7fed78089560, t=..., tick=122 'z')
      at /couchbase/ep-engine/src/executorpool.cc:181
      #7 0x00007fed88375655 in ExecutorPool::nextTask (this=0x7fed78089560, t=..., tick=122 'z')
      at /couchbase/ep-engine/src/executorpool.cc:196
      #8 0x00007fed883889de in ExecutorThread::run (this=0x7fed4801d610) at /couchbase/ep-engine/src/executorthread.cc:77
      #9 0x00007fed88388591 in launch_executor_thread (arg=0x7fed4801d610) at /couchbase/ep-engine/src/executorthread.cc:33
      #10 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed480203e0) at /couchbase/platform/src/cb_pthreads.c:19
      #11 0x00007fed8beba182 in start_thread (arg=0x7fed71790700) at pthread_create.c:312
      #12 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 225 (Thread 0x7fed71f91700 (LWP 692)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x00007fed8cf43d97 in cb_cond_timedwait (cond=0x7fed78093830, mutex=0x7fed780937f8, ms=86390052)
      at /couchbase/platform/src/cb_pthreads.c:156
      #2 0x00007fed8837840a in SyncObject::wait (this=0x7fed780937f0, tv=...) at /couchbase/ep-engine/src/syncobject.h:74
      #3 0x00007fed883ae36f in TaskQueue::_doSleep (this=0x7fed780937f0, t=...) at /couchbase/ep-engine/src/taskqueue.cc:76
      #4 0x00007fed883ae434 in TaskQueue::_fetchNextTask (this=0x7fed780937f0, t=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:97
      #5 0x00007fed883ae817 in TaskQueue::fetchNextTask (this=0x7fed780937f0, thread=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:145
      #6 0x00007fed883755b2 in ExecutorPool::_nextTask (this=0x7fed78089560, t=..., tick=46 '.')
      at /couchbase/ep-engine/src/executorpool.cc:181
      #7 0x00007fed88375655 in ExecutorPool::nextTask (this=0x7fed78089560, t=..., tick=46 '.')
      at /couchbase/ep-engine/src/executorpool.cc:196
      #8 0x00007fed883889de in ExecutorThread::run (this=0x7fed4801a6c0) at /couchbase/ep-engine/src/executorthread.cc:77
      #9 0x00007fed88388591 in launch_executor_thread (arg=0x7fed4801a6c0) at /couchbase/ep-engine/src/executorthread.cc:33
      #10 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed4801d490) at /couchbase/platform/src/cb_pthreads.c:19
      #11 0x00007fed8beba182 in start_thread (arg=0x7fed71f91700) at pthread_create.c:312
      #12 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 224 (Thread 0x7fed72792700 (LWP 691)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x00007fed8cf43d97 in cb_cond_timedwait (cond=0x7fed78092bc0, mutex=0x7fed78092b88, ms=3894)
      at /couchbase/platform/src/cb_pthreads.c:156
      #2 0x00007fed8837840a in SyncObject::wait (this=0x7fed78092b80, tv=...) at /couchbase/ep-engine/src/syncobject.h:74
      #3 0x00007fed883ae36f in TaskQueue::_doSleep (this=0x7fed78092b80, t=...) at /couchbase/ep-engine/src/taskqueue.cc:76
      #4 0x00007fed883ae434 in TaskQueue::_fetchNextTask (this=0x7fed78092b80, t=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:97
      #5 0x00007fed883ae817 in TaskQueue::fetchNextTask (this=0x7fed78092b80, thread=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:145
      #6 0x00007fed883755b2 in ExecutorPool::_nextTask (this=0x7fed78089560, t=..., tick=173 '\255')
      at /couchbase/ep-engine/src/executorpool.cc:181
      #7 0x00007fed88375655 in ExecutorPool::nextTask (this=0x7fed78089560, t=..., tick=173 '\255')
      at /couchbase/ep-engine/src/executorpool.cc:196
      #8 0x00007fed883889de in ExecutorThread::run (this=0x7fed480178a0) at /couchbase/ep-engine/src/executorthread.cc:77
      #9 0x00007fed88388591 in launch_executor_thread (arg=0x7fed480178a0) at /couchbase/ep-engine/src/executorthread.cc:33
      #10 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed4801a670) at /couchbase/platform/src/cb_pthreads.c:19
      #11 0x00007fed8beba182 in start_thread (arg=0x7fed72792700) at pthread_create.c:312
      #12 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 223 (Thread 0x7fed70f8f700 (LWP 690)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x00007fed8cf43d97 in cb_cond_timedwait (cond=0x7fed78092bc0, mutex=0x7fed78092b88, ms=3893)
      at /couchbase/platform/src/cb_pthreads.c:156
      #2 0x00007fed8837840a in SyncObject::wait (this=0x7fed78092b80, tv=...) at /couchbase/ep-engine/src/syncobject.h:74
      #3 0x00007fed883ae36f in TaskQueue::_doSleep (this=0x7fed78092b80, t=...) at /couchbase/ep-engine/src/taskqueue.cc:76
      #4 0x00007fed883ae434 in TaskQueue::_fetchNextTask (this=0x7fed78092b80, t=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:97
      #5 0x00007fed883ae817 in TaskQueue::fetchNextTask (this=0x7fed78092b80, thread=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:145
      #6 0x00007fed883755b2 in ExecutorPool::_nextTask (this=0x7fed78089560, t=..., tick=147 '\223')
      at /couchbase/ep-engine/src/executorpool.cc:181
      #7 0x00007fed88375655 in ExecutorPool::nextTask (this=0x7fed78089560, t=..., tick=147 '\223')
      at /couchbase/ep-engine/src/executorpool.cc:196
      #8 0x00007fed883889de in ExecutorThread::run (this=0x7fed48014a80) at /couchbase/ep-engine/src/executorthread.cc:77
      #9 0x00007fed88388591 in launch_executor_thread (arg=0x7fed48014a80) at /couchbase/ep-engine/src/executorthread.cc:33
      #10 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed48017850) at /couchbase/platform/src/cb_pthreads.c:19
      #11 0x00007fed8beba182 in start_thread (arg=0x7fed70f8f700) at pthread_create.c:312
      #12 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 222 (Thread 0x7fed7078e700 (LWP 689)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x00007fed8cf43d97 in cb_cond_timedwait (cond=0x7fed780931e0, mutex=0x7fed780931a8, ms=1672)
      at /couchbase/platform/src/cb_pthreads.c:156
      #2 0x00007fed8837840a in SyncObject::wait (this=0x7fed780931a0, tv=...) at /couchbase/ep-engine/src/syncobject.h:74
      #3 0x00007fed883ae36f in TaskQueue::_doSleep (this=0x7fed780931a0, t=...) at /couchbase/ep-engine/src/taskqueue.cc:76
      #4 0x00007fed883ae434 in TaskQueue::_fetchNextTask (this=0x7fed780931a0, t=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:97
      #5 0x00007fed883ae817 in TaskQueue::fetchNextTask (this=0x7fed780931a0, thread=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:145
      #6 0x00007fed883755b2 in ExecutorPool::_nextTask (this=0x7fed78089560, t=..., tick=61 '=')
      at /couchbase/ep-engine/src/executorpool.cc:181
      #7 0x00007fed88375655 in ExecutorPool::nextTask (this=0x7fed78089560, t=..., tick=61 '=')
      at /couchbase/ep-engine/src/executorpool.cc:196
      #8 0x00007fed883889de in ExecutorThread::run (this=0x7fed48011c80) at /couchbase/ep-engine/src/executorthread.cc:77
      #9 0x00007fed88388591 in launch_executor_thread (arg=0x7fed48011c80) at /couchbase/ep-engine/src/executorthread.cc:33
      #10 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed480b8e90) at /couchbase/platform/src/cb_pthreads.c:19
      #11 0x00007fed8beba182 in start_thread (arg=0x7fed7078e700) at pthread_create.c:312
      --Type <return> to continue, or q <return> to quit--
      #12 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 221 (Thread 0x7fed0effd700 (LWP 688)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x00007fed8cf43d97 in cb_cond_timedwait (cond=0x7fed780931e0, mutex=0x7fed780931a8, ms=1673)
      at /couchbase/platform/src/cb_pthreads.c:156
      #2 0x00007fed8837840a in SyncObject::wait (this=0x7fed780931a0, tv=...) at /couchbase/ep-engine/src/syncobject.h:74
      #3 0x00007fed883ae36f in TaskQueue::_doSleep (this=0x7fed780931a0, t=...) at /couchbase/ep-engine/src/taskqueue.cc:76
      #4 0x00007fed883ae434 in TaskQueue::_fetchNextTask (this=0x7fed780931a0, t=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:97
      #5 0x00007fed883ae817 in TaskQueue::fetchNextTask (this=0x7fed780931a0, thread=..., toSleep=true)
      at /couchbase/ep-engine/src/taskqueue.cc:145
      #6 0x00007fed883755b2 in ExecutorPool::_nextTask (this=0x7fed78089560, t=..., tick=50 '2')
      at /couchbase/ep-engine/src/executorpool.cc:181
      #7 0x00007fed88375655 in ExecutorPool::nextTask (this=0x7fed78089560, t=..., tick=50 '2')
      at /couchbase/ep-engine/src/executorpool.cc:196
      #8 0x00007fed883889de in ExecutorThread::run (this=0x7fed480b67e0) at /couchbase/ep-engine/src/executorthread.cc:77
      #9 0x00007fed88388591 in launch_executor_thread (arg=0x7fed480b67e0) at /couchbase/ep-engine/src/executorthread.cc:33
      #10 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed480b6890) at /couchbase/platform/src/cb_pthreads.c:19
      #11 0x00007fed8beba182 in start_thread (arg=0x7fed0effd700) at pthread_create.c:312
      #12 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 210 (Thread 0x7fed0f7fe700 (LWP 661)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed740e8910)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed740667e0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed0f7fe700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 201 (Thread 0x7fed0ffff700 (LWP 644)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed74135070)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed74050ef0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed0ffff700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      --Type <return> to continue, or q <return> to quit--
      Thread 192 (Thread 0x7fed2cff9700 (LWP 627)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed7c1b7c90)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed7c078340) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed2cff9700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 183 (Thread 0x7fed2d7fa700 (LWP 610)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed5009e000)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed5009dfe0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed2d7fa700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 174 (Thread 0x7fed2dffb700 (LWP 593)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed5009dc30)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed50031010) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed2dffb700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 165 (Thread 0x7fed2f7fe700 (LWP 576)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed481cef20)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed480921c0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed2f7fe700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 147 (Thread 0x7fed2effd700 (LWP 541)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      --Type <return> to continue, or q <return> to quit--
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed540015d0)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed54057b80) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed2effd700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 138 (Thread 0x7fed6df89700 (LWP 523)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed78092aa0)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed78056ea0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed6df89700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 120 (Thread 0x7fed2ffff700 (LWP 489)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed7c1b7d10)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed7c1b7ac0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed2ffff700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 111 (Thread 0x7fed6cf87700 (LWP 472)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed5008c030)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed500adf50) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed6cf87700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 102 (Thread 0x7fed6d788700 (LWP 455)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      --Type <return> to continue, or q <return> to quit--
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed54080450)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed54091560) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed6d788700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 93 (Thread 0x7fed6ff8d700 (LWP 438)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed54080ad0)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed54068db0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed6ff8d700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 57 (Thread 0x7fed6e78a700 (LWP 370)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed50080230)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed5008c360) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed6e78a700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 48 (Thread 0x7fed6ef8b700 (LWP 352)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed50000c10)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed500815b0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed6ef8b700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 39 (Thread 0x7fed6f78c700 (LWP 334)):
      #0 pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
      #1 0x00007fed8cf43c34 in cb_cond_wait (cond=0x7fed896a2648 <bucket_engine+840>, mutex=0x7fed896a25f0 <bucket_engine+752>)
      at /couchbase/platform/src/cb_pthreads.c:119
      #2 0x00007fed89498c13 in engine_shutdown_thread (arg=0x7fed4807c290)
      at /couchbase/memcached/engines/bucket_engine/bucket_engine.c:1610
      --Type <return> to continue, or q <return> to quit--
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed4806e4c0) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed6f78c700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 13 (Thread 0x7fed817fa700 (LWP 292)):
      #0 0x00007fed8b693d7d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8b6c5334 in usleep (useconds=<optimized out>) at ../sysdeps/unix/sysv/linux/usleep.c:32
      #2 0x00007fed88386dd2 in updateStatsThread (arg=0x7fed780343f0) at /couchbase/ep-engine/src/memory_tracker.cc:36
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x7fed78034450) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed817fa700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 10 (Thread 0x7fed8aec4700 (LWP 116)):
      #0 0x00007fed8b6be6bd in read () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8b64d4e0 in IO_new_file_underflow (fp=0x7fed8b992640 <_IO_2_1_stdin>) at fileops.c:613
      #2 0x00007fed8b64e46e in _GIIO_default_uflow (fp=0x7fed8b992640 <_IO_2_1_stdin>) at genops.c:435
      #3 0x00007fed8b642184 in _GIIO_getline_info (fp=0x7fed8b992640 <_IO_2_1_stdin>, buf=0x7fed8aec3e40 "", n=79, delim=10,
      extract_delim=1, eof=0x0) at iogetline.c:69
      #4 0x00007fed8b641106 in IO_fgets (buf=0x7fed8aec3e40 "", n=0, fp=0x7fed8b992640 <_IO_2_1_stdin>) at iofgets.c:56
      #5 0x00007fed8aec5b24 in check_stdin_thread (arg=0x41c0ee <shutdown_server>)
      at /couchbase/memcached/extensions/daemon/stdin_check.c:38
      #6 0x00007fed8cf43963 in platform_thread_wrap (arg=0x1a66250) at /couchbase/platform/src/cb_pthreads.c:19
      #7 0x00007fed8beba182 in start_thread (arg=0x7fed8aec4700) at pthread_create.c:312
      #8 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 9 (Thread 0x7fed89ea3700 (LWP 117)):
      #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
      #1 0x00007fed8cf43d97 in cb_cond_timedwait (cond=0x7fed8a6c3280 <cond>, mutex=0x7fed8a6c3240 <mutex>, ms=19000)
      at /couchbase/platform/src/cb_pthreads.c:156
      #2 0x00007fed8a4c0fea in logger_thead_main (arg=0x1a66fe0) at /couchbase/memcached/extensions/loggers/file_logger.c:372
      #3 0x00007fed8cf43963 in platform_thread_wrap (arg=0x1a67050) at /couchbase/platform/src/cb_pthreads.c:19
      #4 0x00007fed8beba182 in start_thread (arg=0x7fed89ea3700) at pthread_create.c:312
      #5 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 8 (Thread 0x7fed89494700 (LWP 135)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041df04 in worker_libevent (arg=0x5bc9cb0) at /couchbase/memcached/daemon/thread.c:277
      #4 0x00007fed8cf43963 in platform_thread_wrap (arg=0x5bcd0f0) at /couchbase/platform/src/cb_pthreads.c:19
      #5 0x00007fed8beba182 in start_thread (arg=0x7fed89494700) at pthread_create.c:312
      #6 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
      --Type <return> to continue, or q <return> to quit--

      Thread 7 (Thread 0x7fed88c93700 (LWP 136)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041df04 in worker_libevent (arg=0x5bc9da0) at /couchbase/memcached/daemon/thread.c:277
      #4 0x00007fed8cf43963 in platform_thread_wrap (arg=0x5bcd240) at /couchbase/platform/src/cb_pthreads.c:19
      #5 0x00007fed8beba182 in start_thread (arg=0x7fed88c93700) at pthread_create.c:312
      #6 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 6 (Thread 0x7fed83fff700 (LWP 137)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041df04 in worker_libevent (arg=0x5bc9e90) at /couchbase/memcached/daemon/thread.c:277
      #4 0x00007fed8cf43963 in platform_thread_wrap (arg=0x5bcd390) at /couchbase/platform/src/cb_pthreads.c:19
      #5 0x00007fed8beba182 in start_thread (arg=0x7fed83fff700) at pthread_create.c:312
      #6 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 5 (Thread 0x7fed837fe700 (LWP 138)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041df04 in worker_libevent (arg=0x5bc9f80) at /couchbase/memcached/daemon/thread.c:277
      #4 0x00007fed8cf43963 in platform_thread_wrap (arg=0x5bcd4e0) at /couchbase/platform/src/cb_pthreads.c:19
      #5 0x00007fed8beba182 in start_thread (arg=0x7fed837fe700) at pthread_create.c:312
      #6 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 4 (Thread 0x7fed82ffd700 (LWP 139)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041df04 in worker_libevent (arg=0x5bca070) at /couchbase/memcached/daemon/thread.c:277
      #4 0x00007fed8cf43963 in platform_thread_wrap (arg=0x5bcd630) at /couchbase/platform/src/cb_pthreads.c:19
      #5 0x00007fed8beba182 in start_thread (arg=0x7fed82ffd700) at pthread_create.c:312
      #6 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 3 (Thread 0x7fed827fc700 (LWP 140)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041df04 in worker_libevent (arg=0x5bca160) at /couchbase/memcached/daemon/thread.c:277
      --Type <return> to continue, or q <return> to quit--
      #4 0x00007fed8cf43963 in platform_thread_wrap (arg=0x5bcd780) at /couchbase/platform/src/cb_pthreads.c:19
      #5 0x00007fed8beba182 in start_thread (arg=0x7fed827fc700) at pthread_create.c:312
      #6 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 2 (Thread 0x7fed81ffb700 (LWP 141)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041df04 in worker_libevent (arg=0x5bca250) at /couchbase/memcached/daemon/thread.c:277
      #4 0x00007fed8cf43963 in platform_thread_wrap (arg=0x5bcd8d0) at /couchbase/platform/src/cb_pthreads.c:19
      #5 0x00007fed8beba182 in start_thread (arg=0x7fed81ffb700) at pthread_create.c:312
      #6 0x00007fed8b6cd30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

      Thread 1 (Thread 0x7fed8d764780 (LWP 113)):
      #0 0x00007fed8b6cd9a3 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81
      #1 0x00007fed8c725ef3 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #2 0x00007fed8c712295 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5
      #3 0x000000000041d24e in main (argc=3, argv=0x7fff77aaa838) at /couchbase/memcached/daemon/memcached.c:8797

      Attachments

        For Gerrit Dashboard: MB-11785
        # Subject Branch Project Status CR V

        Activity

          People

            tommie Tommie McAfee (Inactive)
            tommie Tommie McAfee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty