Details

    Description

      I've encountered an intermittent segfault while running the couchbase-python-client unit tests. Initially I thought it was related to private changes I made to the client code, but it also appears to happen running from the couchbase-python-client master. It's hard to tell if it's a specific piece of functionality that is crashing, but it appears to happen pretty often on the 'bad_host' test. This is the place it segfaults:

      * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10)
      frame #0: 0x0000000105867799 libcouchbase.2.dylib`lcb::clconfig::Confmon::do_next_provider(this=0x0000000102500690) at confmon.cc:248
         245 for (ProviderList::const_iterator ii = active_providers.begin();
         246 ii != active_providers.end(); ++ii) {
         247 ConfigInfo *info;
      -> 248 Provider* cached_provider = *ii;
         249 info = cached_provider->get_cached();
         250 if (!info) {
         251 continue;
      Target 0: (python2.7) stopped.
      

      Have only just spotted this, so not sure how easy it is to reproduce outside this test.

      Attachments

        1. backtrace_221017.txt
          7 kB
        2. frame_variable_221017
          0.3 kB
        3. image-2019-05-29-16-54-05-375.png
          image-2019-05-29-16-54-05-375.png
          224 kB
        4. lcb_282_crash_22102017.txt
          31 kB
        5. lcb_logs_backtrace_variables.txt
          32 kB
        6. port1_mainline_pcaps_and_logs.zip
          9 kB
        7. screenshot-1.png
          screenshot-1.png
          224 kB
        8. tests.ini
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            Ellis.Breen Ellis Breen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                PagerDuty