Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • 1.0.0
    • 1.0.0-beta
    • fit
    • None

    Description

      Saw this in [this fit run|https://sdk.jenkins.couchbase.com/job/c-cpp/job/transactions/job/TransactionsFITPerformer_SinglePerformer/1138/], in the [7.2 log file|https://sdk.jenkins.couchbase.com/job/c-cpp/job/transactions/job/TransactionsFITPerformer_SinglePerformer/1138/artifact/CXX_2.0.0_vs_7.2-stable.log].  The salient point: 

      *** Error in `./fit_cxx': malloc(): memory corruption: 0x00007f86bc000087 ***
      ======= Backtrace: =========
      /lib64/libc.so.6(+0x82b36)[0x7f86fec21b36]
      /lib64/libc.so.6(__libc_malloc+0x4c)[0x7f86fec2478c]
      /lib64/libstdc++.so.6(_Znwm+0x1d)[0x7f86ff4e418d]
      ./fit_cxx(_ZNSt7promiseISt8optionalIN9couchbase4core12transactions25active_transaction_recordEEEC1Ev+0x2d)[0x1a9b8a3]
      ./fit_cxx(_ZN9couchbase4core12transactions25active_transaction_record7get_atrESt10shared_ptrINS0_7clusterEERKNS0_11document_idE+0x21)[0x1a97a10]
      ./fit_cxx(_ZN9couchbase4core12transactions17atr_cleanup_entry5cleanEPNS1_28transactions_cleanup_attemptE+0xdb)[0x1a7b3ad]
      ./fit_cxx(_ZN9couchbase4core12transactions20transactions_cleanup19force_cleanup_entryERNS1_17atr_cleanup_entryERNS1_28transactions_cleanup_attemptE+0x28)[0x1bbfe66]
      ./fit_cxx(_ZN10TxnService18transactionCleanupEPN9grpc_impl13ServerContextEPKN8protocol12transactions25TransactionCleanupRequestEPNS4_25TransactionCleanupAttemptE+0x3d7)[0x1520151]
      ./fit_cxx[0x17b68c5]
      *** Segmentation fault 

      .
      Now, since we make a debug build, IDK why there aren't line numbers for our code in this stack trace... But at first glance, id guess something is going out of scope in the get_atr lambda.
       

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            david.kelly David Kelly (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes