Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-900

segfault in storeCallback cbc-pillowfight.cc:1000

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.8.5
    • 2.8.5
    • None
    • None
    • 2.8.4-27-g1f8bbfeb
      mac os el capitan
    • 1

    Description

      Using prefix argument leads to a segfault.

      Thread 5 Crashed:
      0   cbc-pillowfight                     0x000000010ed3fd16 KeyGenerator::checkin(unsigned int) + 54 (__bit_reference:60)
      1   cbc-pillowfight                     0x000000010ed3206e storeCallback(lcb_st*, int, lcb_RESPBASE const*) + 462 (cbc-pillowfight.cc:1000)
      2   libcouchbase.2.dylib                0x000000010edea6a3 lcb::durability::Item::finish() + 179 (durability.cc:235)
      3   libcouchbase.2.dylib                0x000000010ededc6f handle_observe_callback(mc_pipeline_st*, mc_packet_st*, lcb_error_t, void const*) + 367 (observe.cc:98)
      4   libcouchbase.2.dylib                0x000000010edd902f mcreq_dispatch_response + 6591 (handler.cc:676)
      5   libcouchbase.2.dylib                0x000000010edf4b9e lcb::Server::try_read(lcbio_CTX*, rdb_IOROPE*) + 414 (packetutils.h:228)
      6   libcouchbase.2.dylib                0x000000010edf66ae on_read(lcbio_CTX*, unsigned int) + 62 (mcserver.cc:440)
      7   libcouchbase.2.dylib                0x000000010edb5d1d E_handler + 365 (ctx.c:275)
      8   libevent_core-2.1.6.dylib           0x000000010f3449cb event_process_active_single_queue + 1003
      9   libevent_core-2.1.6.dylib           0x000000010f341d2d event_base_loop + 1170
      10  libcouchbase.2.dylib                0x000000010ee01f4d lcb_wait + 221 (wait.
      c:104)
      11  cbc-pillowfight                     0x000000010ed401c4 ThreadContext::singleLoop() + 84 (cbc-pillowfight.cc:709)
      12  cbc-pillowfight                     0x000000010ed400c8 ThreadContext::run() + 40 (cbc-pillowfight.cc:818)
      13  cbc-pillowfight                     0x000000010ed40099 thread_worker(void*) + 9 (cbc-pillowfight.cc:1135)
      14  libsystem_pthread.dylib             0x00007fff92bfc99d _pthread_body + 131
      15  libsystem_pthread.dylib             0x00007fff92bfc91a _pthread_start + 168
      16  libsystem_pthread.dylib             0x00007fff92bfa351 thread_start + 13
      

      Attachments

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

        Activity

          People

            avsej Sergey Avseyev
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty