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

Potential crash during ExpiredItemPager::run() if vBucket state changes during visit

    XMLWordPrintable

Details

    Description

      Script to Repo:

      ./testrunner -i /tmp/testexec.74991.ini GROUP=durability_majority,rerun=False,skip_log_scan=False,get-cbcollect-info=False,infra_log_level=critical,log_level=error,bucket_storage=couchstore,upgrade_version=7.0.0-3705 -t bucket_collections.collections_rebalance.CollectionsRebalance.test_data_load_collections_with_rebalance_in,nodes_init=3,nodes_in=2,override_spec_params=durability;replicas,durability=MAJORITY,replicas=2,bucket_spec=multi_bucket.buckets_for_rebalance_tests,data_load_stage=during,skip_validations=False,GROUP=durability_majority
      

      2020-11-11 15:12:16,638 | test | ERROR | MainThread | [basetestcase:check_coredump_exist:683] Node 172.23.122.110 - Core dump seen: 1 172.23.122.110 : Stack Trace of first crash: e8f14034-2ab2-4818-7b271cb6-1a4b437d.dmp

      172.23.122.110 : Found message in /opt/couchbase/var/lib/couchbase/logs/memcached.log.000002.txt

      2020-11-11T15:11:32.027733-08:00 CRITICAL Breakpad caught a crash (Couchbase version 7.0.0-3705). Writing crash dump to /opt/couchbase/var/lib/couchbase/crash/e8f14034-2ab2-4818-7b271cb6-1a4b437d.dmp before terminating.
      2020-11-11T15:11:32.027767-08:00 CRITICAL Stack backtrace of crashed thread:
      2020-11-11T15:11:32.029410-08:00 CRITICAL     /opt/couchbase/bin/memcached() [0x400000+0x19b1ed]
      2020-11-11T15:11:32.029437-08:00 CRITICAL     /opt/couchbase/bin/memcached(_ZN15google_breakpad16ExceptionHandler12GenerateDumpEPNS0_12CrashContextE+0x3ea) [0x400000+0x1b094a]
      2020-11-11T15:11:32.029473-08:00 CRITICAL     /opt/couchbase/bin/memcached(_ZN15google_breakpad16ExceptionHandler13SignalHandlerEiP9siginfo_tPv+0xb8) [0x400000+0x1b0c88]
      2020-11-11T15:11:32.029482-08:00 CRITICAL     /lib64/libpthread.so.0() [0x7f1a6b226000+0xf5f0]
      2020-11-11T15:11:32.029495-08:00 CRITICAL     /opt/couchbase/bin/../lib/libep.so() [0x7f1a6ef47000+0x1c126f]
      2020-11-11T15:11:32.029503-08:00 CRITICAL     /opt/couchbase/bin/../lib/libep.so() [0x7f1a6ef47000+0x1b2bcc]
      2020-11-11T15:11:32.029510-08:00 CRITICAL     /opt/couchbase/bin/../lib/libep.so() [0x7f1a6ef47000+0x1aa097]
      2020-11-11T15:11:32.029517-08:00 CRITICAL     /opt/couchbase/bin/../lib/libep.so() [0x7f1a6ef47000+0x1aa48d]
      2020-11-11T15:11:32.029526-08:00 CRITICAL     /opt/couchbase/bin/../lib/libep.so() [0x7f1a6ef47000+0x196abd]
      2020-11-11T15:11:32.029533-08:00 CRITICAL     /opt/couchbase/bin/../lib/libep.so() [0x7f1a6ef47000+0x1860b3]
      2020-11-11T15:11:32.029541-08:00 CRITICAL     /opt/couchbase/bin/../lib/libep.so() [0x7f1a6ef47000+0x8748f]
      2020-11-11T15:11:32.029548-08:00 CRITICAL     /opt/couchbase/bin/../lib/libplatform_so.so.0.1.0() [0x7f1a6d9de000+0x10917]
      2020-11-11T15:11:32.029554-08:00 CRITICAL     /lib64/libpthread.so.0() [0x7f1a6b226000+0x7e65]
      

      Attachments

        Issue Links

          Activity

            People

              drigby Dave Rigby (Inactive)
              sumedh.basarkod Sumedh Basarkod (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty