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

Call to `c4socket_closed` causes native crash.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 3.0
    • 3.0.2
    • LiteCore
    • Security Level: Public
    • None
    • 5

    Description

      A call to c4socket_closed sometimes fails catastrophically. I am seeing this fairly regularly, on Windows and I believe I've seen the same thing on Android.

      It seems to happen when the call is made from Java's finalizer thread.

      I would research this further before passing it on, but the windows crash seems related to a core update. I have an mdmp file for the Windows failure (which doesn't fit here: I can provide it on request)

      Feel free to re-assign back to JAK, if we are making a bad call.

      Attachments

        Issue Links

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

          Activity

            Build couchbase-lite-core-3.0.2-16 contains couchbase-lite-core commit 82774f9 with commit message:
            CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-core-3.0.2-16 contains couchbase-lite-core commit 82774f9 with commit message: CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            Build couchbase-lite-net-3.0.2-2 contains couchbase-lite-core commit 82774f9 with commit message:
            CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-net-3.0.2-2 contains couchbase-lite-core commit 82774f9 with commit message: CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            Build couchbase-lite-android-3.0.2-10 contains couchbase-lite-core commit 82774f9 with commit message:
            CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-android-3.0.2-10 contains couchbase-lite-core commit 82774f9 with commit message: CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            Build couchbase-lite-java-3.0.2-9 contains couchbase-lite-core commit 82774f9 with commit message:
            CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-java-3.0.2-9 contains couchbase-lite-core commit 82774f9 with commit message: CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            Build couchbase-lite-ios-3.0.2-18 contains couchbase-lite-core commit 82774f9 with commit message:
            CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-ios-3.0.2-18 contains couchbase-lite-core commit 82774f9 with commit message: CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            Build couchbase-lite-c-3.0.2-29 contains couchbase-lite-core commit 82774f9 with commit message:
            CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            build-team Couchbase Build Team added a comment - Build couchbase-lite-c-3.0.2-29 contains couchbase-lite-core commit 82774f9 with commit message: CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

            People

              jianmin.zhao Jianmin Zhao
              jianmin.zhao Jianmin Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty