Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-1051

finalizers that attempt to seize locks, may time out

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8.0
    • Fix Version/s: 2.8.4
    • Component/s: Java, Java-Android
    • Security Level: Public
    • Labels:
      None
    • Story Points:
      5

      Description

      Several companion `free()` methods are not thread safe and must be called holding the db lock. If another thread (or sequence of threads) hold the lock for a significant amount of time, the finalizer will time out and abort.

        Attachments

          Issue Links

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

            Activity

            Hide
            blake.meike Blake Meike added a comment -

            There is only one finalizer that is still seizing a lock: AbstractReplicator. I think it is pretty benign. I have commented it, clearly.

            Show
            blake.meike Blake Meike added a comment - There is only one finalizer that is still seizing a lock: AbstractReplicator. I think it is pretty benign. I have commented it, clearly.
            Hide
            blake.meike Blake Meike added a comment -

            Re-open these issues until they are fixed in the hydrogen branch, for 2.8.x

            Show
            blake.meike Blake Meike added a comment - Re-open these issues until they are fixed in the hydrogen branch, for 2.8.x
            Hide
            blake.meike Blake Meike added a comment -

            Fixed in couchbase-lite-java-common @ 5d57f224972976a081a48b

            Show
            blake.meike Blake Meike added a comment - Fixed in couchbase-lite-java-common @ 5d57f224972976a081a48b

              People

              Assignee:
              blake.meike Blake Meike
              Reporter:
              blake.meike Blake Meike
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes

                    PagerDuty