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.

Attachments

3

Activity

Show:

CB robot June 16, 2022 at 1:35 PM

Build couchbase-lite-ios-3.1.0-167 contains couchbase-lite-core commit 7d8a12b with commit message:
: use WeakHolder for websocket::Delegate. (#1471)

CB robot June 9, 2022 at 5:02 AM

Build couchbase-lite-c-3.1.0-119 contains couchbase-lite-core commit 7d8a12b with commit message:
: use WeakHolder for websocket::Delegate. (#1471)

CB robot June 2, 2022 at 6:34 AM

Build couchbase-lite-net-3.1.0-68 contains couchbase-lite-core commit 7d8a12b with commit message:
: use WeakHolder for websocket::Delegate. (#1471)

CB robot June 1, 2022 at 4:43 AM

Build couchbase-lite-log-3.1.0-153 contains couchbase-lite-core commit 7d8a12b with commit message:
: use WeakHolder for websocket::Delegate. (#1471)

CB robot June 1, 2022 at 4:12 AM

Build couchbase-lite-cblite-3.1.0-142 contains couchbase-lite-core commit 7d8a12b with commit message:
: use WeakHolder for websocket::Delegate. (#1471)

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

Details

Assignee

Reporter

Story Points

Components

Sprint

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created January 27, 2022 at 7:07 PM
Updated August 31, 2024 at 10:55 AM
Resolved June 1, 2022 at 2:28 AM
Instabug