In the pipeline this was built on Windows using .NET 8.0.300
Workloads:
microsoft.net.sdk.android version 34.0.95
Microsoft.Android.Sdk.Windows version 33.0.95
Microsoft.Android.Runtime.34.android-arm64 version 34.0.95
Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 8.0.5
Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm64 version 8.0.5
Description
I asked the Android team on Discord for help and @grendello suggested I ask here.
We have an net8.0-android App which over the past 28 days has crashed 1.18k times, with a stack trace looking like this:
It seems to be happening mostly on arm64 devices, but they are also the most prevalent in our install base:
@grendello asked me for the libmonosgen-2.0.so file to figure out where the crash happens and he ended up here:
The libmonosgen-2.0.so and libmonodroid.so files Archive.zip
The app is built with the following properties:
Using
dotnet publish project.csproj /p:PublishTrimmed=true
Reproduction Steps
I have no idea how to reproduce it and haven't seen it myself. Only the 1.18k crashes in Google Play Console.
Expected behavior
Preferably the App would not crash.
Actual behavior
Lots of Crashes.
Regression?
I see it for older versions of the App to, so I don't believe so.
Known Workarounds
No response
Configuration
@(#)Version 8.0.524.21615 @Commit: 087e15321bb712ef6fe8b0ba6f8bd12facf92629
Android 14, 13, 12, 10
Arm64
net8.0-android
In the pipeline this was built on Windows using .NET 8.0.300
Workloads:
microsoft.net.sdk.android version 34.0.95 Microsoft.Android.Sdk.Windows version 33.0.95 Microsoft.Android.Runtime.34.android-arm64 version 34.0.95 Microsoft.NETCore.App.Runtime.Mono.android-arm64 version 8.0.5 Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.android-arm64 version 8.0.5
Other information
No response