Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many in-the-wild SIGABRT crashes in MonodroidRuntime::mono_log_handler #12367

Closed
BioTurboNick opened this issue Dec 31, 2022 · 6 comments
Closed
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) partner/android Issues for the Android SDK platform/android 🤖 s/needs-info Issue needs more info from the author t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)

Comments

@BioTurboNick
Copy link
Contributor

BioTurboNick commented Dec 31, 2022

Description

[split_config.arm64_v8a.apk!libmono-android.release.so] xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 13332 >>> com.NicholasBauer.HemocytometerSidekick.XF <<<

backtrace:
  #00  pc 0x000000000008a074  /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
  #01  pc 0x00000000000474c8  /data/app/~~KlbFaUHkjJZchSzb2QeIkw==/com.NicholasBauer.HemocytometerSidekick.XF-fwdHMoy4OTEYPi332AyUng==/split_config.arm64_v8a.apk!libmono-android.release.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+144)
  #02  pc 0x00000000002da93c  /data/app/~~KlbFaUHkjJZchSzb2QeIkw==/com.NicholasBauer.HemocytometerSidekick.XF-fwdHMoy4OTEYPi332AyUng==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #03  pc 0x00000000002daa68  /data/app/~~KlbFaUHkjJZchSzb2QeIkw==/com.NicholasBauer.HemocytometerSidekick.XF-fwdHMoy4OTEYPi332AyUng==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #04  pc 0x00000000002daaac  /data/app/~~KlbFaUHkjJZchSzb2QeIkw==/com.NicholasBauer.HemocytometerSidekick.XF-fwdHMoy4OTEYPi332AyUng==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #05  pc 0x0000000000252f50  /data/app/~~KlbFaUHkjJZchSzb2QeIkw==/com.NicholasBauer.HemocytometerSidekick.XF-fwdHMoy4OTEYPi332AyUng==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #06  pc 0x0000000000265b18  /data/app/~~KlbFaUHkjJZchSzb2QeIkw==/com.NicholasBauer.HemocytometerSidekick.XF-fwdHMoy4OTEYPi332AyUng==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #07  pc 0x0000000000004f00 

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 16037 >>> com.NicholasBauer.HemocytometerSidekick.XF <<<

backtrace:
  #00  pc 0x000000000008a134  /apex/com.android.runtime/lib64/bionic/libc.so (abort+180)
  #01  pc 0x00000000000474c8  /data/app/~~WTuK0uw8fqhGTqXJ4dFzvw==/com.NicholasBauer.HemocytometerSidekick.XF-my7kHrJ_eskZS0xWk2RPfQ==/split_config.arm64_v8a.apk!libmono-android.release.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+144)
  #02  pc 0x00000000002da93c  /data/app/~~WTuK0uw8fqhGTqXJ4dFzvw==/com.NicholasBauer.HemocytometerSidekick.XF-my7kHrJ_eskZS0xWk2RPfQ==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #03  pc 0x00000000002daa68  /data/app/~~WTuK0uw8fqhGTqXJ4dFzvw==/com.NicholasBauer.HemocytometerSidekick.XF-my7kHrJ_eskZS0xWk2RPfQ==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #04  pc 0x00000000002daaac  /data/app/~~WTuK0uw8fqhGTqXJ4dFzvw==/com.NicholasBauer.HemocytometerSidekick.XF-my7kHrJ_eskZS0xWk2RPfQ==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #05  pc 0x0000000000252f50  /data/app/~~WTuK0uw8fqhGTqXJ4dFzvw==/com.NicholasBauer.HemocytometerSidekick.XF-my7kHrJ_eskZS0xWk2RPfQ==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #06  pc 0x0000000000265b18  /data/app/~~WTuK0uw8fqhGTqXJ4dFzvw==/com.NicholasBauer.HemocytometerSidekick.XF-my7kHrJ_eskZS0xWk2RPfQ==/split_config.arm64_v8a.apk!libmonosgen-2.0.so
  #07  pc 0x0000000000004f00 

image

I released my first MAUI version of the app on Christmas.

These are reported in Google Play Console, but not reported in Microsoft AppCenter. I haven't observed this crash in person.

Steps to Reproduce

🤷‍♂️

Link to public reproduction project repository

n/a

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 10 and up

Did you find any workaround?

No response

Relevant log output

No response

@BioTurboNick BioTurboNick added the t/bug Something isn't working label Dec 31, 2022
@BioTurboNick BioTurboNick changed the title Many in-the-wild SIGABRT crashes in MonoRuntime::mono_log_handler Many in-the-wild SIGABRT crashes in MonodroidRuntime::mono_log_handler Dec 31, 2022
@BioTurboNick
Copy link
Contributor Author

Maybe due to having LLVM turned on: dotnet/android#7588

@rachelkang
Copy link
Member

@jonathanpeppers any thoughts on this one?

@rachelkang rachelkang added platform/android 🤖 legacy-area-perf Startup / Runtime performance area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) partner/android Issues for the Android SDK labels Jan 4, 2023
@jonathanpeppers
Copy link
Member

I would recommend turning off either LLVM or profiled AOT until this is resolved:

dotnet/runtime#79910 (comment)

It appears some apps can crash when using both settings at once.

@BioTurboNick
Copy link
Contributor Author

Ah, thank you!

@rachelkang rachelkang added the s/needs-info Issue needs more info from the author label Jan 5, 2023
@ghost
Copy link

ghost commented Jan 5, 2023

Hi @BioTurboNick. We have added the "s/needs-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.

@ghost ghost added the s/no-recent-activity Issue has had no recent activity label Jan 9, 2023
@ghost
Copy link

ghost commented Jan 9, 2023

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. If it is closed, feel free to comment when you are able to provide the additional information and we will re-investigate.

@ghost ghost closed this as completed Jan 12, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Feb 11, 2023
@Eilon Eilon added t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf) and removed legacy-area-perf Startup / Runtime performance labels May 10, 2024
@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label May 10, 2024
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-publishing Issues with the app packaging/publishing process (ipk/apk/msix/trimming) partner/android Issues for the Android SDK platform/android 🤖 s/needs-info Issue needs more info from the author t/bug Something isn't working t/perf The issue affects performance (runtime speed, memory usage, startup time, etc.) (sub: perf)
Projects
None yet
Development

No branches or pull requests

4 participants