dotnet / android

.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
MIT License
1.93k stars 525 forks source link

Crash on startup after updating to Xamarin.Android 13.1.0.1 #7588

Closed akrol95 closed 4 months ago

akrol95 commented 1 year ago

Android application type

Classic Xamarin.Android (MonoAndroid12.0, etc.)

Affected platform version

Xamarin.Android 13.1.0.1

Description

Our application started to crashing on start recently. During investingation on our side, we found out, that the only change we recently made is change Xamarin.Android package from 13.0.0.0 to 13.1.0.1. The app is crashing only when built in release mode and archived as .apk or .aab. The behaviour is the same, regardless of the platform where the app has been built (Windows, Mac, Azure DevOps hosted agent).

Our configuration:

AndroidSupportedAbis: armeabi-v7a;x86;arm64-v8a;x86_64
TargetFrameworkVersion:  v12.0
android:minSdkVersion="21" 
android:targetSdkVersion="33"

As we are open source, I have prepared a branch with smallest possible project, where you can reproduce the issue: https://github.com/bcc-code/bmm-app/tree/crash-on-start

I'm also attaching logcat with crash description. I'm open to share more information if needed.

Steps to Reproduce

  1. Build the attached project in release configuration using Xamarin.Android 13.1.0.1, and create archive with .apk or .aab.
  2. Install the app from generated archive.
  3. The app crashes immadiately.

Did you find any workaround?

Downgrading Xamarin.Android to 13.0.0.0

Relevant log output

