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

ConnectionPool::invalidateObject does not remove object from queues

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

      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.

              ttarrant@redhat.com Tristan Tarrant
              rvansa1@redhat.com Radim Vansa (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: