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

ep-engine fails with assertion еrror during/right-after warmup


    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0-developer-preview-3
    • Fix Version/s: None
    • Component/s: couchbase-bucket
    • Security Level: Public
    • Labels:


      Start couchbase server. 1 node is enough.

      Load few items. (2 was enough here).

      Stop it. Start it back.

      Observe how memcached will repeatedly crash.

      With the following in core dump:

      Program terminated with signal 6, Aborted.
      #0 0xf76f7430 in __kernel_vsyscall ()
      (gdb) up
      #1 0xf750b911 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
      64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
      in ../nptl/sysdeps/unix/sysv/linux/raise.c
      #2 0xf750ed42 in *__GI_abort () at abort.c:92
      92 abort.c: No such file or directory.
      in abort.c
      #3 0xf7504b28 in *_GI__assert_fail (assertion=0xf3c5e49c "ht.cacheSize.get() < ((size_t)1<<(sizeof(size_t)*8-1))", file=0xf3c5e3df "stored-value.cc", line=377,
      function=0xf3c5e6a0 "static void StoredValue::reduceCacheSize(HashTable&, size_t, bool)") at assert.c:81
      81 assert.c: No such file or directory.
      in assert.c
      #4 0xf3afb4fd in StoredValue::reduceCacheSize (residentOnly=<optimized out>, by=<optimized out>, ht=<optimized out>) at stored-value.cc:377
      377 assert(ht.cacheSize.get() < GIGANTOR);
      #5 0xf3b70e64 in StoredValue::reduceCacheSize (ht=..., by=91, residentOnly=false) at stored-value.cc:377
      377 assert(ht.cacheSize.get() < GIGANTOR);
      (gdb) p ht.cacheSize.value
      $1 = 4294967292
      (gdb) p/x ht.cacheSize.value
      $2 = 0xfffffffc

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-4513=message:MB-4513


        No work has yet been logged on this issue.


          • Assignee:
            mikew Mike Wiederhold
            alkondratenko Aleksey Kondratenko (Inactive)
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes