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

couchstore crashes during initial data load

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 3.0
    • 3.0
    • couchbase-bucket
    • Security Level: Public
    • None
    • Build 3.0.0-357
    • Triaged
    • Centos 64-bit

    Description

      I'm doing nothing special, just loading data. Eventually one of nodes crashes.

      kernel: memcached[4846]: segfault at 22a7f6000 ip 00007ff39065ce4b sp 00007ff388b362a0 error 4 in libcouchstore.so[7ff39064e000+26000]

      #0 by_id_rereduce (dst=0x7ff388b36300 "", size_r=0x7ff388b46328, ptrlist=<value optimized out>, count=0, ctx=<value optimized out>)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/couchstore/src/reduces.cc:89
      #1 0x00007ff390653f63 in flush_mr_partial (res=0x22a4c40c8, mr_quota=<value optimized out>)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/couchstore/src/btree_modify.cc:259
      #2 0x00007ff390655265 in flush_mr (rq=0x7ff388b46500, nptr=0x1ba9ae380, start=692, end=726, dst=0x22a4c4010)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/couchstore/src/btree_modify.cc:192
      #3 modify_node (rq=0x7ff388b46500, nptr=0x1ba9ae380, start=692, end=726, dst=0x22a4c4010)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/couchstore/src/btree_modify.cc:590
      #4 0x00007ff3906556d3 in modify_btree(couchfile_modify_request *, node_pointer *, ._67 *) (rq=0x7ff388b46500, root=0x1ba9ae380, errcode=0x7ff388b46640)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/couchstore/src/btree_modify.cc:722
      #5 0x00007ff3906594c8 in update_indexes (db=0x66de180, docs=0x22a217800, infos=0x20eea4000, numdocs=363, options=<value optimized out>)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/couchstore/src/couch_save.cc:222
      #6 couchstore_save_documents (db=0x66de180, docs=0x22a217800, infos=0x20eea4000, numdocs=363, options=<value optimized out>)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/couchstore/src/couch_save.cc:389
      #7 0x00007ff390b4086f in CouchKVStore::saveDocs (this=0x67a2000, vbid=992, rev=<value optimized out>, docs=0x22a217800, docinfos=0x20eea4000, docCount=363, kvstatcb=
      0x7ff388b46a40) at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/couch-kvstore/couch-kvstore.cc:1659
      #8 0x00007ff390b413d4 in CouchKVStore::commit2couchstore (this=0x67a2000, cb=0x7ff388b46a40)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/couch-kvstore/couch-kvstore.cc:1565
      #9 0x00007ff390b415e5 in CouchKVStore::commit (this=0x0, cb=0x7ff388b46328)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/couch-kvstore/couch-kvstore.cc:1041
      #10 0x00007ff390ab273c in EventuallyPersistentStore::flushVBucket (this=0x678a000, vbid=<value optimized out>)
      at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/ep.cc:2463
      #11 0x00007ff390ae452c in Flusher::flushVB (this=0x1f13e00) at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/flusher.cc:282
      #12 0x00007ff390ae4b88 in Flusher::step (this=0x0, tid=1) at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/flusher.cc:172
      #13 0x00007ff390b10b64 in FlusherTask::run (this=<value optimized out>) at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/tasks.cc:76
      #14 0x00007ff390aec9b9 in ExecutorThread::run (this=0x1f0e820) at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/executorthread.cc:93
      #15 0x00007ff390aeceb6 in launch_executor_thread (arg=0x0) at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/ep-engine/src/executorthread.cc:33
      #16 0x00007ff39f665b7f in platform_thread_wrap (arg=0x1efedd0) at /home/buildbot/centos-5-x64-300-builder/build/build/cmake/platform/src/cb_pthreads.c:19
      #17 0x000000313b6079d1 in start_thread () from /lib64/libpthread.so.0
      #18 0x000000313b2e8b6d 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

            aaron Aaron Miller (Inactive)
            pavelpaulau Pavel Paulau (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty