I did a sanity check and ran my 2.0.4 binary from April 1, 2019 again. It does complete the replication without crash.
I went back in git to make a new build of 2.0.4 with the old VS 2017 environment. It starts to replicate, but then just… stops. App unresponsive.
[.] [Debug] * REPLICATION PROGRESS: 1569 / 1884
Thread finished: #352
Thread finished: #351
Thread started: #353
[a.app.ap] Thread[3,tid=31363,WaitingInMainSignalCatcherLoop,Thread*=0x7a81816400,peer=0x12cca538,“Signal Catcher”]: reacting to signal 3
[a.app.ap]
[a.app.ap] Wrote stack traces to ‘[tombstoned]’
Uninstall, clean all, tried again. Replication starts. And it completes without error. Uninstall, clean all, tried again. And near the end I get the different error cfa_reg != -1 not met assertion. Perhaps there is something with the data? I tried with a different smaller dataset, same cfa_ref != -1 not met near the end.
If I run my current latest source code (CBL 2.5, XF 4, etc.) on VS 2019 it crashes instantly on replication with fd >= 0 not met, and if I run my current latest source code on VS 2017 it crashes at some point during the replication with cfa_reg != -1 instead.
I tried the TravelSample project on my old VS 2017 in 64-bit. It crashes with fd >= 0 not met.
So my old source code replicates (sometimes) on the old VS 2017. Couchbase Lite 2.1.2. Xamarin Forms 3.5. But updated code will not work on either.
I now disabled arm64-v8a and that build works without any problem on the 64-bit phone. Replication without any error. 64-bit is completely impossible atm with CBL.
Starting August 1, 2021: Google Play will stop serving apps without 64-bit versions on 64-bit capable devices, meaning they will no longer be available in the Play Store on those devices.
There is some time pressure here.