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

FLSliceResult leaks memory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.4
    • Component/s: Java-Android, Java-Desktop
    • Security Level: Public
    • Labels:
      None
    • Sprint:
      Blake 34, Blake 35
    • Story Points:
      3

      Description

      On many paths when an FLSliceResult object is created, it is the result of a JNI malloc which is then carried by Java but never freed later. This leak needs to be plugged while ensuring that any that do not follow the malloc path continue to function correctly.

        Attachments

        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 -

          Fixed in couchbase-lite-java-common:67b43479a108f12890a989

          Show
          blake.meike Blake Meike added a comment - Fixed in couchbase-lite-java-common:67b43479a108f12890a989
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-android-3.0.0-35 contains couchbase-lite-java-common commit 67b4347 with commit message:
          CBL-1440: Fix FLSlice memory leak (#14)

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.0.0-35 contains couchbase-lite-java-common commit 67b4347 with commit message: CBL-1440 : Fix FLSlice memory leak (#14)
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-android-3.0.0-35 contains couchbase-lite-java-ee-root commit 72a3679 with commit message:
          CBL-1440: Fix FLSlice memory leak

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.0.0-35 contains couchbase-lite-java-ee-root commit 72a3679 with commit message: CBL-1440 : Fix FLSlice memory leak
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-java-3.0.0-34 contains couchbase-lite-java-common commit 67b4347 with commit message:
          CBL-1440: Fix FLSlice memory leak (#14)

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.0-34 contains couchbase-lite-java-common commit 67b4347 with commit message: CBL-1440 : Fix FLSlice memory leak (#14)
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-java-3.0.0-34 contains couchbase-lite-java-ee-root commit 72a3679 with commit message:
          CBL-1440: Fix FLSlice memory leak

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.0-34 contains couchbase-lite-java-ee-root commit 72a3679 with commit message: CBL-1440 : Fix FLSlice memory leak
          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 @ 9b562517567774bff1f72

          Show
          blake.meike Blake Meike added a comment - FIxed in couchbase-lite-java-common @ 9b562517567774bff1f72

            People

            Assignee:
            blake.meike Blake Meike
            Reporter:
            jimb Jim Borden
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty