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

CouchStore - Memcached crashed in CouchKVStore::readVBState(_db*, Vbid) () -> CouchKVStore::CouchKVStore()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • None
    • Cheshire-Cat
    • couchbase-bucket
    • 7.0.0-3203-enterprise
    • Untriaged
    • 1
    • No

    Description

      This is a new test enabled for CouchStore.

      172.23.106.196 : Stack Trace of first crash: 035ad8e1-719c-477e-9dc80fa8-cb79aa46.dmp
      Core was generated by `/opt/couchbase/bin/memcached -C /opt/couchbase/var/lib/couchbase/config/memcach'.
       #0  0x00007ff9e64dc337 in raise () from /lib64/libc.so.6
       #0  0x00007ff9e64dc337 in raise () from /lib64/libc.so.6
       #1  0x00007ff9e64dda28 in abort () from /lib64/libc.so.6
       #2  0x00007ff9e703a195 in __gnu_cxx::__verbose_terminate_handler() () from /opt/couchbase/bin/../lib/libstdc++.so.6
       #3  0x00000000005a4fd2 in backtrace_terminate_handler() ()
       #4  0x00007ff9e7037f86 in __cxxabiv1::__terminate(void (*)()) () from /opt/couchbase/bin/../lib/libstdc++.so.6
       #5  0x00007ff9e7037fd1 in std::terminate() () from /opt/couchbase/bin/../lib/libstdc++.so.6
       #6  0x00007ff9e7038213 in __cxa_throw () from /opt/couchbase/bin/../lib/libstdc++.so.6
       #7  0x00007ff9e7060867 in std::__throw_out_of_range(char const*) () from /opt/couchbase/bin/../lib/libstdc++.so.6
       #8  0x00007ff9ea74f987 in from_json(nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer> const&, vbucket_state&) () from /opt/couchbase/bin/../lib/libep.so
       #9  0x00007ff9ea795312 in CouchKVStore::readVBState(_db*, Vbid) () from /opt/couchbase/bin/../lib/libep.so
       #10 0x00007ff9ea79b377 in CouchKVStore::initialize(std::unordered_map<Vbid, std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> >, std::hash<Vbid>, std::equal_to<Vbid>, std::allocator<std::pair<Vbid const, std::unordered_set<unsigned long, std::hash<unsigned long>, std::equal_to<unsigned long>, std::allocator<unsigned long> > > > > const&) () from /opt/couchbase/bin/../lib/libep.so
       #11 0x00007ff9ea79b8e2 in CouchKVStore::CouchKVStore(CouchKVStore::CreateReadWrite, CouchKVStoreConfig&, FileOpsInterface&) () from /opt/couchbase/bin/../lib/libep.so
       #12 0x00007ff9ea79ba25 in CouchKVStore::CouchKVStore(CouchKVStoreConfig&) () from /opt/couchbase/bin/../lib/libep.so
       #13 0x00007ff9ea6ef125 in KVStoreFactory::create(KVStoreConfig&) () from /opt/couchbase/bin/../lib/libep.so
       #14 0x00007ff9ea70ac1a in KVShard::KVShard(EventuallyPersistentEngine&, unsigned short) () from /opt/couchbase/bin/../lib/libep.so
       #15 0x00007ff9ea753c2f in VBucketMap::VBucketMap(Configuration&, KVBucket&) () from /opt/couchbase/bin/../lib/libep.so
       #16 0x00007ff9ea6fb57e in KVBucket::KVBucket(EventuallyPersistentEngine&) () from /opt/couchbase/bin/../lib/libep.so
       #17 0x00007ff9ea679006 in EPBucket::EPBucket(EventuallyPersistentEngine&) () from /opt/couchbase/bin/../lib/libep.so
       #18 0x00007ff9ea6930a9 in EventuallyPersistentEngine::makeBucket(Configuration&) () from /opt/couchbase/bin/../lib/libep.so
       #19 0x00007ff9ea6a841d in EventuallyPersistentEngine::initialize(char const*) () from /opt/couchbase/bin/../lib/libep.so
       #20 0x00000000004446c2 in CreateBucketThread::create() ()
       #21 0x0000000000444c79 in CreateBucketThread::run() ()
       #22 0x00007ff9e90415df in Couchbase::Thread::thread_entry() () from /opt/couchbase/bin/../lib/libplatform_so.so.0.1.0
       #23 0x00007ff9e9036947 in platform_thread_wrap(void*) () from /opt/couchbase/bin/../lib/libplatform_so.so.0.1.0
       #24 0x00007ff9e687be65 in start_thread () from /lib64/libpthread.so.0
       #25 0x00007ff9e65a488d in clone () from /lib64/libc.so.6
      

      QE Test:

      bucket_storage=couchstore,GROUP=couchstore,bucket_eviction_policy=fullEviction,randomize_value=True,rerun=false,replicas=1,upgrade_version=7.0.0-3203 -t magma.magma_crash_recovery.MagmaCrashTests.test_crash_during_ops,num_items=1000000,doc_size=256,nodes_init=4,replicas=1,graceful=False,doc_ops=create:update:delete:expiry,wait_warmup=True,maxttl=10,process_concurrency=5,durability=PERSIST_TO_MAJORITY,GROUP=couchstore,multiplier=20
      

      Attachments

        Issue Links

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

          Activity

            People

              ritesh.agarwal Ritesh Agarwal
              ritesh.agarwal Ritesh Agarwal
              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