Skip to content

Encountering segfault after MonoTests.System.Linq.Expressions.ExpressionTest_MemberBind on 32bit Android devices when using AOT+LLVM #1447

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

Closed
pjcollins opened this issue Mar 20, 2018 · 4 comments
Labels
Area: Mono Runtime Mono-related issues: BCL bugs, AOT issues, etc. Area: Unit Tests Issues with repo unit tests.

Comments

@pjcollins
Copy link
Member

Somewhat similar to #1444, I'm also hitting a segfault when running the new set of NUnit BCL tests on the majority of "older" devices when compiled in Release mode with both AOT+LLVM enabled. Given the timing and a quick review of the test runner, this crash is potentially occurring during a GC attempt after the fixture completes?

The same set of tests execute successfully without crashing on newer 64bit devices when both AOT and LLVM are enabled, however there are some new failures (which I will file as a separate issue).

Steps to Reproduce

  1. Download prebuilt .apk file, and run it on an older device:

adb install 15-7-aotllvm-Xamarin.Android.Bcl_Tests-Signed.apk
adb shell am instrument -w Xamarin.Android.Bcl_Tests/xamarin.android.bcltests.NUnitInstrumentation

Details

Link to .apk file - https://microsoft-my.sharepoint.com/:u:/p/pecolli/EYrN-tuwhJFJmkrnwj5vAgIBzEQFPGZkCUcmSkNMJUYMUg?e=LBt3gv
Link to obj output - https://microsoft-my.sharepoint.com/:u:/p/pecolli/EXGoMM2LZURMhg8mPY8IUyoBgDudDiDsjXrLA86zaPjHSQ?e=3YL4a8

Version Information

Windows 10 w/ VS 15.7
Xamarin.Android SDK 8.3.0.5 (HEAD/1a8ed5388)

Log File

Nexus 10 v5.1.1 (armeabi-v7a) - http://xqa.blob.core.windows.net/gist/log-56e8718213e442b786d5bc0446febaad.txt
Nexus 5 v6.0 (armeabi-v7a) - https://gist.githubusercontent.com/pjcollins/a0f65c74caf7cebe64cc6685ad05a821/raw/351c559bf50bf40719ff6a9c0b86d66edabd9449/gistfile1.txt

@pjcollins pjcollins added the Area: Unit Tests Issues with repo unit tests. label Mar 20, 2018
@pjcollins pjcollins added this to the d15-7 milestone Mar 20, 2018
@grendello
Copy link
Contributor

Assesment: possible duplicated (or very closely related) of issue #1444

@luhenry
Copy link
Contributor

luhenry commented Apr 4, 2018

/cc @vargaz could you please take a look?

@pjcollins
Copy link
Member Author

I'm going to remove the d15-7 milestone at this point based on related severity/priority discussions.

@pjcollins
Copy link
Member Author

This is still reproducible with d15-8. I've moved this to the mono repo: mono/mono#9345

@ghost ghost locked as resolved and limited conversation to collaborators Jun 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area: Mono Runtime Mono-related issues: BCL bugs, AOT issues, etc. Area: Unit Tests Issues with repo unit tests.
Projects
None yet
Development

No branches or pull requests

4 participants