Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-1483

SDK 3.1.2 segfaults with code 11 while trying to access the results using rows() call

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • None
    • None
    • None
    • Python 3.10.10
      couchbase==3.1.2

    Description

      Version: Python 3.10.10

      Steps to repro:

      • Clone https://github.com/couchbase/testrunner (master)
      • Installed the dependencies using requirements.txt
      • Cherry-pick https://review.couchbase.org/c/testrunner/+/190829/ code  (This PR is merged now)
      • Run the code using the command,

        $ py3.10/bin/python -Xfaulthandler -u scripts/testDispatcher_sdk3.py -r 12_hour -v 7.2.0-5322 -o debian -c cli -p regression -a None -s settings-alert --subcomponent_regex None --test
        ...
        ...
        Fatal Python error: Segmentation faultCurrent thread 0x000000010b2e4e00 (most recent call first):
          File "/Users/ashwin/works/venv/py3.10/lib/python3.10/site-packages/couchbase_core/n1ql.py", line 554 in fetch
          File "/Users/ashwin/works/venv/py3.10/lib/python3.10/site-packages/couchbase_core/n1ql.py", line 549 in __iter__
          File "/Users/ashwin/works/venv/py3.10/lib/python3.10/site-packages/couchbase_core/__init__.py", line 279 in __iter__
          File "/Users/ashwin/works/venv/py3.10/lib/python3.10/site-packages/couchbase_core/__init__.py", line 267 in rows
          File "/Users/ashwin/gitRepos/couchbase/testrunner/scripts/testDispatcher_sdk3.py", line 379 in main
          File "/Users/ashwin/gitRepos/couchbase/testrunner/scripts/testDispatcher_sdk3.py", line 989 in <module>Extension modules: _cffi_backend, couchbase_core._libcouchbase, google._upb._message, grpc._cython.cygrpc (total: 4)
        Segmentation fault: 11

      Pip freeze details:

      $ /Users/ashwin/works/venv/py3.10/bin/python -m pip freeze
      attrs==23.1.0
      bcrypt==3.1.7
      beautifulsoup4==4.9.3
      boto3==1.16.21
      botocore==1.19.63
      cachetools==5.3.0
      certifi==2023.5.7
      cffi==1.15.1
      chardet==3.0.4
      couchbase==3.1.2
      cryptography==2.9.2
      decorator==4.4.2
      deepdiff==5.0.2
      dnspython==2.3.0
      docutils==0.16
      Geohash==1.0
      google-api-core==2.11.0
      google-auth==2.18.0
      google-cloud-compute==0.6.0
      google-cloud-core==2.3.2
      google-cloud-dns==0.34.1
      google-cloud-storage==1.42.2
      google-crc32c==1.5.0
      google-resumable-media==2.5.0
      googleapis-common-protos==1.59.0
      grpcio==1.54.0
      grpcio-status==1.54.0
      httplib2==0.18.1
      idna==2.10
      jmespath==0.10.0
      mypy-extensions==1.0.0
      ordered-set==4.1.0
      packaging==23.1
      paramiko==2.7.1
      proto-plus==1.22.2
      protobuf==4.23.0
      pyasn1==0.5.0
      pyasn1-modules==0.3.0
      pycparser==2.20
      PyNaCl==1.5.0
      pyrsistent==0.19.3
      python-dateutil==2.8.2
      requests==2.25.0
      rsa==4.9
      s3transfer==0.3.7
      six==1.15.0
      soupsieve==2.4.1
      typing-extensions==3.7.4.3
      urllib3==1.26.2
      wrapt==1.15.0

       

       

      Attachments

        Issue Links

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

          Activity

            People

              jared.casey Jared Casey
              ashwin.govindarajulu Ashwin Govindarajulu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty