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

Default application crashes #6865

Closed
arivoir opened this issue Mar 26, 2022 · 9 comments
Closed

Default application crashes #6865

arivoir opened this issue Mar 26, 2022 · 9 comments
Assignees
Labels
Area: App Runtime Issues in `libmonodroid.so`. need-info Issues that need more information from the author.

Comments

@arivoir
Copy link

arivoir commented Mar 26, 2022

Android application type

Android for .NET (net6.0-android, etc.)

Affected platform version

Xamarin.Android SDK 12.2.99.130

Description

When running a native Android application in a real device the app doesn't load

[] unknown opcode name for 400
[libc] check core file limit, limited=1
[libc] Set DISDUMPABLE SUCCESS
[libc] Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 18528 (ame.AndroidApp6), pid 18528 (ame.AndroidApp6)

Steps to Reproduce

  1. Create an empty "Android Application (Preview)"
  2. Run the application in a real device

Did you find any workaround?

No

Relevant log output

[] unknown opcode name for 400
[libc] check core file limit, limited=1
[libc] Set DISDUMPABLE SUCCESS
[libc] Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 18528 (ame.AndroidApp6), pid 18528 (ame.AndroidApp6)
@arivoir arivoir added Area: App Runtime Issues in `libmonodroid.so`. needs-triage Issues that need to be assigned. labels Mar 26, 2022
@arivoir
Copy link
Author

arivoir commented Mar 26, 2022

I'm attaching the repo sample, which is an empty project, just in case
AndroidApp6.zip

@arivoir
Copy link
Author

arivoir commented Mar 26, 2022

The application loads fine in the emulator

image

@arivoir
Copy link
Author

arivoir commented Mar 26, 2022

2022-03-26_15-26-04.24200.monodroid.log
I'm wondering whether this error is related or not

@arivoir
Copy link
Author

arivoir commented Mar 26, 2022

Is there any way to use a preview working SDK? this is completely blocking me

@grendello
Copy link
Contributor

Hi @arivoir, I will need more information from logcat. Can you run the app on device again and record logcat using the following commands:

$ adb shell setprop debug.mono.log default,assembly,timing=bare
$ adb logcat -G 16M
$ adb logcat -c
# Start the app here and wait for it to crash
$ adb logcat -d > logcat.txt

Please attach the resulting logcat.txt

@grendello grendello added need-info Issues that need more information from the author. and removed needs-triage Issues that need to be assigned. labels Mar 28, 2022
@arivoir
Copy link
Author

arivoir commented Mar 28, 2022

There it is logcat.txt

Please let me know if I need to make something else. TIA

@grendello
Copy link
Contributor

@arivoir what device are you running it on? The crash shows it's a 32-bit ARM process, but I can't find any info about the device. The error appears to be in the runtime, likely a JIT error, but it might also be something else. Are you using hot reload/fast dev?

@arivoir
Copy link
Author

arivoir commented Mar 30, 2022

The phone is a "ZTE Blade A3 2020"
I attached the project that reproduces the issue. I'm not sure about hot-reload, and I had to remove Visual Studio 2022 Preview because it was hanging and I needed to continue working https://developercommunity.visualstudio.com/t/doc-file-has-been-corrupted-error-after-/1696824#T-ND10000615.

@ghost
Copy link

ghost commented Jun 1, 2022

Hi @arivoir. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you.

@ghost ghost closed this as completed Jun 1, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Jul 2, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: App Runtime Issues in `libmonodroid.so`. need-info Issues that need more information from the author.
Projects
None yet
Development

No branches or pull requests

2 participants