Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
None
-
2.0-developer-preview-3
-
Security Level: Public
-
None
Description
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
(gdb)
#2 0xf750ed42 in *__GI_abort () at abort.c:92
92 abort.c: No such file or directory.
in abort.c
(gdb)
#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
(gdb)
#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);
(gdb)
#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
(gdb)
Attachments
For Gerrit Dashboard: MB-4513 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
11570,1 | MB-4513: Don't eject partial items on insert | branch-20 | ep-engine | Status: MERGED | +2 | +1 |