Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Sporadic libsqlite3_xamarin crashes on Android

$
0
0

Hi,
according to Android vitals in Google Play Store, sporadic crashes around libsqlite3_xamarin.so occur on different devices, Android versions (5/6/7) and processor architectures (arm, arm64,...).
Such a report looks like this:

backtrace:
  native: pc 000000000001cb5c  /mnt/asec/com.myexample.app-1/lib/arm64/libsqlite3_xamarin.so
  native: pc 000000000001d9d4  /mnt/asec/com.myexample.app-1/lib/arm64/libsqlite3_xamarin.so
  native: pc 0000000000093710  /mnt/asec/com.myexample.app-1/lib/arm64/libsqlite3_xamarin.so
  native: pc 0000000000093c00  /mnt/asec/com.myexample.app-1/lib/arm64/libsqlite3_xamarin.so
  native: pc 00000000000388fc  <anonymous:0000007afc698000>

I have HockeyApp crash reporting included, but no such crash is reported there (stays at 0 crashes).
Session counts are alive, and it did record other crashes in the past, so HockeyApp is working.

I could not reproduce such a crash on my devices, for me the app is working on all Android versions (4.4.4 upwards).
So, it is NOT such a "DllNotFoundException" issue which comes up searching for "libsqlite3_xamarin" in the forums.
It works in general, but seems to be not 100% stable in the wild.

Any ideas or suggestions to track this issue down are appreciated!
Heli

Compiler/Linker settings
Target Framework/SDK: Latest Platform (7.1 Nougat API 25)
Minimum Android version: API 15, Android 4.0.3 Icr Cream Sandwich
Target Android platform: like SDK = 7.1 Nougat API 25
NOTHING of these (unchecked all): Shared runtime, Bundle assemblies to native code, generate one package per ABI, developer instrumentation, ProGuard, MultiDex, AOT, LLVM, experimental garbage collector
Linker behavior: SDK assemblies only

Some version information:
Visual Studio Enterprise 2017
Xamarin.Forms 2.3.4.247 (Nuget)
HockeyApp.Xamarin 4.1.5 (Nuget)
Mono.Data.Sqlite 4.0.0.0
NO other Sqlite (or ORM) Nuget package like sqlite-net-pcl, as I just need some simple SQL queries.
Have used Mono.Data.Sqlite.Portable until Linker problems forced me to kick them out (see: https://forums.xamarin.com/discussion/comment/287033/#Comment_287033)
Of course some more Nuget packages (Settings, Geolocation, ZXing, ModernHttpClient,...), but I don't expect them to be related to this.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>