.net - Xamarin Android App Crash on Android 15: mono-context.c:474, condition 'fpctx->head.magic == FPSIMD_MAGIC&

I am encountering a crash in my Xamarin Android application, but it occurs only on Android 15. The app

I am encountering a crash in my Xamarin Android application, but it occurs only on Android 15. The app crashes with the following error:

* Assertion at /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/mono/utils/mono-context.c:474, condition `fpctx->head.magic == FPSIMD_MAGIC' not met
2024-11-13 16:54:47.140  4870-4925  libc                    com.leadrat.black.mobile.droid       A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 4925 (Finalizer), pid 4870 (ck.mobile.droid)
2024-11-13 16:54:48.269  4929-4929  DEBUG                   crash_dump64                         A  Cmdline: com.leadrat.black.mobile.droid
2024-11-13 16:54:48.269  4929-4929  DEBUG                   crash_dump64                         A  pid: 4870, tid: 4925, name: Finalizer  >>> com.leadrat.black.mobile.droid <<<
2024-11-13 16:54:48.288  4929-4929  DEBUG                   crash_dump64                         A        #01 pc 000000000028f7bc  /data/app/~~4UFGvtgS82JG2q09-eSKFg==/com.leadrat.black.mobile.droid--whkq7HH4uYUPnsFZLX53w==/split_config.arm64_v8a.apk!libmonosgen-2.0.so (offset 0xbef000) (monoeg_assert_abort+24)

Context: Platform: Xamarin.Forms targeting Android Device: Crashes only on Android 15 (other versions work fine) Mono Runtime Version: Embedded runtime is used Error Trigger: Happens inconsistently, often during finalizer thread execution or background tasks.

Steps Taken: Updated the full SDK to the latest version. Adjusted the target version based on project requirements. Verified all managed objects are properly disposed. Checked for memory leaks and ensured memory usage is under limits. Reviewed custom P/Invoke calls for compatibility issues. Verified all dependencies are updated to their latest versions.

Questions: What does the FPSIMD_MAGIC assertion failure signify on Android 15? Could this be related to changes in Android 15's runtime or Mono compatibility? Are there any specific debugging steps to isolate this issue on Android 15?

Any insights or suggestions to resolve this issue would be greatly appreciated.

I am encountering a crash in my Xamarin Android application, but it occurs only on Android 15. The app crashes with the following error:

* Assertion at /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/mono/utils/mono-context.c:474, condition `fpctx->head.magic == FPSIMD_MAGIC' not met
2024-11-13 16:54:47.140  4870-4925  libc                    com.leadrat.black.mobile.droid       A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 4925 (Finalizer), pid 4870 (ck.mobile.droid)
2024-11-13 16:54:48.269  4929-4929  DEBUG                   crash_dump64                         A  Cmdline: com.leadrat.black.mobile.droid
2024-11-13 16:54:48.269  4929-4929  DEBUG                   crash_dump64                         A  pid: 4870, tid: 4925, name: Finalizer  >>> com.leadrat.black.mobile.droid <<<
2024-11-13 16:54:48.288  4929-4929  DEBUG                   crash_dump64                         A        #01 pc 000000000028f7bc  /data/app/~~4UFGvtgS82JG2q09-eSKFg==/com.leadrat.black.mobile.droid--whkq7HH4uYUPnsFZLX53w==/split_config.arm64_v8a.apk!libmonosgen-2.0.so (offset 0xbef000) (monoeg_assert_abort+24)

Context: Platform: Xamarin.Forms targeting Android Device: Crashes only on Android 15 (other versions work fine) Mono Runtime Version: Embedded runtime is used Error Trigger: Happens inconsistently, often during finalizer thread execution or background tasks.

Steps Taken: Updated the full SDK to the latest version. Adjusted the target version based on project requirements. Verified all managed objects are properly disposed. Checked for memory leaks and ensured memory usage is under limits. Reviewed custom P/Invoke calls for compatibility issues. Verified all dependencies are updated to their latest versions.

Questions: What does the FPSIMD_MAGIC assertion failure signify on Android 15? Could this be related to changes in Android 15's runtime or Mono compatibility? Are there any specific debugging steps to isolate this issue on Android 15?

Any insights or suggestions to resolve this issue would be greatly appreciated.

Share Improve this question asked Nov 21, 2024 at 6:00 amitpandey00amitpandey00 1
Add a comment  | 

1 Answer 1

Reset to default 0

You will probably get a quicker resolution if you report it to the .NET Android team. See https://github/dotnet/android, then Issues and file the issue.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742310977a4419888.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信