Cachelib Chained items test cases core dump

Description

[root@server5 cachelib]# ./bin/cachebench --json_test_config ./test_configs/throughput/simple_set_throughput_with_chained_items.json; ===JSON Config=== { "cache_config" : { "cacheSizeMB" : 5120, "poolRebalanceIntervalSec" : 0 }, "test_config" : { "preallocateCache" : true, "numOps" : 10000000, "numThreads" : 48, "numKeys" : 100000, "keySizeRange" : [1, 8, 64], "keySizeRangeProbability" : [0.3, 0.7], "valSizeRange" : [1, 102400], "valSizeRangeProbability" : [1.0], "chainedItemLengthRange" : [5], "chainedItemLengthRangeProbability" : [1.0], "chainedItemValSizeRange" : [1, 102400], "chainedItemValSizeRangeProbability" : [1.0], "getRatio" : 0.0, "setRatio" : 0.0, "delRatio" : 0.0, "addChainedRatio" : 1.0 } } Welcome to OSS version of cachebench Created 91,649 keys in 0.00 mins Generating 480.00M sampled accesses Generated access patterns in 0.08 mins Total 480.00M ops to be run 13:51:06 0.00M ops completed. Hit Ratio 0.00% F0214 13:51:06.999275 4061563 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999273 4061566 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999273 4061564 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999287 4061565 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999274 4061568 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999274 4061562 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999273 4061567 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999477 4061569 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999778 4061572 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd *** Aborted at 1676353866 (Unix time, try 'date -d @1676353866') *** F0214 13:51:06.999953 4061570 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:06.999986 4061573 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd *** Signal 6 (SIGABRT) (0x3df904) received by PID 4061444 (pthread TID 0xffff988f1ed0) (linux TID 4061566) (maybe from PID 4061444, UID 0) (code: -6), stack trace: *** F0214 13:51:07.000252 4061571 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.000274 4061574 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.000479 4061575 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.000618 4061577 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.000695 4061578 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.000856 4061576 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.001044 4061579 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.001193 4061580 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.001358 4061582 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.001568 4061581 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.001680 4061583 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.001791 4061584 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.001838 4061585 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002145 4061586 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002232 4061587 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002350 4061588 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002521 4061589 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002777 4061592 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002801 4061593 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002929 4061590 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.002977 4061591 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003279 4061594 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003388 4061595 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003404 4061596 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003489 4061597 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003578 4061598 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003600 4061599 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003776 4061600 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003795 4061601 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003931 4061602 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003941 4061605 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003941 4061603 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.003944 4061604 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.004082 4061606 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.004167 4061607 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.004261 4061608 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd F0214 13:51:07.004261 4061609 CacheStressor.h:389] Check failed: req.sizeBegin + 1 != req.sizeEnd @ 0000000000bb00c7 folly::symbolizer::(anonymous namespace)::innerSignalHandler(int, siginfo_t*, void*) /root/kevin/cachelib/CacheLib/cachelib/external/folly/folly/experimental/symbolizer/SignalHandler.cpp:449 @ 0000000000bb019b folly::symbolizer::(anonymous namespace)::signalHandler(int, siginfo_t*, void*) /root/kevin/cachelib/CacheLib/cachelib/external/folly/folly/experimental/symbolizer/SignalHandler.cpp:470 @ 00000000013d88d0 (unknown) @ 0000000000032beb gsignal @ 000000000002096b abort @ 0000000000ce062b folly::LogCategory::admitMessage(folly::LogMessage const&) const /root/kevin/cachelib/CacheLib/cachelib/external/folly/folly/logging/LogCategory.cpp:71 @ 0000000000cfb33f folly::LogStreamProcessor::logNow() /root/kevin/cachelib/CacheLib/cachelib/external/folly/folly/logging/LogStreamProcessor.cpp:190 @ 0000000000cfb453 folly::LogStreamVoidify<true>::operator&(std::ostream&) /root/kevin/cachelib/CacheLib/cachelib/external/folly/folly/logging/LogStreamProcessor.cpp:222 @ 000000000057fc03 facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::stressByDiscreteDistribution(facebook::cachelib::cachebench::ThroughputStats&) /root/kevin/cachelib/CacheLib/cachelib/../cachelib/cachebench/runner/CacheStressor.h:389 -> /root/kevin/cachelib/CacheLib/cachelib/cachebench/runner/Stressor.cpp @ 000000000057af27 facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}::operator()() const /root/kevin/cachelib/CacheLib/cachelib/../cachelib/cachebench/runner/CacheStressor.h:145 -> /root/kevin/cachelib/CacheLib/cachelib/cachebench/runner/Stressor.cpp @ 00000000005877e7 void std::__invoke_impl<void, facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}>(std::__invoke_other, facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}&&) /usr/include/c++/8/bits/invoke.h:60 -> /root/kevin/cachelib/CacheLib/cachelib/cachebench/runner/Stressor.cpp @ 0000000000580333 std::__invoke_result<facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}>::type std::__invoke<facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}>(facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}&&, (std::__invoke_result&&)...) /usr/include/c++/8/bits/invoke.h:95 -> /root/kevin/cachelib/CacheLib/cachelib/cachebench/runner/Stressor.cpp @ 00000000005b39ff decltype (__invoke((_S_declval<0ul>)())) std::thread::_Invoker<std::tuple<facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}> >::_M_invoke<0ul>(std::_Index_tuple<0ul>) /usr/include/c++/8/thread:244 -> /root/kevin/cachelib/CacheLib/cachelib/cachebench/runner/Stressor.cpp @ 00000000005b38c3 std::thread::_Invoker<std::tuple<facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}> >::operator()() /usr/include/c++/8/thread:253 -> /root/kevin/cachelib/CacheLib/cachelib/cachebench/runner/Stressor.cpp @ 00000000005b37cf std::thread::_State_impl<std::thread::_Invoker<std::tuple<facebook::cachelib::cachebench::CacheStressor<facebook::cachelib::CacheAllocator<facebook::cachelib::LruCacheTrait> >::start()::{lambda()#1}::operator()() const::{lambda()#1}> > >::_M_run() /usr/include/c++/8/thread:196 -> /root/kevin/cachelib/CacheLib/cachelib/cachebench/runner/Stressor.cpp @ 00000000000bca3b (unknown) @ 00000000000077ff start_thread @ 00000000000d17db thread_start Aborted (core dumped)

Activity

Kevin Zhao 
July 29, 2024 at 8:57 AM

Still in scope

Kevin Zhao 
October 24, 2023 at 1:16 PM

Re-visit back in the future

Kevin Zhao 
February 15, 2023 at 7:25 AM

Workaround,

chainedItemLengthRange change to an array will solve this issue.

Still need to figure out why it is only core dump on Arm64.

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged3w remaining

Priority

Checklist

Sentry

Created February 14, 2023 at 6:03 AM
Updated July 29, 2024 at 8:57 AM

Flag notifications