2022-11-28 10:44:50.473 1434-1434/? W/adbd: timeout expired while flushing socket, closing
2022-11-28 10:44:50.842 1725-3407/? I/ActivityTaskManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=<our organization name>/<our organization name>.ui.droid.SplashScreenActivity bnds=[239,405][440,722]} from uid 10042
2022-11-28 10:44:50.843 1725-3407/? W/ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=318 attached=false
2022-11-28 10:44:50.847 1725-3407/? D/CompatibilityChangeReporter: Compat change id reported: 174042980; UID 10352; state: DISABLED
2022-11-28 10:44:50.848 1725-3407/? D/CompatibilityChangeReporter: Compat change id reported: 184838306; UID 10352; state: DISABLED
2022-11-28 10:44:50.849 1725-3407/? D/CompatibilityChangeReporter: Compat change id reported: 185004937; UID 10352; state: DISABLED
2022-11-28 10:44:50.850 1725-3407/? D/CompatibilityChangeReporter: Compat change id reported: 181136395; UID 10352; state: DISABLED
2022-11-28 10:44:50.851 1725-3407/? D/CompatibilityChangeReporter: Compat change id reported: 174042936; UID 10352; state: DISABLED
2022-11-28 10:44:50.853 1725-3407/? D/CompatibilityChangeReporter: Compat change id reported: 197654537; UID 10352; state: ENABLED
2022-11-28 10:44:50.856 1725-3407/? D/CompatibilityChangeReporter: Compat change id reported: 168419799; UID 10352; state: DISABLED
2022-11-28 10:44:50.866 2512-2561/? D/QuickstepModelDelegate: notifyAppTargetEvent action=1 launchLocation=workspace/1/[1,1]/[1,1]
2022-11-28 10:44:50.868 1725-1825/? D/CompatibilityChangeReporter: Compat change id reported: 135634846; UID 10352; state: DISABLED
2022-11-28 10:44:50.869 1725-1825/? D/CompatibilityChangeReporter: Compat change id reported: 177438394; UID 10352; state: DISABLED
2022-11-28 10:44:50.869 1725-1825/? D/CompatibilityChangeReporter: Compat change id reported: 135772972; UID 10352; state: DISABLED
2022-11-28 10:44:50.869 1725-1825/? D/CompatibilityChangeReporter: Compat change id reported: 135754954; UID 10352; state: ENABLED
2022-11-28 10:44:50.869 1725-1838/? D/CompatibilityChangeReporter: Compat change id reported: 143937733; UID 10352; state: ENABLED
2022-11-28 10:44:50.882 1065-1065/? D/Zygote: Forked child process 17690
2022-11-28 10:44:50.883 1725-1838/? I/ActivityManager: Start proc 17690:<our organization name>/u0a352 for pre-top-activity {<our organization name>/<our organization name>.ui.droid.SplashScreenActivity}
2022-11-28 10:44:50.891 1725-3407/? W/AutofillManagerServiceImpl: getFillEventHistory() called by UID 10011, but service UID is 10175
2022-11-28 10:44:50.907 17690-17690/? E/rg.brunstad.bm: Not starting debugger since process cannot load the jdwp agent.
2022-11-28 10:44:50.911 17690-17690/? D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2022-11-28 10:44:50.924 17690-17690/? D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10352; state: ENABLED
2022-11-28 10:44:50.950 17690-17690/? V/GraphicsEnvironment: ANGLE Developer option for '<our organization name>' set to: 'default'
2022-11-28 10:44:50.951 17690-17690/? V/GraphicsEnvironment: ANGLE GameManagerService for <our organization name>: false
2022-11-28 10:44:50.951 17690-17690/? V/GraphicsEnvironment: Neither updatable production driver nor prerelease driver is supported.
2022-11-28 10:44:50.952 17690-17690/? D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
2022-11-28 10:44:50.953 17690-17690/? D/NetworkSecurityConfig: Using Network Security Config from resource network_security_config debugBuild: false
2022-11-28 10:44:50.968 3312-3312/? I/GsaVoiceInteractionSrv: Handling ACTION_STOP_HOTWORD
2022-11-28 10:44:51.150 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly mscorlib.dll
2022-11-28 10:44:51.157 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly <our organization name>.UI.Android.dll
2022-11-28 10:44:51.159 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.dll
2022-11-28 10:44:51.161 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Mono.Android.dll
2022-11-28 10:44:51.163 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.dll
2022-11-28 10:44:51.165 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Mono.Security.dll
2022-11-28 10:44:51.166 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Numerics.dll
2022-11-28 10:44:51.168 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Core.dll
2022-11-28 10:44:51.170 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Java.Interop.dll
2022-11-28 10:44:51.172 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Xml.dll
2022-11-28 10:44:51.174 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Fragment.dll
2022-11-28 10:44:51.176 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Core.dll
2022-11-28 10:44:51.178 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.VersionedParcelable.dll
2022-11-28 10:44:51.180 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Activity.dll
2022-11-28 10:44:51.181 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.Common.dll
2022-11-28 10:44:51.183 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.AppCompat.dll
2022-11-28 10:44:51.185 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Preference.dll
2022-11-28 10:44:51.187 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.RecyclerView.dll
2022-11-28 10:44:51.189 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.ViewPager.dll
2022-11-28 10:44:51.191 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly <our organization name>.Core.dll
2022-11-28 10:44:51.192 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly <our organization name>.Api.dll
2022-11-28 10:44:51.194 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Tavis.UriTemplates.dll
2022-11-28 10:44:51.196 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Net.Http.dll
2022-11-28 10:44:51.198 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Newtonsoft.Json.dll
2022-11-28 10:44:51.200 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Xml.Linq.dll
2022-11-28 10:44:51.201 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Data.dll
2022-11-28 10:44:51.203 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Essentials.dll
2022-11-28 10:44:51.205 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Drawing.Common.dll
2022-11-28 10:44:51.207 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.Messenger.dll
2022-11-28 10:44:51.209 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Akavache.Core.dll
2022-11-28 10:44:51.211 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Reactive.dll
2022-11-28 10:44:51.213 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Splat.dll
2022-11-28 10:44:51.215 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Newtonsoft.Json.Bson.dll
2022-11-28 10:44:51.216 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Acr.UserDialogs.dll
2022-11-28 10:44:51.218 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Google.Android.Material.dll
2022-11-28 10:44:51.220 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.CoordinatorLayout.dll
2022-11-28 10:44:51.222 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly AndHUD.dll
2022-11-28 10:44:51.224 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Plugin.Settings.Abstractions.dll
2022-11-28 10:44:51.226 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.IdentityModel.Tokens.Jwt.dll
2022-11-28 10:44:51.228 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.IdentityModel.Tokens.dll
2022-11-28 10:44:51.229 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.IdentityModel.Logging.dll
2022-11-28 10:44:51.231 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.IdentityModel.JsonWebTokens.dll
2022-11-28 10:44:51.233 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly IdentityModel.OidcClient.dll
2022-11-28 10:44:51.235 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.Abstractions.dll
2022-11-28 10:44:51.237 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly IdentityModel.dll
2022-11-28 10:44:51.239 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Text.Encodings.Web.dll
2022-11-28 10:44:51.240 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.dll
2022-11-28 10:44:51.242 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.DependencyInjection.Abstractions.dll
2022-11-28 10:44:51.244 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Options.dll
2022-11-28 10:44:51.246 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Primitives.dll
2022-11-28 10:44:51.248 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly FFImageLoading.dll
2022-11-28 10:44:51.250 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Crashes.dll
2022-11-28 10:44:51.251 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Crashes.Android.Bindings.dll
2022-11-28 10:44:51.253 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Android.Bindings.dll
2022-11-28 10:44:51.256 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.dll
2022-11-28 10:44:51.258 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Akavache.dll
2022-11-28 10:44:51.260 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly SQLitePCLRaw.batteries_v2.dll
2022-11-28 10:44:51.262 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly SQLitePCLRaw.provider.e_sqlite3.dll
2022-11-28 10:44:51.263 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly SQLitePCLRaw.core.dll
2022-11-28 10:44:51.265 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Akavache.Sqlite3.dll
2022-11-28 10:44:51.267 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Plugin.Settings.dll
2022-11-28 10:44:51.269 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Analytics.dll
2022-11-28 10:44:51.271 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Analytics.Android.Bindings.dll
2022-11-28 10:44:51.273 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.JsonLocalization.dll
2022-11-28 10:44:51.275 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.ResourceLoader.dll
2022-11-28 10:44:51.277 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Web.Services.dll
2022-11-28 10:44:51.279 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly taglib-sharp.dll
2022-11-28 10:44:51.281 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.DroidX.RecyclerView.dll
2022-11-28 10:44:51.283 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.DroidX.SwipeRefreshLayout.dll
2022-11-28 10:44:51.284 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.SwipeRefreshLayout.dll
2022-11-28 10:44:51.286 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.Color.dll
2022-11-28 10:44:51.288 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.Visibility.dll
2022-11-28 10:44:51.290 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly FFImageLoading.Platform.dll
2022-11-28 10:44:51.292 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Media.dll
2022-11-28 10:44:51.294 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.Core.dll
2022-11-28 10:44:51.296 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.Ext.MediaSession.dll
2022-11-28 10:44:51.298 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.Hls.dll
2022-11-28 10:44:51.300 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Browser.dll
2022-11-28 10:44:51.302 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.CardView.dll
2022-11-28 10:44:51.303 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Messaging.dll
2022-11-28 10:44:51.305 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.GooglePlayServices.Basement.dll
2022-11-28 10:44:51.308 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Common.dll
2022-11-28 10:44:51.309 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.Process.dll
2022-11-28 10:44:51.311 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Config.dll
2022-11-28 10:44:51.313 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.GooglePlayServices.Tasks.dll
2022-11-28 10:44:51.315 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Palette.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Acr.UserDialogs.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Akavache.Core.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Akavache.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Akavache.Sqlite3.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly AndHUD.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly <our organization name>.Api.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly <our organization name>.Core.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.Core.dll
2022-11-28 10:44:51.317 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.Dash.dll
2022-11-28 10:44:51.319 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.dll
2022-11-28 10:44:51.322 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.Ext.MediaSession.dll
2022-11-28 10:44:51.322 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.Hls.dll
2022-11-28 10:44:51.322 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.SmoothStreaming.dll
2022-11-28 10:44:51.324 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly ExoPlayer.UI.dll
2022-11-28 10:44:51.326 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly FFImageLoading.dll
2022-11-28 10:44:51.326 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly FFImageLoading.Platform.dll
2022-11-28 10:44:51.326 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly IdentityModel.dll
2022-11-28 10:44:51.326 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly IdentityModel.OidcClient.dll
2022-11-28 10:44:51.326 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Lottie.Android.dll
2022-11-28 10:44:51.328 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Analytics.Android.Bindings.dll
2022-11-28 10:44:51.328 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Analytics.dll
2022-11-28 10:44:51.328 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Android.Bindings.dll
2022-11-28 10:44:51.328 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Crashes.Android.Bindings.dll
2022-11-28 10:44:51.328 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.Crashes.dll
2022-11-28 10:44:51.329 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.AppCenter.dll
2022-11-28 10:44:51.329 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.Abstractions.dll
2022-11-28 10:44:51.331 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.Binder.dll
2022-11-28 10:44:51.332 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Configuration.dll
2022-11-28 10:44:51.334 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.DependencyInjection.Abstractions.dll
2022-11-28 10:44:51.334 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.Abstractions.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Logging.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Options.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.Extensions.Primitives.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.IdentityModel.JsonWebTokens.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.IdentityModel.Logging.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Microsoft.IdentityModel.Tokens.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.DroidX.RecyclerView.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.DroidX.SwipeRefreshLayout.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.Color.dll
2022-11-28 10:44:51.335 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.Json.dll
2022-11-28 10:44:51.337 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.JsonLocalization.dll
2022-11-28 10:44:51.337 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.Messenger.dll
2022-11-28 10:44:51.337 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.ResourceLoader.dll
2022-11-28 10:44:51.337 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly MvvmCross.Plugin.Visibility.dll
2022-11-28 10:44:51.337 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Newtonsoft.Json.Bson.dll
2022-11-28 10:44:51.338 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Newtonsoft.Json.dll
2022-11-28 10:44:51.338 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Plugin.Settings.Abstractions.dll
2022-11-28 10:44:51.338 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Plugin.Settings.dll
2022-11-28 10:44:51.338 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Splat.dll
2022-11-28 10:44:51.338 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly SQLitePCLRaw.batteries_v2.dll
2022-11-28 10:44:51.338 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly SQLitePCLRaw.core.dll
2022-11-28 10:44:51.338 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly SQLitePCLRaw.lib.e_sqlite3.android.dll
2022-11-28 10:44:51.340 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly SQLitePCLRaw.provider.e_sqlite3.dll
2022-11-28 10:44:51.340 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Square.OkIO.dll
2022-11-28 10:44:51.342 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.IdentityModel.Tokens.Jwt.dll
2022-11-28 10:44:51.342 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Reactive.dll
2022-11-28 10:44:51.342 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly System.Text.Encodings.Web.dll
2022-11-28 10:44:51.342 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly taglib-sharp.dll
2022-11-28 10:44:51.343 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Tavis.UriTemplates.dll
2022-11-28 10:44:51.343 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Activity.dll
2022-11-28 10:44:51.343 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.AppCompat.dll
2022-11-28 10:44:51.343 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Browser.dll
2022-11-28 10:44:51.343 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.CardView.dll
2022-11-28 10:44:51.343 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Collection.dll
2022-11-28 10:44:51.345 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.ConstraintLayout.Core.dll
2022-11-28 10:44:51.347 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.ConstraintLayout.dll
2022-11-28 10:44:51.349 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.CoordinatorLayout.dll
2022-11-28 10:44:51.349 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Core.dll
2022-11-28 10:44:51.349 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.CursorAdapter.dll
2022-11-28 10:44:51.351 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.CustomView.dll
2022-11-28 10:44:51.353 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.DrawerLayout.dll
2022-11-28 10:44:51.355 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Fragment.dll
2022-11-28 10:44:51.355 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.Common.dll
2022-11-28 10:44:51.355 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.LiveData.Core.dll
2022-11-28 10:44:51.357 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.Process.dll
2022-11-28 10:44:51.357 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Lifecycle.ViewModel.dll
2022-11-28 10:44:51.359 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Loader.dll
2022-11-28 10:44:51.361 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Media.dll
2022-11-28 10:44:51.361 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Palette.dll
2022-11-28 10:44:51.361 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.Preference.dll
2022-11-28 10:44:51.362 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.RecyclerView.dll
2022-11-28 10:44:51.362 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.SavedState.dll
2022-11-28 10:44:51.363 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.SwipeRefreshLayout.dll
2022-11-28 10:44:51.364 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.VersionedParcelable.dll
2022-11-28 10:44:51.364 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.AndroidX.ViewPager.dll
2022-11-28 10:44:51.364 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Essentials.dll
2022-11-28 10:44:51.364 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Common.dll
2022-11-28 10:44:51.364 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Config.dll
2022-11-28 10:44:51.364 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Encoders.dll
2022-11-28 10:44:51.366 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Encoders.Proto.dll
2022-11-28 10:44:51.368 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Firebase.Messaging.dll
2022-11-28 10:44:51.368 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Google.Android.DataTransport.TransportApi.dll
2022-11-28 10:44:51.371 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Google.Android.DataTransport.TransportBackendCct.dll
2022-11-28 10:44:51.373 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Google.Android.DataTransport.TransportRuntime.dll
2022-11-28 10:44:51.375 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.JavaX.Inject.dll
2022-11-28 10:44:51.377 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Google.Android.Material.dll
2022-11-28 10:44:51.377 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Google.Dagger.dll
2022-11-28 10:44:51.379 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Google.Guava.ListenableFuture.dll
2022-11-28 10:44:51.381 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.GooglePlayServices.Basement.dll
2022-11-28 10:44:51.381 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.GooglePlayServices.Tasks.dll
2022-11-28 10:44:51.381 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.JavaX.Inject.dll
2022-11-28 10:44:51.381 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Jetbrains.Annotations.dll
2022-11-28 10:44:51.383 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Kotlin.StdLib.Common.dll
2022-11-28 10:44:51.385 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Kotlin.StdLib.dll
2022-11-28 10:44:51.387 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Kotlin.StdLib.Jdk7.dll
2022-11-28 10:44:51.389 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.Kotlin.StdLib.Jdk8.dll
2022-11-28 10:44:51.391 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.KotlinX.Coroutines.Android.dll
2022-11-28 10:44:51.393 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.KotlinX.Coroutines.Core.Jvm.dll
2022-11-28 10:44:51.395 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Xamarin.KotlinX.Coroutines.Core.Jvm.dll
2022-11-28 10:44:51.395 17690-17690/? W/monodroid-gc: GREF GC Threshold: 46080
2022-11-28 10:44:51.450 17690-17690/? W/monodroid-assembly: open_from_bundles: failed to load assembly Mono.Android.Export.dll
2022-11-28 10:44:51.494 17690-17690/? I/FirebaseApp: Device unlocked: initializing all Firebase APIs for app [DEFAULT]
2022-11-28 10:44:51.502 2512-2512/? W/Choreographer: Frame time is 0.136482 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2022-11-28 10:44:51.502 2190-2190/? W/Choreographer: Frame time is 0.136639 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2022-11-28 10:44:51.507 17690-17690/? I/FirebaseInitProvider: FirebaseApp initialization successful
2022-11-28 10:44:51.522 17690-17710/? I/DynamiteModule: Considering local module com.google.android.gms.measurement.dynamite:70 and remote module com.google.android.gms.measurement.dynamite:87
2022-11-28 10:44:51.522 17690-17710/? I/DynamiteModule: Selected remote version of com.google.android.gms.measurement.dynamite, version >= 87
2022-11-28 10:44:51.522 17690-17710/? V/DynamiteModule: Dynamite loader version >= 2, using loadModule2NoCrashUtils
2022-11-28 10:44:51.539 17690-17710/? W/System: ClassLoader referenced unknown path: 
2022-11-28 10:44:51.545 17690-17710/? I/DynamiteLoaderV2Impl: [71] com.google.android.gms.measurement.dynamite
2022-11-28 10:44:51.550 17690-17690/? E/rg.brunstad.bm: * Assertion at /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/mono/mini/tramp-arm64.c:52, condition `((ins >> 24) & 0x1f) == 0x10' not met

    --------- beginning of crash
2022-11-28 10:44:51.550 17690-17690/? A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 17690 (<our organization name>), pid 17690 (<our organization name>)
2022-11-28 10:44:51.610 17733-17733/? I/crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
2022-11-28 10:44:51.610 838-838/? I/tombstoned: received crash request for pid 17690
2022-11-28 10:44:51.611 17733-17733/? I/crash_dump64: performing dump of process 17690 (target tid = 17690)
2022-11-28 10:44:51.625 17733-17733/? E/DEBUG: failed to read /proc/uptime: Permission denied
2022-11-28 10:44:51.657 17690-17736/? I/FA: App measurement initialized, version: 75024
2022-11-28 10:44:51.657 17690-17736/? I/FA: To enable debug logging run: adb shell setprop log.tag.FA VERBOSE
2022-11-28 10:44:51.658 17690-17736/? I/FA: To enable faster debug mode event logging run:
      adb shell setprop debug.firebase.analytics.app <our organization name>
2022-11-28 10:44:51.677 14378-14378/? D/BoundBrokerSvc: onBind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2022-11-28 10:44:51.677 14378-14378/? D/BoundBrokerSvc: Loading bound service for intent: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: Build fingerprint: 'google/sargo/sargo:12/SP2A.220505.006/8561491:user/release-keys'
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: Revision: 'MP1.0'
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: ABI: 'arm64'
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: Timestamp: 2022-11-28 10:44:51.624431112-0500
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: Process uptime: 0s
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: Cmdline: <our organization name>
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: pid: 17690, tid: 17690, name: <our organization name>  >>> <our organization name> <<<
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: uid: 10352
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x0  0000000000000000  x1  000000000000451a  x2  0000000000000006  x3  0000007fe7eb2a20
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x4  64692e7164636b68  x5  64692e7164636b68  x6  64692e7164636b68  x7  7f7f7f7f7f7f7f7f
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x8  00000000000000f0  x9  a1dc3c6898c2a37d  x10 0000000000000000  x11 ffffff80fffffbdf
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x12 0000000000000001  x13 00000000000000a3  x14 0000007fe7eb18c0  x15 00209a95e9e06aeb
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x16 00000079bc49b050  x17 00000079bc477db0  x18 0000000000000008  x19 000000000000451a
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x20 000000000000451a  x21 00000000ffffffff  x22 0000007683297f74  x23 00000076832b9958
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x24 00000078187d46d0  x25 00000076a8fbe000  x26 0000007683297f40  x27 0000000000000000
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     x28 00000079ce204000  x29 0000007fe7eb2aa0
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:     lr  00000079bc42aaa0  sp  0000007fe7eb2a00  pc  00000079bc42aacc  pst 0000000000000000
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG: backtrace:
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:       #00 pc 000000000004facc  /apex/com.android.runtime/lib64/bionic/libc.so (abort+164) (BuildId: cd7952cb40d1a2deca6420c2da7910be)
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:       #01 pc 000000000003f28c  /data/app/~~VNXPPwZnEjlPEsYvh80Ynw==/<our organization name>-pt8LzUDYwjtlfmjqU5RBbg==/lib/arm64/libmonodroid.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+144) (BuildId: d021b8d131747b14ad89da20a33af9d2f77dce32)
2022-11-28 10:44:51.903 17733-17733/? A/DEBUG:       #02 pc 000000000028bbbc  /data/app/~~VNXPPwZnEjlPEsYvh80Ynw==/<our organization name>-pt8LzUDYwjtlfmjqU5RBbg==/lib/arm64/libmonosgen-2.0.so (monoeg_g_logv_nofree+192)
2022-11-28 10:44:51.932 838-838/? E/tombstoned: Tombstone written to: tombstone_13
2022-11-28 10:44:51.934 1725-17740/? I/DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
2022-11-28 10:44:51.934 1725-17739/? W/ActivityTaskManager:   Force finishing activity <our organization name>/<our organization name>.ui.droid.SplashScreenActivity
2022-11-28 10:44:51.942 1725-2070/? I/BootReceiver: Copying /data/tombstones/tombstone_13 to DropBox (SYSTEM_TOMBSTONE)
2022-11-28 10:44:51.942 1725-2070/? I/DropBoxManagerService: add tag=SYSTEM_TOMBSTONE isTagEnabled=true flags=0x6
2022-11-28 10:44:51.953 1725-1837/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2022-11-28 10:44:51.953 1725-1837/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2022-11-28 10:44:51.956 1725-1837/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2022-11-28 10:44:51.960 1725-2070/? I/DropBoxManagerService: add tag=SYSTEM_TOMBSTONE_PROTO isTagEnabled=true flags=0x4
2022-11-28 10:44:51.961 1725-1837/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2022-11-28 10:44:51.975 1725-4014/? I/ActivityManager: Process <our organization name> (pid 17690) has died: prcp TOP 
2022-11-28 10:44:51.976 1725-1842/? I/libprocessgroup: Successfully killed process cgroup uid 10352 pid 17690 in 0ms
2022-11-28 10:44:51.976 1065-1065/? I/Zygote: Process 17690 exited due to signal 6 (Aborted)
2022-11-28 10:44:51.977 14378-14378/? D/BoundBrokerSvc: onUnbind: Intent { act=com.google.android.gms.measurement.START pkg=com.google.android.gms }
2022-11-28 10:44:51.979 1725-1823/? D/CompatibilityChangeReporter: Compat change id reported: 171228096; UID 1000; state: ENABLED
2022-11-28 10:44:52.007 3607-4159/? I/OpenGLRenderer: Davey! duration=73324ms; Flags=1, FrameTimelineVsyncId=42171, IntendedVsync=3315187381497, Vsync=3315187381497, InputEventId=1446429761, HandleInputStart=3315187838377, AnimationStart=3315187840147, PerformTraversalsStart=3315187840929, DrawStart=3315215653379, FrameDeadline=3315220714829, FrameInterval=3315187833220, FrameStartTime=16666666, SyncQueued=3315219385151, SyncStart=3315219544994, IssueDrawCommandsStart=3315220476869, SwapBuffers=3315222920359, FrameCompleted=3388511946827, DequeueBufferDuration=24948, QueueBufferDuration=3362761, GpuCompleted=3388511946827, SwapBuffersCompleted=3315228755985, DisplayPresentTime=0, 
2022-11-28 10:44:52.015 1725-1826/? W/InputManager-JNI: Input channel object '1fd0777 Splash Screen <our organization name> (client)' was disposed without first being removed with the input manager!
2022-11-28 10:44:52.015 3312-3312/? I/GsaVoiceInteractionSrv: Handling ACTION_START_HOTWORD
2022-11-28 10:44:52.015 3312-3611/? I/GsaVoiceInteractionSrv: (REDACTED) disregardVoiceMatch: %b
2022-11-28 10:44:52.016 3312-3611/? I/GsaVoiceInteractionSrv: Cannot start hotword, hotword has been explicitly disabled.
2022-11-28 10:44:52.018 1725-4017/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.stats.service.DropBoxEntryAddedReceiver
2022-11-28 10:44:52.019 1725-1837/? W/BroadcastQueue: Background execution not allowed: receiving Intent { act=android.intent.action.DROPBOX_ENTRY_ADDED flg=0x10 (has extras) } to com.google.android.gms/.chimera.GmsIntentOperationService$PersistentTrustedReceiver
2022-11-28 10:44:52.026 1725-1826/? W/ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=318 attached=false
2022-11-28 10:44:52.026 1725-1826/? W/ActivityTaskManager: Can't find TaskDisplayArea to determine support for multi window. Task id=318 attached=false
2022-11-28 10:44:52.045 1725-1823/? W/InputManager-JNI: Input channel object 'f294607 Application Error: <our organization name> (client)' was disposed without first being removed with the input manager!
2022-11-28 10:44:52.046 3253-3253/? I/GoogleInputMethodService: GoogleInputMethodService.onFinishInput():3220 
2022-11-28 10:44:52.046 1725-17739/? W/ActivityManager: Ignoring remove of inactive process: ProcessRecord{b393011 0:<our organization name>/u0a352}
2022-11-28 10:44:52.047 3253-3253/? I/GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2085 repeatCheckTimes = 0, unlocked = true
2022-11-28 10:44:52.048 3253-3253/? I/GoogleInputMethodService: GoogleInputMethodService.onStartInput():1876 onStartInput(EditorInfo{inputType=0x0(NULL) imeOptions=0x0 privateImeOptions=null actionName=UNSPECIFIED actionLabel=null actionId=0 initialSelStart=-1 initialSelEnd=-1 initialCapsMode=0x0 hintText=null label=null packageName=com.google.android.apps.nexuslauncher fieldId=-1 fieldName=null extras=null}, false)
2022-11-28 10:44:52.048 3253-3253/? I/GoogleInputMethodService: GoogleInputMethodService.shouldHideHeaderOnInitialState():3985 ShouldHideHeaderOnInitialState = false
2022-11-28 10:44:52.051 3253-3253/? I/GoogleInputMethodService: GoogleInputMethodService.updateDeviceLockedStatus():2085 repeatCheckTimes = 2, unlocked = true
2022-11-28 10:44:52.059 3273-3367/? I/AiAiEcho: Predicting[7]: { Feature:1, creation:2022-11-28T15:23:17.475Z, expiry:2022-11-28T16:00:00Z, isExpired: false}, { Feature:1, creation:2022-11-28T16:00:00Z, expiry:2022-11-28T17:00:00Z, isExpired: true}, { Feature:1, creation:2022-11-28T17:00:00Z, expiry:2022-11-28T18:00:00Z, isExpired: true}, { Feature:1, creation:2022-11-28T18:00:00Z, expiry:2022-11-28T19:00:00Z, isExpired: true}, { Feature:1, creation:2022-11-28T19:00:00Z, expiry:2022-11-28T20:00:00Z, isExpired: true}, { Feature:1, creation:2022-11-28T20:00:00Z, expiry:2022-11-28T21:00:00Z, isExpired: true}, { Feature:1, creation:2022-11-28T21:00:00Z, expiry:2022-11-28T21:23:17.475Z, isExpired: true}
2022-11-28 10:44:52.061 3273-3367/? I/AiAiEcho: EchoTargets: Feature:1
    Filtered by AiAi flag check: 
2022-11-28 10:44:52.062 3273-3367/? I/AiAiEcho: Ranked targets strategy: WEIGHTED, count: 1, ranking metadata: { cardId: WEATHER-569377242, card type: 1, update time: 2022-11-28T15:23:17.475Z, expiration time: 2022-11-28T16:00:00Z, ranking metadata: RankingMetaData(urgency=0.824, priority=0.3, recency=1.0, rankScore=0.24720001, importantTimePoints=# kbc@7bca4) }
2022-11-28 10:44:52.063 3273-3367/? I/AiAiEcho: #postPredictionTargets: Sending updates to UISurface lockscreen with targets# 1
2022-11-28 10:44:52.064 3273-3367/? I/AiAiEcho: #postPredictionTargets: Sending updates to UISurface home with targets# 1
2022-11-28 10:44:52.065 3273-3367/? I/AiAiEcho: #postPredictionTargets: Sending updates to UISurface media_data_manager with targets# 0
2022-11-28 10:44:52.070 2190-2190/? W/Choreographer: Frame time is 0.173287 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2022-11-28 10:44:52.070 1725-1823/? W/Choreographer: Frame time is 0.14261 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2022-11-28 10:44:52.070 2512-2512/? W/Choreographer: Frame time is 0.079797 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2022-11-28 10:44:52.070 2190-2257/? W/Choreographer: Frame time is 0.1736 ms in the future!  Check that graphics HAL is generating vsync timestamps using the correct timebase.
2022-11-28 10:44:52.077 2190-2190/? W/BcSmartspaceCard: No title view to update
2022-11-28 10:44:52.078 2512-2561/? D/QuickstepModelDelegate: notifyAppTargetEvent action=1 launchLocation=workspace/1/[-1,-1]/[1,1]
2022-11-28 10:44:52.079 2512-2512/? W/BcSmartspaceCard: No title view to update
2022-11-28 10:44:52.270 1725-2110/? D/ConnectivityService: NetReassign [no changes]
2022-11-28 10:44:52.346 1725-3423/? W/WindowManager: Failed looking up window session=Session{7e766d7 2190:u0a10071} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5747 com.android.server.wm.WindowManagerService.relayoutWindow:2227 com.android.server.wm.Session.relayout:235 
2022-11-28 10:44:52.348 1725-3407/? W/WindowManager: Cannot find window which accessibility connection is added to
2022-11-28 10:44:52.349 1725-3423/? W/WindowManager: Failed looking up window session=Session{7e766d7 2190:u0a10071} callers=com.android.server.wm.WindowManagerService.windowForClientLocked:5747 com.android.server.wm.WindowManagerService.removeWindow:2031 com.android.server.wm.Session.remove:218 
2022-11-28 10:44:52.437 1725-1825/? W/ActivityTaskManager: Activity top resumed state loss timeout for ActivityRecord{bd13c9b u0 <our organization name>/<our organization name>.ui.droid.SplashScreenActivity t-1 f}}
grendello commented 1 year ago

@akrol95 could you try adding the following to your .csproj:

<PropertyGroup>
  <EnableLLVM>False</EnableLLVM>
</PropertyGroup>

Your issue appears to be identical to https://github.com/xamarin/xamarin-android/issues/7352 and, if it indeed is, the above should make the problem go away. Please let me know if it worked, thanks!

ghost commented 1 year ago

Hi @akrol95. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

FoggyFinder commented 1 year ago

@grendello Is it possible that this issue now happens due to additional check

if (!UseAndroidNdk) {
    ldFlags.Append ("--no-relax");
}

here

Since #6901 --no-relax flag applies only when AndroidNdkDirectory is not specified.

grendello commented 1 year ago

@FoggyFinder it is possible and EnableLLVM=False will test just that theory :)

akrol95 commented 1 year ago

@grendello The documentation says that the EnableLLVM flag is set to False by default, so in our case it doesn't matter if we add it or no because we didn't have it before. However I just tested it with EnableLLVM=False added to .csproj for release configuration and the result is the same. It's still crashing with the same logcat output.

kevcrooks commented 1 year ago

We had a similar issue and after playing around with the settings quite a bit, the only combination that worked for us was both EnableLLVM=False and removing AndroidNdkDirectory from the csproj/build (leaving the value unset)

grendello commented 1 year ago

@akrol95 the setting may come from other sources than the .csproj (it can be in the environment, or set in Directory.Build.props that's not part of the repo), thus it had to be tested :)

@kevcrooks yes, that might be necessary if the NDK pointed to by AndroidNdkDirectory uses LLVM 13 or newer (which is the case for the current NDK release). @akrol95 would you mind testing that one too?

grendello commented 1 year ago

The root cause of the issue is described in this commit.

akrol95 commented 1 year ago

@grendello I tried with:

<EnableLLVM>False</EnableLLVM>
<AndroidNdkDirectory />

It's still crashing for the same reason.

grendello commented 1 year ago

@akrol95 did you rebuild from scratch, after removing all bin and obj directories?

grendello commented 1 year ago

I've tried to reproduce the issue, but the app neither crashes nor starts up, it just locks up on the splash screen. However, I see the following in the build logs:

[aot-compiler stdout] Executing the native linker: ".../bin/Release/lib/xamarin.android/xbuild/Xamarin/Android/Linux/binutils/bin/aarch64-linux-android-ld" -Bsymbolic -shared -o obj/Release/aot/arm64-v8a/libaot-Xamarin.Kotlin.StdLib.Jdk7.dll.so.tmp  obj/Release/aot/arm64-v8a/Xamarin.Kotlin.StdLib.Jdk7.dll/temp.s.o --no-relax -s

@akrol95 would you mind building with -bl and then examine the binlog to find a line similar to the above and check if your build passes --no-relax to the linker? If the flag isn't passed, could you modify the linker script used in the above command line to pass the --no-relax flag to the actual linker?

On Unix, the script should be modified to look as follows:

#!/bin/bash -e
MY_DIR="$(cd $(dirname $0);pwd)"
exec "${MY_DIR}"/ld --no-relax "$@"

and on Windows, to:

@echo off
setlocal
set BINARIES_DIRECTORY=%~dp0

set "BINARIES_DIRECTORY=" && "%BINARIES_DIRECTORY%ld.exe" --no-relax %*
if not ERRORLEVEL 0 exit /b %errorlevel%
akrol95 commented 1 year ago

@akrol95 did you rebuild from scratch, after removing all bin and obj directories?

Yes, I did it every time.

I've tried to reproduce the issue, but the app neither crashes nor starts up, it just locks up on the splash screen. However, I see the following in the build logs:

[aot-compiler stdout] Executing the native linker: ".../bin/Release/lib/xamarin.android/xbuild/Xamarin/Android/Linux/binutils/bin/aarch64-linux-android-ld" -Bsymbolic -shared -o obj/Release/aot/arm64-v8a/libaot-Xamarin.Kotlin.StdLib.Jdk7.dll.so.tmp  obj/Release/aot/arm64-v8a/Xamarin.Kotlin.StdLib.Jdk7.dll/temp.s.o --no-relax -s

@akrol95 would you mind building with -bl and then examine the binlog to find a line similar to the above and check if your build passes --no-relax to the linker? If the flag isn't passed, could you modify the linker script used in the above command line to pass the --no-relax flag to the actual linker?

On Unix, the script should be modified to look as follows:

#!/bin/bash -e
MY_DIR="$(cd $(dirname $0);pwd)"
exec "${MY_DIR}"/ld --no-relax "$@"

and on Windows, to:

@echo off
setlocal
set BINARIES_DIRECTORY=%~dp0

set "BINARIES_DIRECTORY=" && "%BINARIES_DIRECTORY%ld.exe" --no-relax %*
if not ERRORLEVEL 0 exit /b %errorlevel%

So for me this line (and all the rest starting with "Executing the native linker...") looks like this: 0>[aot-compiler stdout] Executing the native linker: "/Library/Frameworks/Xamarin.Android.framework/Libraries/xbuild/Xamarin/Android/Darwin/binutils/bin/aarch64-linux-android-ld" -Bsymbolic -shared -o obj/Release/aot/arm64-v8a/libaot-Xamarin.Kotlin.StdLib.Jdk7.dll.so.tmp obj/Release/aot/arm64-v8a/Xamarin.Kotlin.StdLib.Jdk7.dll/temp.s.o -s

Sorry, but I don't get which exact script should I modify. Would you mind describing it more precisely?

grendello commented 1 year ago

Looks like your build isn't passing --no-relax then, ok, that's promising.

The script to edit would be /Library/Frameworks/Xamarin.Android.framework/Libraries/xbuild/Xamarin/Android/Darwin/binutils/bin/aarch64-linux-android-ld in your case (and, potentially, others in the same directory ending with -ld

akrol95 commented 1 year ago

Thank you for clarification. I modified all those scripts, built the app again and it opens and runs properly.

But what's next? What else can I check to have this --no-relax parameter passing to linker in normal conditions?

grendello commented 1 year ago

You can try adding the below property to your csproj, hopefully it works:

<PropertyGroup>
  <AndroidExtraAotOptions>ld-flags=--no-relax -s</AndroidExtraAotOptions>
</PropertyGroup>
akrol95 commented 1 year ago

@grendello I am getting following error and the build crashes:

Target _AndroidAot:
0>[aot-compiler stderr] Can not open image ld-flags=--no-relax
0>[aot-compiler stderr] Can not open image ld-flags=--no-relax
grendello commented 1 year ago

@akrol95 OK, so that didn't work... I'll try to think about some other approach.

grendello commented 1 year ago

@akrol95 we tested Xamarin.Android 13.1.0.1 locally and it built your app properly. I'm afraid we're going to need a binlog from one of your builds (pass -bl to msbuild), to see what exactly is going on. Please build from scratch, thanks!

ghost commented 1 year ago

Hi @akrol95. We have added the "need-info" label to this issue, which indicates that we have an open question for you before we can take further action. This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

jonpryor commented 1 year ago

I'm unable to reproduce the specified crash on macOS using Xamarin.Android 13.1.0.1:

% git clone https://github.com/bcc-code/bmm-app.git
% cd bmm-app
% git checkout crash-on-start
% msbuild -p:Configuration=Release -restore
% msbuild -p:Configuration=Release
% cd BMM.UI.Android
% msbuild -p:Configuration=Release -t:Install -v:diag > b.txt
% msbuild -p:Configuration=Release -t:_Run

b.txt shows that --no-relax is being used, e.g.:

  [AOT] response file obj/Release/aot/armeabi-v7a/Java.Interop.dll/response.txt: "--aot=asmwriter,mtriple=armv7-linux-gnueabi,tool-prefix=/Library/Frameworks/Xamarin.Android.framework/Libraries/xbuild/Xamarin/Android/Darwin/binutils/bin/arm-linux-androideabi-,outfile=obj/Release/aot/armeabi-v7a/libaot-Java.Interop.dll.so,llvm-path=/Library/Frameworks/Xamarin.Android.framework/Libraries/xbuild/Xamarin/Android/Darwin,temp-path=obj/Release/aot/armeabi-v7a/Java.Interop.dll,ld-name=ld,ld-flags=--no-relax -s" …/bmm-app/BMM.UI.Android/obj/Release/android/assets/shrunk/Java.Interop.dll

Additionally, EnableLLVM is not found in b.txt, and $(AndroidNdkDirectory) is set.

That said, the app does crash on startup, but for a different reason; from adb logcat:

E AndroidRuntime: java.lang.RuntimeException: Unable to create service bmm.BmmMessagingService: java.lang.ClassNotFoundException: Didn't find class "bmm.BmmMessagingService" on path: De
xPathList[[zip file "/data/app/~~Pq25oMv7faoUZtt2bGQSbQ==/org.brunstad.bmm-311vZL5HZ-L0WBglMCSGEg==/base.apk"],nativeLibraryDirectories=[/data/app/~~Pq25oMv7faoUZtt2bGQSbQ==/org.brunstad.bmm-311vZL5HZ-L0WBglMCSGEg==/
lib/arm64, /data/app/~~Pq25oMv7faoUZtt2bGQSbQ==/org.brunstad.bmm-311vZL5HZ-L0WBglMCSGEg==/base.apk!/lib/arm64-v8a, /system/lib64, /system_ext/lib64]

I haven't investigated my startup crash further, I just note that it is not an assertion in tramp-arm64.c:53.

jonpryor commented 1 year ago

@jonpryor wrote:

…the app does crash on startup, but for a different reason; from adb logcat:

 AndroidRuntime: java.lang.RuntimeException: Unable to create service bmm.BmmMessagingService: java.lang.ClassNotFoundException: Didn't find class "bmm.BmmMessagingService" on path…

Cursory investigation shows that it fails because the type doesn't exist:

% $ANDROID_SDK_PATH/build-tools/31.0.3/dexdump obj/Release/android/bin/classes.dex | grep BmmMessaging
# no matches

git grep BmmMessagingSer only finds a match in BMM.UI.Android/Properties/AndroidManifest.xml. If I remove/comment out all <service/> elements within AndroidManifest.xml and reinstall. With that change, it doesn't immediately crash on startup. (It also doesn't appear to get past the splash screen…)

jonpryor commented 1 year ago

@akrol95: the likely immediate cause of your issue is: https://github.com/bcc-code/bmm-app/blob/3c498d48f66994a00168f054a68c56aa726235fa/azure-pipelines-android.yaml#L43

  - task: XamarinAndroid@1
    inputs:
      msbuildArguments: '/p:SolutionDir="$(Build.SourcesDirectory)" -p:AndroidPackageFormat=aab -t:SignAndroidPackage -p:AndroidKeyStore=True -p:AndroidNdkDirectory="$(ANDROID_NDK_LATEST_HOME)"'

MSBuild command-line arguments are immutable; they cannot be changed from project files. For example, given x.targets:

<Project>
  <PropertyGroup>
    <Foo>Default</Foo>
  </PropertyGroup>
  <Target Name="PrintFoo">
    <Message Text="Foo=$(Foo)" Importance="High" />
  </Target>
</Project>

If you invoke the PrintFoo target while overriding the Foo property, the value provided on the command-line is used, even though the <Foo/> definition is always provided (i.e. is not Conditional=" '$(Foo)' == '' "):

% msbuild -nologo -v:m x.targets -t:PrintFoo -p:Foo=Override
  Foo=Override

Similarly, if we instead "set and clear" the property:

  <PropertyGroup>
    <Foo>Default</Foo>
    <Foo/>
  </PropertyGroup>

Then the "default" invocation sees an empty string:

% msbuild -nologo -v:m x.targets -t:PrintFoo                
  Foo=

while the above "set an override" version continues to show the override value:

% msbuild -nologo -v:m x.targets -t:PrintFoo -p:Foo=Override
  Foo=Override

If you build x.targets with diagnostic logging enabled (msbuild -v:diag -t:PrintFoo -p:Foo=Override), then the log will contain:

The "Foo" property is a global property, and cannot be modified.

further emphasizing that the property cannot be changed.


Solution/Workaround: If you update azure-pipelines-android.yaml so that -p:AndroidNdkDirectory="$(ANDROID_NDK_LATEST_HOME)" is NOT specified, it should run as expected for you.

akrol95 commented 1 year ago

@jonpryor

I tried you MSBuild commands and the builld output also contains -no-relax in my case, even using 13.1.0.1.

I realized that something is causing the IDE to pass AndroidNdkDirectory parameter to MSBuild even though it's not explicitly set in the code. In desperation, I decided to completely remove the path to NDK in VS Settings:

obraz

And now the build output correctly shows -no-relax for linker, the app works as expected. Also, for the pipeline, removing -p:AndroidNdkDirectory from MSBuild parameter seems to solve the issue.

BTW. Setting AndroidNdkDirectory in .csproj does nothing when building from IDE, because it looks that this value is override anyway from IDE settings and pass as parameter to MSBuild.

@jonpryor @grendello Thank you for your time investigating the issue.

jpobst commented 4 months ago

With support for Classic Xamarin.Android ended May 1st, 2024, this issue is likely no longer relevant.

If this still persists in .NET 8+, please open a new issue with updated information based on net8.0-android or greater. Please include a link to this issue for context.