Details
-
Bug
-
Resolution: Duplicate
-
Major
-
master
-
None
-
Untriaged
-
Unknown
Description
Error on 'std::stoi' in RocksDBKVStore::getStatFromProperties:
(gdb) bt
|
#0 0x00007f32c332a1d7 in raise () from /usr/lib64/libc-2.17.so
|
#1 0x00007f32c332b8c8 in abort () from /usr/lib64/libc-2.17.so
|
#2 0x00007f32c3c2e9d5 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib64/libstdc++.so.6.0.19
|
#3 0x000000000043b6ca in backtrace_terminate_handler () at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/utilities/terminate_handler.cc:103
|
#4 0x00007f32c3c2c946 in std::__exception_ptr::operator==(std::__exception_ptr::exception_ptr const&, std::__exception_ptr::exception_ptr const&) () from /usr/lib64/libstdc++.so.6.0.19
|
#5 0x0000000000000001 in ?? ()
|
#6 0x00007f32c3c2c973 in std::current_exception() () from /usr/lib64/libstdc++.so.6.0.19
|
#7 0x00007f32c3c2cb93 in __cxa_tm_cleanup () from /usr/lib64/libstdc++.so.6.0.19
|
#8 0x00007f307c82b0a0 in ?? ()
|
#9 0x00007f305b3c9ab8 in ?? ()
|
#10 0xd05d1f293f226500 in ?? ()
|
#11 0x00007f30499ce998 in ?? ()
|
#12 0x00007f307c82b0a0 in ?? ()
|
#13 0x00007f305e35ae00 in ?? ()
|
#14 0x00007f32bef6247a in __stoa<long, int, char, int> (__convf=<optimized out>, __name=0x7f32bef89cca "stoi", __idx=0x0, __str=0x7f30499ce998 <Address 0x7f30499ce998 out of bounds>) at /usr/include/c++/4.8.2/ext/string_conversions.h:70
|
#15 stoi (__base=10, __idx=0x0, __str=<error reading variable: Cannot access memory at address 0x7f30499ce980>) at /usr/include/c++/4.8.2/bits/basic_string.h:2825
|
#16 RocksDBKVStore::getStatFromProperties (this=this@entry=0x7f307cdfdc00, cf=cf@entry=RocksDBKVStore::Default, property=<error reading variable: Cannot access memory at address 0xffffffffffffffe8>, value=@0x7f305fbec640: 139925541901390)
|
at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/rocksdb-kvstore/rocksdb-kvstore.cc:1449
|
#17 0x00007f32bef66636 in RocksDBKVStore::getStat (this=0x7f307cdfdc00, name_=<optimized out>, value=@0x7f305fbec640: 139925541901390) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/rocksdb-kvstore/rocksdb-kvstore.cc:685
|
#18 0x00007f32beee8bea in KVBucket::getKVStoreStat (this=<optimized out>, name=0x7f32bef8a95b "default_kTotalSstFilesSize", value=@0x7f305fbec6b0: 279809332104434, option=<optimized out>)
|
at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/kv_bucket.cc:2192
|
#19 0x00007f32beea3f27 in EventuallyPersistentEngine::doEngineStats (this=0x7f32bc3fb000, cookie=0x7f305fbfc950, add_stat=0x7f32beef2860 <add_stat(char const*, uint16_t, char const*, uint32_t, gsl::not_null<void const*>)>)
|
at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/ep_engine.cc:2793
|
#20 0x00007f32beeab230 in EventuallyPersistentEngine::getStats (this=0x7f32bc3fb000, this@entry=<error reading variable: Cannot access memory at address 0x7f305fbfc8d8>, cookie=0x7f305fbfc950, stat_key=0x0, nkey=0,
|
add_stat=0x7f32beef2860 <add_stat(char const*, uint16_t, char const*, uint32_t, gsl::not_null<void const*>)>) at /home/couchbase/jenkins/workspace/couchbase-server-unix/kv_engine/engines/ep/src/ep_engine.cc:3706
|
Hera job: http://perf.jenkins.couchbase.com/job/hera/1447/parameters/
Attachments
Issue Links
- relates to
-
MB-27224 [RocksDB] Call to 'std::stoi()' in 'RocksDBKVStore::getStatFromProperties()' throws 'std::out_of_range'
- Resolved