Hi
I have come across the following crashes on couchbase lite 3.1.0 in android in my firebase crashlytics logs.
I was wondering if you have advise on what could be causing them or if you are aware of them and there is a fix.
Fatal Exception: java.lang.IllegalStateException: Unbalanced enter/exit
at okio.AsyncTimeout$Companion.scheduleTimeout(AsyncTimeout.kt:225)
at okio.AsyncTimeout$Companion.access$scheduleTimeout(AsyncTimeout.kt:201)
at okio.AsyncTimeout.enter(AsyncTimeout.kt:54)
at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:331)
at okio.RealBufferedSource.indexOf(RealBufferedSource.kt:427)
at okio.RealBufferedSource.readUtf8LineStrict(RealBufferedSource.kt:320)
at okhttp3.internal.http1.HeadersReader.readLine(HeadersReader.kt:29)
at okhttp3.internal.http1.Http1ExchangeCodec.readResponseHeaders(Http1ExchangeCodec.kt:178)
at okhttp3.internal.connection.Exchange.readResponseHeaders(Exchange.kt:106)
at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:79)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:95)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at com.couchbase.lite.internal.replicator.AbstractCBLWebSocket.lambda$setupBasicAuthenticator$1(AbstractCBLWebSocket.java:653)
at com.couchbase.lite.internal.replicator.AbstractCBLWebSocket$$ExternalSyntheticLambda2.intercept(:2)
at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:109)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:201)
at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:517)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Fatal Exception: java.lang.UnsatisfiedLinkError: dlopen failed: library "libLiteCoreJNI.so" not found
at java.lang.Runtime.loadLibrary0(Runtime.java:1077)
at java.lang.Runtime.loadLibrary0(Runtime.java:998)
at java.lang.System.loadLibrary(System.java:1661)
at com.couchbase.lite.internal.CouchbaseLiteInternal.init(CouchbaseLiteInternal.java:93)
at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:62)
at com.couchbase.lite.CouchbaseLite.init(CouchbaseLite.java:46)