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

godbc crashes for IPv6 connection strings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • 5.5.0
    • query
    • None
    • Untriaged
    • No

    Description

      5. If cbq tries to connect to [::1]:9000 then godbc crashes.

       

      goroutine 1 [running]:
      github.com/couchbase/godbc/n1ql.getQueryApi(0xc420016760, 0x6, 0xe, 0xc420124080, 0x1, 0x4, 0xc420016760)
      /Users/isha/workspace/query/src/github.com/couchbase/godbc/n1ql/n1ql.go:151 +0xcf
      github.com/couchbase/godbc/n1ql.OpenN1QLConnection(0xc42015a260, 0x12, 0x0, 0x0, 0x0)
      /Users/isha/workspace/query/src/github.com/couchbase/godbc/n1ql/n1ql.go:236 +0xc0e
      github.com/couchbase/godbc/n1ql.open(0xc42015a260, 0x12, 0xc42015c240, 0x12, 0xc420135da8)
      /Users/isha/workspace/query/src/github.com/couchbase/godbc/n1ql/n1ql_db_source.go:23 +0x39
      github.com/couchbase/godbc/n1ql.OpenExtended(0xc42015a260, 0x12, 0xc42015a260, 0x12, 0xc42015a260, 0x12)
      /Users/isha/workspace/query/src/github.com/couchbase/godbc/n1ql/n1ql_db_source.go:19 +0x35
      github.com/couchbase/query/shell/cbq/command.Ping(0xc42015a260, 0x12, 0x44bf8d1, 0x8)
      /Users/isha/workspace/query/src/github.com/couchbase/query/shell/cbq/command/common.go:574 +0x35
      main.main()

      Attachments

        Issue Links

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

          Activity

            People

              ajay.bhullar Ajay Bhullar
              isha Isha Kandaswamy (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

                  PagerDuty