Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fc33ffff700 (LWP 5048)] __GI___libc_free (mem=0xa5a5a5a5a5a5a5a5) at malloc.c:2892 2892 malloc.c: No such file or directory. Thread 15 (Thread 0x7fc33effd700 (LWP 5050)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fc35a028d67 in cb_cond_timedwait (cond=0x7fc344079220, mutex=0x7fc3440791e8, ms=410) at /home/stack/build/platform/src/cb_pthreads.c:156 #2 0x00007fc35425bf56 in SyncObject::wait (this=0x7fc3440791e0, tv=...) at /home/stack/build/ep-engine/src/syncobject.h:74 #3 0x00007fc3542593fb in ExecutorPool::trySleep (this=0x7fc3440791c0, t=..., now=...) at /home/stack/build/ep-engine/src/executorpool.cc:177 #4 0x00007fc354259247 in ExecutorPool::nextTask (this=0x7fc3440791c0, t=..., tick=236 '\354') at /home/stack/build/ep-engine/src/executorpool.cc:151 #5 0x00007fc35426b21d in ExecutorThread::run (this=0x7fc34408d040) at /home/stack/build/ep-engine/src/executorthread.cc:77 #6 0x00007fc35426ade3 in launch_executor_thread (arg=0x7fc34408d040) at /home/stack/build/ep-engine/src/executorthread.cc:33 #7 0x00007fc35a028933 in platform_thread_wrap (arg=0x7fc34408fe00) at /home/stack/build/platform/src/cb_pthreads.c:19 #8 0x00007fc358f9df6e in start_thread (arg=0x7fc33effd700) at pthread_create.c:311 #9 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 14 (Thread 0x7fc33f7fe700 (LWP 5049)): #0 0x00007fff869e3dff in gettimeofday () #1 0x00007fc35a028c74 in cb_cond_timedwait (cond=0x7fc344079220, mutex=0x7fc3440791e8, ms=408) at /home/stack/build/platform/src/cb_pthreads.c:145 #2 0x00007fc35425bf56 in SyncObject::wait (this=0x7fc3440791e0, tv=...) at /home/stack/build/ep-engine/src/syncobject.h:74 #3 0x00007fc3542593fb in ExecutorPool::trySleep (this=0x7fc3440791c0, t=..., now=...) at /home/stack/build/ep-engine/src/executorpool.cc:177 #4 0x00007fc354259247 in ExecutorPool::nextTask (this=0x7fc3440791c0, t=..., tick=46 '.') at /home/stack/build/ep-engine/src/executorpool.cc:151 #5 0x00007fc35426b21d in ExecutorThread::run (this=0x7fc34408a0f0) at /home/stack/build/ep-engine/src/executorthread.cc:77 #6 0x00007fc35426ade3 in launch_executor_thread (arg=0x7fc34408a0f0) at /home/stack/build/ep-engine/src/executorthread.cc:33 #7 0x00007fc35a028933 in platform_thread_wrap (arg=0x7fc344089f70) at /home/stack/build/platform/src/cb_pthreads.c:19 #8 0x00007fc358f9df6e in start_thread (arg=0x7fc33f7fe700) at pthread_create.c:311 #9 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 13 (Thread 0x7fc33ffff700 (LWP 5048)): #0 __GI___libc_free (mem=0xa5a5a5a5a5a5a5a5) at malloc.c:2892 #1 0x00007fc34edd2456 in couchstore_close_db (db=0x7fc3300af0c0) at /home/stack/build/couchstore/src/couch_db.cc:348 #2 0x00007fc3542cda45 in CouchKVStore::closeDatabaseHandle (this=0x7fc34404e6b0, db=0x7fc3300af0c0) at /home/stack/build/ep-engine/src/couch-kvstore/couch-kvstore.cc:2061 #3 0x00007fc3542ce686 in CouchKVStore::rollback (this=0x7fc34404e6b0, vbid=0, rollbackSeqno=10000, cb=...) at /home/stack/build/ep-engine/src/couch-kvstore/couch-kvstore.cc:2275 #4 0x00007fc354220fbc in EventuallyPersistentStore::rollback (this=0x7fc34403ee30, vbid=0, rollbackSeqno=10000, cb=...) at /home/stack/build/ep-engine/src/ep.cc:2916 #5 0x00007fc35429724f in UprConsumer::doRollback (this=0x7fc340000c90, st=0x7fc34403ee30, opaque=3, vbid=0, rollbackSeqno=10000) at /home/stack/build/ep-engine/src/upr-consumer.cc:500 #6 0x00007fc354296e10 in RollbackTask::run (this=0x7fc340002080) at /home/stack/build/ep-engine/src/upr-consumer.cc:424 #7 0x00007fc35426b3d6 in ExecutorThread::run (this=0x7fc3440871b0) at /home/stack/build/ep-engine/src/executorthread.cc:94 #8 0x00007fc35426ade3 in launch_executor_thread (arg=0x7fc3440871b0) at /home/stack/build/ep-engine/src/executorthread.cc:33 #9 0x00007fc35a028933 in platform_thread_wrap (arg=0x7fc344084020) at /home/stack/build/platform/src/cb_pthreads.c:19 #10 0x00007fc358f9df6e in start_thread (arg=0x7fc33ffff700) at pthread_create.c:311 #11 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 12 (Thread 0x7fc34cb0f700 (LWP 5047)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fc35a028d67 in cb_cond_timedwait (cond=0x7fc344079220, mutex=0x7fc3440791e8, ms=410) at /home/stack/build/platform/src/cb_pthreads.c:156 #2 0x00007fc35425bf56 in SyncObject::wait (this=0x7fc3440791e0, tv=...) at /home/stack/build/ep-engine/src/syncobject.h:74 #3 0x00007fc3542593fb in ExecutorPool::trySleep (this=0x7fc3440791c0, t=..., now=...) at /home/stack/build/ep-engine/src/executorpool.cc:177 #4 0x00007fc354259247 in ExecutorPool::nextTask (this=0x7fc3440791c0, t=..., tick=96 '`') at /home/stack/build/ep-engine/src/executorpool.cc:151 #5 0x00007fc35426b21d in ExecutorThread::run (this=0x7fc3440842a0) at /home/stack/build/ep-engine/src/executorthread.cc:77 #6 0x00007fc35426ade3 in launch_executor_thread (arg=0x7fc3440842a0) at /home/stack/build/ep-engine/src/executorthread.cc:33 #7 0x00007fc35a028933 in platform_thread_wrap (arg=0x7fc344087030) at /home/stack/build/platform/src/cb_pthreads.c:19 #8 0x00007fc358f9df6e in start_thread (arg=0x7fc34cb0f700) at pthread_create.c:311 #9 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 11 (Thread 0x7fc34f7fe700 (LWP 5046)): #0 0x00007fc35877585d in nanosleep () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc3587a74e4 in usleep (useconds=) at ../sysdeps/unix/sysv/linux/usleep.c:32 #2 0x00007fc354269534 in updateStatsThread (arg=0x7fc344031020) at /home/stack/build/ep-engine/src/memory_tracker.cc:36 #3 0x00007fc35a028933 in platform_thread_wrap (arg=0x7fc344031080) at /home/stack/build/platform/src/cb_pthreads.c:19 #4 0x00007fc358f9df6e in start_thread (arg=0x7fc34f7fe700) at pthread_create.c:311 #5 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 8 (Thread 0x7fc357d8f700 (LWP 4634)): #0 0x00007fc3587a06bd in read () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc35872f998 in _IO_new_file_underflow (fp=0x7fc358a76360 <_IO_2_1_stdin_>) at fileops.c:613 #2 0x00007fc35873093e in __GI__IO_default_uflow (fp=0x7fc358a76360 <_IO_2_1_stdin_>) at genops.c:436 #3 0x00007fc3587242a4 in __GI__IO_getline_info (fp=fp@entry=0x7fc358a76360 <_IO_2_1_stdin_>, buf=buf@entry=0x7fc357d8ee10 "", n=79, delim=delim@entry=10, extract_delim=extract_delim@entry=1, eof=eof@entry=0x0) at iogetline.c:69 #4 0x00007fc358724398 in __GI__IO_getline (fp=fp@entry=0x7fc358a76360 <_IO_2_1_stdin_>, buf=buf@entry=0x7fc357d8ee10 "", n=, delim=delim@entry=10, extract_delim=extract_delim@entry=1) at iogetline.c:38 #5 0x00007fc3587231ff in _IO_fgets (buf=0x7fc357d8ee10 "", n=, fp=0x7fc358a76360 <_IO_2_1_stdin_>) at iofgets.c:56 #6 0x00007fc357d90b34 in check_stdin_thread (arg=0x41ba30 ) at /home/stack/build/memcached/extensions/daemon/stdin_check.c:38 #7 0x00007fc35a028933 in platform_thread_wrap (arg=0x1d990f0) at /home/stack/build/platform/src/cb_pthreads.c:19 #8 0x00007fc358f9df6e in start_thread (arg=0x7fc357d8f700) at pthread_create.c:311 #9 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 7 (Thread 0x7fc356f87700 (LWP 4635)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 #1 0x00007fc35a028d67 in cb_cond_timedwait (cond=0x7fc35758e280 , mutex=0x7fc35758e240 , ms=19000) at /home/stack/build/platform/src/cb_pthreads.c:156 #2 0x00007fc35738bffa in logger_thead_main (arg=0x1d99330) at /home/stack/build/memcached/extensions/loggers/file_logger.c:372 #3 0x00007fc35a028933 in platform_thread_wrap (arg=0x1d99370) at /home/stack/build/platform/src/cb_pthreads.c:19 #4 0x00007fc358f9df6e in start_thread (arg=0x7fc356f87700) at pthread_create.c:311 #5 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 6 (Thread 0x7fc356578700 (LWP 4642)): #0 0x00007fc3587af083 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc35980af83 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #2 0x00007fc3597f72d7 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #3 0x000000000041d8e6 in worker_libevent (arg=0x5ef7490) at /home/stack/build/memcached/daemon/thread.c:277 #4 0x00007fc35a028933 in platform_thread_wrap (arg=0x5ef98e0) at /home/stack/build/platform/src/cb_pthreads.c:19 #5 0x00007fc358f9df6e in start_thread (arg=0x7fc356578700) at pthread_create.c:311 #6 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 5 (Thread 0x7fc355d77700 (LWP 4646)): #0 0x00007fc3587af083 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc35980af83 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #2 0x00007fc3597f72d7 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #3 0x000000000041d8e6 in worker_libevent (arg=0x5ef7580) at /home/stack/build/memcached/daemon/thread.c:277 #4 0x00007fc35a028933 in platform_thread_wrap (arg=0x5ef9a30) at /home/stack/build/platform/src/cb_pthreads.c:19 #5 0x00007fc358f9df6e in start_thread (arg=0x7fc355d77700) at pthread_create.c:311 #6 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 #3 0x000000000041d8e6 in worker_libevent (arg=0x5ef7580) at /home/stack/build/memcached/daemon/thread.c:277 #4 0x00007fc35a028933 in platform_thread_wrap (arg=0x5ef9a30) at /home/stack/build/platform/src/cb_pthreads.c:19 #5 0x00007fc358f9df6e in start_thread (arg=0x7fc355d77700) at pthread_create.c:311 #6 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 ---Type to continue, or q to quit--- Thread 4 (Thread 0x7fc355576700 (LWP 4647)): #0 0x00007fc3587af083 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc35980af83 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #2 0x00007fc3597f72d7 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #3 0x000000000041d8e6 in worker_libevent (arg=0x5ef7670) at /home/stack/build/memcached/daemon/thread.c:277 #4 0x00007fc35a028933 in platform_thread_wrap (arg=0x5ef9b80) at /home/stack/build/platform/src/cb_pthreads.c:19 #5 0x00007fc358f9df6e in start_thread (arg=0x7fc355576700) at pthread_create.c:311 #6 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 3 (Thread 0x7fc354d75700 (LWP 4648)): #0 0x00007fc3587af083 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc35980af83 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #2 0x00007fc3597f72d7 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #3 0x000000000041d8e6 in worker_libevent (arg=0x5ef7760) at /home/stack/build/memcached/daemon/thread.c:277 #4 0x00007fc35a028933 in platform_thread_wrap (arg=0x5ef9cd0) at /home/stack/build/platform/src/cb_pthreads.c:19 #5 0x00007fc358f9df6e in start_thread (arg=0x7fc354d75700) at pthread_create.c:311 #6 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 2 (Thread 0x7fc34ffff700 (LWP 4649)): #0 0x00007fc3587af083 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc35980af83 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #2 0x00007fc3597f72d7 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #3 0x000000000041d8e6 in worker_libevent (arg=0x5ef7850) at /home/stack/build/memcached/daemon/thread.c:277 #4 0x00007fc35a028933 in platform_thread_wrap (arg=0x5ef9e20) at /home/stack/build/platform/src/cb_pthreads.c:19 #5 0x00007fc358f9df6e in start_thread (arg=0x7fc34ffff700) at pthread_create.c:311 #6 0x00007fc3587ae9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113 Thread 1 (Thread 0x7fc35a842740 (LWP 4626)): #0 0x00007fc3587af083 in epoll_wait () at ../sysdeps/unix/syscall-template.S:81 #1 0x00007fc35980af83 in ?? () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #2 0x00007fc3597f72d7 in event_base_loop () from /usr/lib/x86_64-linux-gnu/libevent_core-2.0.so.5 #3 0x000000000041cc30 in main (argc=3, argv=0x7fff869ccdf8) at /home/stack/build/memcached/daemon/memcached.c:8822