Call to `c4socket_closed` causes native crash.

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.

Activity

Show:

CB robot July 7, 2022 at 12:49 AM

Build couchbase-lite-c-3.0.2-29 contains couchbase-lite-core commit 82774f9 with commit message:
https://couchbasecloud.atlassian.net/browse/CBL-3224#icft=CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

CB robot June 28, 2022 at 3:57 AM

Build couchbase-lite-ios-3.0.2-18 contains couchbase-lite-core commit 82774f9 with commit message:
https://couchbasecloud.atlassian.net/browse/CBL-3224#icft=CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

CB robot June 16, 2022 at 4:46 PM

Build couchbase-lite-java-3.0.2-9 contains couchbase-lite-core commit 82774f9 with commit message:
https://couchbasecloud.atlassian.net/browse/CBL-3224#icft=CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

CB robot June 16, 2022 at 4:46 PM

Build couchbase-lite-android-3.0.2-10 contains couchbase-lite-core commit 82774f9 with commit message:
https://couchbasecloud.atlassian.net/browse/CBL-3224#icft=CBL-3224 : use WeakHolder for websocket::Delegate. (#1471) (#1481)

CB robot June 14, 2022 at 3:43 AM

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

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Components

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created June 1, 2022 at 6:28 PM
Updated August 31, 2024 at 10:55 AM
Resolved June 3, 2022 at 10:28 PM
Instabug