Uploaded image for project: 'Hot Rod Native client'
  1. Hot Rod Native client
  2. HRCPP-114

ConnectionPool::invalidateObject does not remove object from queues

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.0.CR2
    • 6.0.0.Final
    • None
    • None

    Description

      When RetryOnFailureOperation::execute catches TransportException, it invalidates the transport (destructing it). However, such transport is not removed from the busy/idle queue. Therefore, after the ConnectionPool::clear() is called, the transport is destroyed second time. As we access already deallocated object, the process may crash.

      Attachments

        Activity

          People

            ttarrant@redhat.com Tristan Tarrant
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: