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

ThrowExceptionUnderflowPolicy exception during EPVBucket::setNumTotalItems

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Critical
    • 7.0.0
    • Cheshire-Cat
    • couchbase-bucket
    • 7.0.0-4960
    • Untriaged
    • 1
    • Yes
    • KV-Engine CC Final Sprint

    Description

      Node 172.23.106.155

      cbcollect_info_ns_1@172.23.106.155_20210419-082252/e4c48a0e-a8f1-4e2b-134d558b-d7961ee3.dmp
      2021-04-19T01:21:59.640437-07:00 CRITICAL *** Fatal error encountered during exception handling ***
      2021-04-19T01:21:59.640513-07:00 CRITICAL Caught unhandled std::exception-derived exception. what(): ThrowExceptionUnderflowPolicy current:0 arg:-234
      2021-04-19T01:21:59.640523-07:00 CRITICAL Exception thrown from:
      2021-04-19T01:21:59.640560-07:00 CRITICAL     #0  /opt/couchbase/bin/memcached() [0x400000+0x295253]
      2021-04-19T01:21:59.640574-07:00 CRITICAL     #1  /opt/couchbase/bin/memcached() [0x400000+0xac46a]
      2021-04-19T01:21:59.640591-07:00 CRITICAL     #2  /opt/couchbase/bin/memcached() [0x400000+0x3ce515]
      2021-04-19T01:21:59.640607-07:00 CRITICAL     #3  /opt/couchbase/bin/memcached() [0x400000+0x2e094a]
      2021-04-19T01:21:59.640621-07:00 CRITICAL     #4  /opt/couchbase/bin/memcached() [0x400000+0x2ed2f1]
      2021-04-19T01:21:59.640636-07:00 CRITICAL     #5  /opt/couchbase/bin/memcached() [0x400000+0x270957]
      2021-04-19T01:21:59.640648-07:00 CRITICAL     #6  /opt/couchbase/bin/memcached() [0x400000+0x26baa0]
      2021-04-19T01:21:59.640666-07:00 CRITICAL     #7  /opt/couchbase/bin/memcached() [0x400000+0x576050]
      2021-04-19T01:21:59.640709-07:00 CRITICAL     #8  /opt/couchbase/bin/memcached() [0x400000+0x55dd2a]
      2021-04-19T01:21:59.640731-07:00 CRITICAL     #9  /opt/couchbase/bin/memcached() [0x400000+0x579009]
      2021-04-19T01:21:59.640745-07:00 CRITICAL     #10 /opt/couchbase/bin/memcached() [0x400000+0x26a02d]
      2021-04-19T01:21:59.640825-07:00 CRITICAL     #11 /opt/couchbase/bin/../lib/libstdc++.so.6() [0x7feebc6c4000+0xcdd40]
      2021-04-19T01:21:59.640840-07:00 CRITICAL     #12 /lib64/libpthread.so.0() [0x7feebbf8e000+0x7e65]
      2021-04-19T01:21:59.640874-07:00 CRITICAL     #13 /lib64/libc.so.6(clone+0x6d) [0x7feebbbc0000+0xfe88d]
      

      Stack Trace from above .dmp

      #0  0x00007feebbbf6337 in ssignal () from /lib64/libc.so.6
      warning: File "/opt/couchbase/lib/libstdc++.so.6.0.28-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/usr/bin/mono-gdb.py".
      #0  0x00007feebbbf6337 in ssignal () from /lib64/libc.so.6
      #1  0x00007feebbbf7a28 in abort () from /lib64/libc.so.6
      #2  0x00007feebc75d63c in __gnu_cxx::__verbose_terminate_handler () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/vterminate.cc:95
      #3  0x00000000009131ef in backtrace_terminate_handler() ()
      #4  0x00007feebc7688f6 in __cxxabiv1::__terminate(void (*)()) () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:48
      #5  0x00007feebc768961 in std::terminate () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_terminate.cc:58
      #6  0x00007feebc768bf4 in __cxxabiv1::__cxa_throw (obj=<optimized out>, tinfo=0xd57758 <typeinfo for boost::exception_detail::error_info_injector<std::underflow_error>>, dest=0x691970 <boost::exception_detail::error_info_injector<std::underflow_error>::~error_info_injector()>) at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/libsupc++/eh_throw.cc:95
      #7  0x0000000000695367 in void cb::throwWithTrace<std::underflow_error>(std::underflow_error const&) ()
      #8  0x00000000004ac46a in cb::ThrowExceptionUnderflowPolicy<unsigned long>::underflow ()
      #9  0x00000000007ce515 in EPVBucket::setNumTotalItems(KVStore&) ()
      #10 0x00000000006e094a in Warmup::estimateDatabaseItemCount(unsigned short) ()
      #11 0x00000000006ed2f1 in WarmupEstimateDatabaseItemCount::run() ()
      #12 0x0000000000670957 in GlobalTask::execute() ()
      #13 0x000000000066baa0 in FollyExecutorPool::TaskProxy::scheduleViaCPUPool()::{lambda()#1}::operator()() const ()
      #14 0x0000000000976050 in folly::ThreadPoolExecutor::runTask(std::shared_ptr<folly::ThreadPoolExecutor::Thread> const&, folly::ThreadPoolExecutor::Task&&) ()
      #15 0x000000000095dd2a in folly::CPUThreadPoolExecutor::threadRun(std::shared_ptr<folly::ThreadPoolExecutor::Thread>) ()
      #16 0x0000000000979009 in void folly::detail::function::FunctionTraits<void ()>::callBig<std::_Bind<void (folly::ThreadPoolExecutor::*(folly::ThreadPoolExecutor*, std::shared_ptr<folly::ThreadPoolExecutor::Thread>))(std::shared_ptr<folly::ThreadPoolExecutor::Thread>)> >(folly::detail::function::Data&) ()
      #17 0x000000000066a02d in void folly::detail::function::FunctionTraits<void ()>::callBig<CBRegisteredThreadFactory::newThread(folly::Function<void ()>&&)::{lambda()#1}>(folly::detail::function::Data&) ()
      #18 0x00007feebc791d40 in execute_native_thread_routine () at /tmp/deploy/objdir/../gcc-10.2.0/libstdc++-v3/src/c++11/thread.cc:80
      #19 0x00007feebbf95e65 in start_thread () from /lib64/libpthread.so.0
      #20 0x00007feebbcbe88d in clone () from /lib64/libc.so.6
      #21 0x0000000000000000 in ?? ()
      

      QE Test

      /data/workspace/centos-p0-couchstore-vset00-00-crash_recovery_graceful_with_durability_7.0_P0/logs/testrunner-21-Apr-19_01-04-47/test_2
       
      guides/gradlew --refresh-dependencies testrunner -P jython=/opt/jython/bin/jython -P 'args=-i /tmp/testexec.101571.ini bucket_storage=couchstore,rerun=false,GROUP=P0;graceful_durability,randomize_value=true,doc_size=256,bucket_eviction_policy=fullEviction,nodes_init=4,graceful=True,dcp_services=n1ql:index,enable_dp=True,get-cbcollect-info=True,infra_log_level=critical,log_level=error,upgrade_version=7.0.0-4960 -t magma.magma_crash_recovery.MagmaCrashTests.test_crash_during_recovery,num_items=5000000,doc_size=1024,graceful=True,sdk_timeout=60,doc_ops=update:delete:expiry,replicas=1,durability=MAJORITY,GROUP=P0;graceful_durability'
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ritesh.agarwal Ritesh Agarwal
            ritesh.agarwal Ritesh Agarwal
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty