Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
None
-
.master
-
Security Level: Public
-
None
-
CentOS7
Master branch commit d37122cdd
goforestdb
-
Untriaged
-
Unknown
-
ForestDB: Oct 26 - Nov 13
Description
I'm seeing the following assertion failure:
Assertion in 0x36 != 0x37 in /home/centos/forestdb/src/hbtrie.cc:1109
sync_gateway: /home/centos/forestdb/src/hbtrie.cc:1109: hbtrie_result _hbtrie_find(hbtrie*, void*, int, void*, list*, uint8_t): Assertion `btree->ksize == trie->chunksize && btree->vsize == trie->valuelen' failed.
SIGABRT: abort
PC=0x7fdc6a8235d7
signal arrived during cgo execution
goroutine 194 [syscall, locked to thread]:
runtime.cgocall_errno(0x402e70, 0xc208ae9150, 0xc200000000)
/usr/local/go/src/runtime/cgocall.go:130 +0xf5 fp=0xc208ae9130 sp=0xc208ae9108
github.com/couchbaselabs/goforestdb._Cfunc_fdb_get(0x1f9e2e0, 0x7fdc340008c0, 0x0)
/home/centos/sync_gateway/src/github.com/couchbaselabs/goforestdb/:123 +0x43 fp=0xc208ae9150 sp=0xc208ae9130
github.com/couchbaselabs/goforestdb.(*KVStore).Get(0xc2080da0d0, 0xc2089b4d48, 0x0, 0x0)
/home/centos/sync_gateway/src/github.com/couchbaselabs/goforestdb/forestdb.go:49 +0x17d fp=0xc208ae91c8 sp=0xc208ae9150
github.com/couchbaselabs/forestdb-bucket.(*forestdbBucket).WriteUpdate(0xc208080500, 0xc208938540, 0x2e, 0x0, 0xc2081d6e00, 0x0, 0x0)
/home/centos/sync_gateway/src/github.com/couchbaselabs/forestdb-bucket/forestdb_bucket.go:363 +0x132 fp=0xc208ae9330 sp=0xc208ae91c8
github.com/couchbase/sync_gateway/db.(*Database).updateDoc(0xc20893e280, 0xc208938540, 0x2e, 0x0, 0xc2088f8d00, 0x0, 0x0, 0x0, 0x0)
/home/centos/sync_gateway/src/github.com/couchbase/sync_gateway/db/crud.go:615 +0x5b1 fp=0xc208ae95e8 sp=0xc208ae9330
github.com/couchbase/sync_gateway/db.(*Database).PutExistingRev(0xc20893e280, 0xc208938540, 0x2e, 0xc208938510, 0xc20890aa20, 0x1, 0x1, 0x0, 0x0)
Steps to reproduce:
- Install sync gateway feature/forestdb_bucket commit e04d5ec590
- Run gateload (https://github.com/couchbaselabs/gateload) with following config: https://gist.github.com/tleyden/1d4140a45618e1d87625