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

Segmentation fault in flusher EventuallyPersistentStore::flushOneDelOrSet

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 1.8.1
    • 1.8.1-release-candidate
    • couchbase-bucket
    • Security Level: Public
    • Centos 64 bit

    Description

      Core was generated by `/opt/couchbase/bin/memcached -X /opt/couchbase/lib/memcached/stdin_term_handler'.
      Program terminated with signal 11, Segmentation fault.

      (gdb) t a a bt

      Thread 12 (Thread 0x2b2d08f4b220 (LWP 26978)):
      #0 0x00000037f76d48a8 in epoll_wait () from /lib64/libc.so.6
      #1 0x00002b2d08ac9c28 in epoll_dispatch (base=0x5d94000, tv=<value optimized out>) at epoll.c:404
      #2 0x00002b2d08ab8a4c in event_base_loop (base=0x5d94000, flags=0) at event.c:1558
      #3 0x0000000000409df3 in main (argc=<value optimized out>, argv=<value optimized out>) at daemon/memcached.c:7588

      Thread 11 (Thread 26987):
      #0 0x00000037f76c678b in read () from /lib64/libc.so.6
      #1 0x00000037f766cd57 in _IO_new_file_underflow () from /lib64/libc.so.6
      #2 0x00000037f766d71e in _IO_default_uflow_internal () from /lib64/libc.so.6
      #3 0x00000037f7668fdb in getc () from /lib64/libc.so.6
      #4 0x00002b2d08f4c875 in check_stdin_thread (arg=0x403500) at extensions/daemon/stdin_check.c:19
      #5 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #6 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 10 (Thread 26988):
      #0 0x00000037f769a541 in nanosleep () from /lib64/libc.so.6
      #1 0x00000037f769a364 in sleep () from /lib64/libc.so.6
      #2 0x0000000000415968 in check_isasl_db_thread (arg=<value optimized out>) at daemon/isasl.c:233
      #3 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #4 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 9 (Thread 26989):
      #0 0x00000037f76d48a8 in epoll_wait () from /lib64/libc.so.6
      #1 0x00002b2d08ac9c28 in epoll_dispatch (base=0x5d94500, tv=<value optimized out>) at epoll.c:404
      #2 0x00002b2d08ab8a4c in event_base_loop (base=0x5d94500, flags=0) at event.c:1558
      #3 0x00000000004139a4 in worker_libevent (arg=0x5d6e500) at daemon/thread.c:305
      #4 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #5 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 8 (Thread 26990):
      #0 0x00000037f76d48a8 in epoll_wait () from /lib64/libc.so.6
      #1 0x00002b2d08ac9c28 in epoll_dispatch (base=0x5d94280, tv=<value optimized out>) at epoll.c:404
      #2 0x00002b2d08ab8a4c in event_base_loop (base=0x5d94280, flags=0) at event.c:1558
      #3 0x00000000004139a4 in worker_libevent (arg=0x5d6e600) at daemon/thread.c:305
      #4 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #5 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 7 (Thread 26991):
      #0 0x00000037f76d48a8 in epoll_wait () from /lib64/libc.so.6
      #1 0x00002b2d08ac9c28 in epoll_dispatch (base=0x5d94c80, tv=<value optimized out>) at epoll.c:404
      #2 0x00002b2d08ab8a4c in event_base_loop (base=0x5d94c80, flags=0) at event.c:1558
      #3 0x00000000004139a4 in worker_libevent (arg=0x5d6e700) at daemon/thread.c:305
      #4 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #5 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 6 (Thread 26992):
      #0 0x00000037f76d48a8 in epoll_wait () from /lib64/libc.so.6
      #1 0x00002b2d08ac9c28 in epoll_dispatch (base=0x5d94a00, tv=<value optimized out>) at epoll.c:404
      #2 0x00002b2d08ab8a4c in event_base_loop (base=0x5d94a00, flags=0) at event.c:1558
      #3 0x00000000004139a4 in worker_libevent (arg=0x5d6e800) at daemon/thread.c:305
      #4 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #5 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 5 (Thread 26993):
      #0 0x00000037f76d48a8 in epoll_wait () from /lib64/libc.so.6
      #1 0x00002b2d08ac9c28 in epoll_dispatch (base=0x5d94780, tv=<value optimized out>) at epoll.c:404
      #2 0x00002b2d08ab8a4c in event_base_loop (base=0x5d94780, flags=0) at event.c:1558
      #3 0x00000000004139a4 in worker_libevent (arg=0x5d6e900) at daemon/thread.c:305
      #4 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #5 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 4 (Thread 27056):
      #0 0x00000037f820aee9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1 0x00002aaaaad07788 in wait (this=0x5db0700) at syncobject.hh:31
      #2 Dispatcher::run (this=0x5db0700) at dispatcher.cc:89
      #3 0x00002aaaaad081fb in launch_dispatcher_thread (arg=0x5db0754) at dispatcher.cc:28
      #4 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      --Type <return> to continue, or q <return> to quit--
      #5 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 3 (Thread 27058):
      #0 0x00000037f820b150 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1 0x00002aaaaad05660 in wait (this=0xa6c8680, d=...) at syncobject.hh:42
      #2 IdleTask::run (this=0xa6c8680, d=...) at dispatcher.cc:286
      #3 0x00002aaaaad07956 in Dispatcher::run (this=0x5db1180) at dispatcher.cc:123
      #4 0x00002aaaaad081fb in launch_dispatcher_thread (arg=0x5db11d4) at dispatcher.cc:28
      #5 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #6 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 2 (Thread 27059):
      #0 0x00000037f820b150 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
      #1 0x00002aaaaad2bcbd in wait (this=0x2ff17000) at syncobject.hh:42
      #2 wait (this=0x2ff17000) at tapconnmap.hh:199
      #3 EventuallyPersistentEngine::notifyPendingConnections (this=0x2ff17000) at ep_engine.cc:3708
      #4 0x00002aaaaad2bf71 in EvpNotifyPendingConns (arg=0x2ff17000) at ep_engine.cc:971
      #5 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #6 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Thread 1 (Thread 0x49e46940 (LWP 27057)):
      #0 sqlite3VdbeExec (p=0x5e63808) at embedded/sqlite3.c:60297
      #1 0x00002aaaaae0edca in sqlite3Step (pStmt=0x5e63808) at embedded/sqlite3.c:57947
      #2 sqlite3_step (pStmt=0x5e63808) at embedded/sqlite3.c:58011
      #3 0x00002aaaaad7bc49 in PreparedStatement::execute (this=0x7cf6ca0) at sqlite-pst.cc:73
      #4 0x00002aaaaad78923 in StrategicSqlite3::insert (this=0x146b8480, itm=..., vb_version=<value optimized out>, cb=...) at sqlite-kvstore.cc:50
      #5 0x00002aaaaad126c0 in EventuallyPersistentStore::flushOneDelOrSet (this=0x6d44500, qi=..., rejectQueue=0x14beae10) at ep.cc:1911
      #6 0x00002aaaaad12c60 in EventuallyPersistentStore::flushOne (this=0x6d44500, q=<value optimized out>, rejectQueue=0x14beae10) at ep.cc:1954
      #7 0x00002aaaaad12e0e in EventuallyPersistentStore::flushSome (this=0x6d44500, q=0x6d44630, rejectQueue=0x14beae10) at ep.cc:1530
      #8 0x00002aaaaad49566 in Flusher::doFlush (this=0x70187e0) at flusher.cc:242
      #9 0x00002aaaaad4a0d5 in Flusher::step (this=0x0, d=..., tid=std::tr1::shared_ptr (count 0) 0x49e45f10) at flusher.cc:156
      #10 0x00002aaaaad4a80e in FlusherStepper::callback (this=0x1443f200, d=..., t=<value optimized out>) at flusher.cc:23
      #11 0x00002aaaaad08eaf in Task::run (this=<value optimized out>, d=..., t=<value optimized out>) at dispatcher.hh:139
      #12 0x00002aaaaad07956 in Dispatcher::run (this=0x5db16c0) at dispatcher.cc:123
      #13 0x00002aaaaad081fb in launch_dispatcher_thread (arg=0x0) at dispatcher.cc:28
      #14 0x00000037f820673d in start_thread () from /lib64/libpthread.so.0
      #15 0x00000037f76d44bd in clone () from /lib64/libc.so.6

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            chiyoung Chiyoung Seo (Inactive)
            karan Karan Kumar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty