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

connection stat group may crash memcached

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.1.0
    • 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.1.5, 3.1.6, 4.0.0, 4.1.0, 4.1.1, 4.1.2, 4.5.0, 4.5.1, 4.6.0, 4.6.1, 4.6.4, 4.6.2, 4.6.3, 5.0.0
    • memcached
    • None
    • Untriaged
    • Unknown

    Description

      It tries to access STL containers which may be used by other threads without locking them. These STL containers could change causing the stats code to dereference illegal memory.

       

      (the connections stats group was initially added as a "last resort" to dump information from an unstable system and not intended to be run in production. Given that it looks like people are using it we should fix that). I think we should continue to do dirty reads to avoid potential deadlocks.

      Attachments

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

        Activity

          People

            trond Trond Norbye
            trond Trond Norbye
            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