admin管理员组文章数量:1332881
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 11 Answer
Reset to default 0You 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.
本文标签:
版权声明:本文标题:.net - Xamarin Android App Crash on Android 15: mono-context.c:474, condition 'fpctx->head.magic == FPSIMD_MAGIC& 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742310976a2450865.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论