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

segmentation fault in PersistenceCallback::callback(int&)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Major
    • 2.0-beta
    • 2.0-developer-preview-4
    • couchbase-bucket
    • Security Level: Public
    • None
    • ubuntu 64-bit

    Description

      happend while running view tests

      warning: Can't read pathname for load map: Input/output error.
      Reading symbols from /opt/couchbase/lib/memcached/libmemcached_utilities.so.0...done.
      Loaded symbols for /opt/couchbase/lib/memcached/libmemcached_utilities.so.0
      Reading symbols from /opt/couchbase/lib/libevent-2.0.so.5...done.
      Loaded symbols for /opt/couchbase/lib/libevent-2.0.so.5
      Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
      Loaded symbols for /lib/libdl.so.2
      Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
      Loaded symbols for /lib/libm.so.6
      Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
      Loaded symbols for /lib/librt.so.1
      Reading symbols from /opt/couchbase/lib/libtcmalloc_minimal.so.0...done.
      Loaded symbols for /opt/couchbase/lib/libtcmalloc_minimal.so.0
      Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
      Loaded symbols for /lib/libpthread.so.0
      Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
      Loaded symbols for /lib/libc.so.6
      Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
      Loaded symbols for /lib64/ld-linux-x86-64.so.2
      Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
      Loaded symbols for /usr/lib/libstdc++.so.6
      Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
      Loaded symbols for /lib/libgcc_s.so.1
      Reading symbols from /opt/couchbase/lib/memcached/stdin_term_handler.so...done.
      Loaded symbols for /opt/couchbase/lib/memcached/stdin_term_handler.so
      Reading symbols from /opt/couchbase/lib/memcached/bucket_engine.so...done.
      Loaded symbols for /opt/couchbase/lib/memcached/bucket_engine.so
      Reading symbols from /opt/couchbase/lib/memcached/ep.so...done.
      Loaded symbols for /opt/couchbase/lib/memcached/ep.so
      Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
      Loaded symbols for /lib/libnss_files.so.2
      Core was generated by `/opt/couchbase/bin/memcached -X /opt/couchbase/lib/memcached/stdin_term_handler'.
      Program terminated with signal 11, Segmentation fault.
      #0 0x00007f701de7b22b in PersistenceCallback::callback(int&) () from /opt/couchbase/lib/memcached/ep.so
      (gdb) t a a bt

      Thread 12 (Thread 19333):
      #0 0x00007f70223c439d in nanosleep () from /lib/libc.so.6
      #1 0x00007f70223c4210 in sleep () from /lib/libc.so.6
      #2 0x0000000000415e28 in isasl_is_fresh (arg=<value optimized out>) at daemon/isasl.c:201
      #3 check_isasl_db_thread (arg=<value optimized out>) at daemon/isasl.c:235
      #4 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #5 0x00007f702240070d in clone () from /lib/libc.so.6
      #6 0x0000000000000000 in ?? ()

      Thread 11 (Thread 19337):
      #0 0x00007f7022400d03 in epoll_wait () from /lib/libc.so.6
      #1 0x00007f702323b5a6 in epoll_dispatch (base=0x5834a00, tv=<value optimized out>) at epoll.c:404
      #2 0x00007f702322a171 in event_base_loop (base=0x5834a00, flags=<value optimized out>) at event.c:1558
      #3 0x0000000000414544 in worker_libevent (arg=0x13d6800) at daemon/thread.c:304
      #4 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #5 0x00007f702240070d in clone () from /lib/libc.so.6
      #6 0x0000000000000000 in ?? ()

      Thread 10 (Thread 19335):
      #0 0x00007f7022400d03 in epoll_wait () from /lib/libc.so.6
      #1 0x00007f702323b5a6 in epoll_dispatch (base=0x5834280, tv=<value optimized out>) at epoll.c:404
      #2 0x00007f702322a171 in event_base_loop (base=0x5834280, flags=<value optimized out>) at event.c:1558
      #3 0x0000000000414544 in worker_libevent (arg=0x13d6600) at daemon/thread.c:304
      #4 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #5 0x00007f702240070d in clone () from /lib/libc.so.6
      #6 0x0000000000000000 in ?? ()

      Thread 9 (Thread 19332):
      #0 0x00007f70223f24bd in read () from /lib/libc.so.6
      #1 0x00007f702238d348 in _IO_file_underflow () from /lib/libc.so.6
      #2 0x00007f702238eeee in _IO_default_uflow () from /lib/libc.so.6
      #3 0x00007f7022385c7b in getc () from /lib/libc.so.6
      #4 0x00007f7021bed9c9 in check_stdin_thread (arg=0x403880) at extensions/daemon/stdin_check.c:19
      #5 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #6 0x00007f702240070d in clone () from /lib/libc.so.6
      #7 0x0000000000000000 in ?? ()

      --Type <return> to continue, or q <return> to quit--
      Thread 8 (Thread 19339):
      #0 0x00007f70226a885c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
      #1 0x00007f701de5c707 in SyncObject::wait (this=0x58e08c0) at syncobject.hh:31
      #2 Dispatcher::run (this=0x58e08c0) at dispatcher.cc:85
      #3 0x00007f701de5d2e3 in launch_dispatcher_thread (arg=0x58e0914) at dispatcher.cc:28
      #4 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #5 0x00007f702240070d in clone () from /lib/libc.so.6
      #6 0x0000000000000000 in ?? ()

      Thread 7 (Thread 19336):
      #0 0x00007f7022400d03 in epoll_wait () from /lib/libc.so.6
      #1 0x00007f702323b5a6 in epoll_dispatch (base=0x5834c80, tv=<value optimized out>) at epoll.c:404
      #2 0x00007f702322a171 in event_base_loop (base=0x5834c80, flags=<value optimized out>) at event.c:1558
      #3 0x0000000000414544 in worker_libevent (arg=0x13d6700) at daemon/thread.c:304
      #4 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #5 0x00007f702240070d in clone () from /lib/libc.so.6
      #6 0x0000000000000000 in ?? ()

      Thread 6 (Thread 19338):
      #0 0x00007f7022400d03 in epoll_wait () from /lib/libc.so.6
      #1 0x00007f702323b5a6 in epoll_dispatch (base=0x5834780, tv=<value optimized out>) at epoll.c:404
      #2 0x00007f702322a171 in event_base_loop (base=0x5834780, flags=<value optimized out>) at event.c:1558
      #3 0x0000000000414544 in worker_libevent (arg=0x13d6900) at daemon/thread.c:304
      #4 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #5 0x00007f702240070d in clone () from /lib/libc.so.6
      #6 0x0000000000000000 in ?? ()

      Thread 5 (Thread 19323):
      #0 0x00007f7022400d03 in epoll_wait () from /lib/libc.so.6
      #1 0x00007f702323b5a6 in epoll_dispatch (base=0x5834000, tv=<value optimized out>) at epoll.c:404
      #2 0x00007f702322a171 in event_base_loop (base=0x5834000, flags=<value optimized out>) at event.c:1558
      #3 0x0000000000409b3f in main (argc=<value optimized out>, argv=<value optimized out>) at daemon/memcached.c:7781

      Thread 4 (Thread 19342):
      #0 0x00007f70226a8bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
      #1 0x00007f701de7e12d in SyncObject::wait (this=0x58e8000) at syncobject.hh:39
      #2 SyncObject::wait (this=0x58e8000) at syncobject.hh:58
      #3 TapConnMap::wait (this=0x58e8000) at tapconnmap.hh:209
      --Type <return> to continue, or q <return> to quit--
      #4 EventuallyPersistentEngine::notifyPendingConnections (this=0x58e8000) at ep_engine.cc:3197
      #5 0x00007f701de7e221 in SyncObject::wait (this=<value optimized out>) at syncobject.hh:50
      #6 SyncObject::wait (this=<value optimized out>) at syncobject.hh:58
      #7 TapConnMap::wait (this=<value optimized out>) at tapconnmap.hh:209
      #8 EventuallyPersistentEngine::notifyPendingConnections (this=<value optimized out>) at ep_engine.cc:3197
      #9 0x0000000000000000 in ?? ()

      Thread 3 (Thread 19341):
      #0 0x00007f70226a8bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
      #1 0x00007f701de58fc0 in SyncObject::wait (this=0x13dc200, d=...) at syncobject.hh:42
      #2 IdleTask::run (this=0x13dc200, d=...) at dispatcher.cc:244
      #3 0x00007f701de5c482 in Dispatcher::run (this=0x58e0700) at dispatcher.cc:119
      #4 0x00007f701de5d2e3 in launch_dispatcher_thread (arg=0x58e0754) at dispatcher.cc:28
      #5 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #6 0x00007f702240070d in clone () from /lib/libc.so.6
      #7 0x0000000000000000 in ?? ()

      Thread 2 (Thread 19334):
      #0 0x00007f7022400d03 in epoll_wait () from /lib/libc.so.6
      #1 0x00007f702323b5a6 in epoll_dispatch (base=0x5834500, tv=<value optimized out>) at epoll.c:404
      #2 0x00007f702322a171 in event_base_loop (base=0x5834500, flags=<value optimized out>) at event.c:1558
      #3 0x0000000000414544 in worker_libevent (arg=0x13d6500) at daemon/thread.c:304
      #4 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #5 0x00007f702240070d in clone () from /lib/libc.so.6
      #6 0x0000000000000000 in ?? ()

      Thread 1 (Thread 19340):
      #0 0x00007f701de7b22b in PersistenceCallback::callback(int&) () from /opt/couchbase/lib/memcached/ep.so
      #1 0x00007f701dee2960 in DelResponseHandler::implicitResponse() () from /opt/couchbase/lib/memcached/ep.so
      #2 0x00007f701deddde6 in MemcachedEngine::handleResponse (this=0x58fc000, res=0x590e000) at mc-kvstore/mc-engine.cc:559
      #3 0x00007f701dedf993 in MemcachedEngine::processInput (this=0x58fc000) at mc-kvstore/mc-engine.cc:1001
      #4 0x00007f701dee0368 in MemcachedEngine::noop (this=0x58fc000, cb=...) at mc-kvstore/mc-engine.cc:1365
      #5 0x00007f701dee5a51 in RememberingCallback (this=0x7f701d41c598) at ./callbacks.hh:112
      #6 MCKVStore::commit (this=0x7f701d41c598) at mc-kvstore/mc-kvstore.cc:201
      #7 0x00007f701de6aa9a in TransactionContext::commit (this=0x58e46f0) at ep.cc:2867
      #8 0x00007f701de6b027 in EventuallyPersistentStore::flushSome (this=0x58e4480, q=0x58e4650, rejectQueue=0x61cbea0) at ep.cc:2029
      #9 0x00007f701de985f4 in Flusher::doFlush (this=0x7f701d41c598) at flusher.cc:312
      #10 0x00007f701de99465 in Flusher::step (this=0x5918120, d=<value optimized out>, tid=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      ) at flusher.cc:222
      --Type <return> to continue, or q <return> to quit--
      #11 0x00007f701de99c10 in __atomic_add_dispatch (this=0x7f701d41c598, d=..., t=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      ) at /usr/include/c++/4.4/ext/atomicity.h:92
      #12 std::tr1::Sp_counted_base<(_gnu_cxx::_Lock_policy)2>::_M_add_ref_copy (this=0x7f701d41c598, d=..., t=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      )
      at /usr/include/c++/4.4/tr1_impl/boost_sp_counted_base.h:130
      #13 __shared_count (this=0x7f701d41c598, d=..., t=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      ) at /usr/include/c++/4.4/tr1/shared_ptr.h:160
      #14 __shared_ptr (this=0x7f701d41c598, d=..., t=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      ) at /usr/include/c++/4.4/tr1/shared_ptr.h:358
      #15 shared_ptr (this=0x7f701d41c598, d=..., t=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      ) at /usr/include/c++/4.4/tr1/shared_ptr.h:834
      #16 FlusherStepper::callback (this=0x7f701d41c598, d=..., t=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
      ) at flusher.cc:23
      #17 0x00007f701de5d88f in Task::run (this=<value optimized out>, d=..., t=<value optimized out>) at dispatcher.hh:139
      #18 0x00007f701de5c482 in Dispatcher::run (this=0x58e01c0) at dispatcher.cc:119
      #19 0x00007f701de5d2e3 in launch_dispatcher_thread (arg=0x7f701d41c598) at dispatcher.cc:28
      #20 0x00007f70226a39ca in start_thread () from /lib/libpthread.so.0
      #21 0x00007f702240070d in clone () from /lib/libc.so.6
      #22 0x0000000000000000 in ?? ()

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            farshid Farshid Ghods (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty