android: "Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)" native fault during C# exception handling on ARM64 devices
Steps to Reproduce
- Debug app on device
- App deploys
- App tries to launch but crashes immediately
Expected Behavior
No crash
Actual Behavior
App crashes immediately when trying to debug on target device.
Version Information
Microsoft Visual Studio Enterprise 2019
Version 16.1.0
VisualStudio.16.Release/16.1.0+28917.181
Microsoft .NET Framework
Version 4.7.03190
Installed Version: Enterprise
Visual C++ 2019 00435-60000-00000-AA300
Microsoft Visual C++ 2019
ADL Tools Service Provider 1.0
This package contains services used by Data Lake tools
Application Insights Tools for Visual Studio Package 9.1.00429.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2019 16.1.429.50124
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019 16.1.429.50124
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0 16.1.429.50124
Azure App Service Tools v3.0.0
Azure Data Lake Node 1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio 2.3.9000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools 16.1.429.50124
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio 2.3.9000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools 3.1.0-beta4-19266-03+9d80dea7fe1b14043b9b2ac4d0b59ed26f508742
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus 1.1.77 (master@24013d5)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events
IntelliCode Extension 1.0
IntelliCode Visual Studio Extension Detailed Info
JetBrains ReSharper Ultimate 2019.1.1 Build 191.0.20190501.122851
JetBrains ReSharper Ultimate package for Microsoft Visual Studio. For more information about ReSharper Ultimate, visit http://www.jetbrains.com/resharper. Copyright © 2019 JetBrains, Inc.
Microsoft Azure HDInsight Azure Node 2.3.9000.0
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.3.9000.0
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 2.5
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.3.9000.0
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node 1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 0x10 - v2.9.20419.2
Microsoft Continuous Delivery Tools for Visual Studio 0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager 1.0
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards 1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers 1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package 1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio 16.1.1 (2473f22)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager 5.1.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension 1.0
ResourcePackage Visual Studio Extension Detailed Info
Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info
SQL Server Data Tools 16.0.61904.23160
Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
TypeScript Tools 16.0.10506.2004
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools 3.1.0-beta4-19266-03+9d80dea7fe1b14043b9b2ac4d0b59ed26f508742
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.4 for F# 4.6 16.1.0-beta.19253.3+42526fe359672a05fd562dc16a91a43d0fe047a7
Microsoft Visual F# Tools 10.4 for F# 4.6
Visual Studio Code Debug Adapter Host Package 1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Containers 1.0
Visual Studio Tools for Containers
Visual Studio Tools for Kubernetes 1.0
Visual Studio Tools for Kubernetes
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 16.1.0.542 (d16-1@68b985244)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer 16.1.0.418 (remotes/origin/d16-1@5b958bb10)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates 16.2.112 (4db4af4)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK 9.3.0.22 (HEAD/8e7764fdf)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: mono/mono/2018-08@3cb36842fc4
Java.Interop: xamarin/java.interop/d16-1@5ddc3e3
LibZipSharp: grendello/LibZipSharp/d16-1@44de300
LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.27.1@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-1@acabd26
Xamarin.iOS and Xamarin.Mac SDK 12.10.0.153 (750a879)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.
Log File
=================================================================
Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
=================================================================
Basic Fault Adddress Reporting05-22 15:17:13.732 E/mono-rt (18283): /proc/self/maps:
=================================================================
Memory around native instruction pointer (0x7d29637678):0x7d29637668 00 1c 40 b9 c0 03 5f d6 fd 7b bf a9 fd 03 00 91 ..@..._..{......
0x7d29637678 08 20 40 b9 a8 00 c8 37 88 01 e0 37 00 00 40 f9 05-22 15:17:13.732 E/mono-rt (18283): 12c00000-12d40000 rw-p 00000000 00:01 19702 /dev/ashmem/dalvik-main space (region space) (deleted)
. @....7...7..@.
0x7d29637688 fd 7b c1 a8 c0 03 5f d6 60 08 00 b0 01 0a 00 f0 .{...._.`.......
0x7d29637698 03 0a 00 f0 00 24 06 91 21 80 08 91 63 8c 0a 91 .....$..!...c...
No native Android stacktrace (see debuggerd output).
=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
at WP1_Tablet.Shared.App:.ctor <0x00087>
at WP1_Tablet.Droid.MainActivity:OnCreate <0x008a3>
at Android.App.Activity:n_OnCreate_Landroid_os_Bundle_ <0x000ef>
at Android.Runtime.DynamicMethodNameCounter:7 <0x00027>
at Android.Runtime.DynamicMethodNameCounter:7 <0x000cf>
=================================================================05-22 15:17:13.732 E/mono-rt (18283): 12d40000-1b500000 ---p 00140000 00:01 19702 /dev/ashmem/dalvik-main space (region space) (deleted)
05-22 15:17:13.732 E/mono-rt (18283): 1b500000-1b7c0000 ---p 08900000 00:01 19702 /dev/ashmem/dalvik-main space (region space) (deleted)
05-22 15:17:13.732 E/mono-rt (18283): 1b7c0000-1b800000 rw-p 08bc0000 00:01 19702 /dev/ashmem/dalvik-main space (region space) (deleted)
05-22 15:17:13.732 E/mono-rt (18283): 1b800000-1e0c0000 ---p 08c00000 00:01 19702 /dev/ashmem/dalvik-main space (region space) (deleted)
05-22 15:17:13.732 E/mono-rt (18283): 1e0c0000-52c00000 rw-p 0b4c0000 00:01 19702 /dev/ashmem/dalvik-main space (region space) (deleted)
05-22 15:17:13.732 E/mono-rt (18283): 70b7d000-70b92000 rw-p 00000000 fd:01 442539 /data/dalvik-cache/arm64/system@framework@boot.art
05-22 15:17:13.732 E/mono-rt (18283): 70b92000-70b93000 rw-p 00000000 fd:01 442542 /data/dalvik-cache/arm64/system@framework@boot-com.qualcomm.qti.camera.art
05-22 15:17:13.732 E/mono-rt (18283): 70b93000-70b95000 rw-p 00000000 fd:01 442543 /data/dalvik-cache/arm64/system@framework@boot-QPerformance.art
05-22 15:17:13.732 E/mono-rt (18283): 70b95000-70dc3000 rw-p 00000000 fd:01 442546 /data/dalvik-cache/arm64/system@framework@boot-core-oj.art
05-22 15:17:13.732 E/mono-rt (18283): 70dc3000-70e88000 rw-p 00000000 fd:01 442551 /data/dalvik-cache/arm64/system@framework@boot-core-libart.art
05-22 15:17:13.732 E/mono-rt (18283): 70e88000-70ed2000 rw-p 00000000 fd:01 442555 /data/dalvik-cache/arm64/system@framework@boot-conscrypt.art
05-22 15:17:13.732 E/mono-rt (18283): 70ed2000-70efe000 rw-p 00000000 fd:01 442557 /data/dalvik-cache/arm64/system@framework@boot-okhttp.art
05-22 15:17:13.732 E/mono-rt (18283): 70efe000-70f2f000 rw-p 00000000 fd:01 442558 /data/dalvik-cache/arm64/system@framework@boot-bouncycastle.art
05-22 15:17:13.732 E/mono-rt (18283): 70f2f000-70f3f000 rw-p 00000000 fd:01 442559 /data/dalvik-cache/arm64/system@framework@boot-apache-xml.art
05-22 15:17:13.732 E/mono-rt (18283): 70f3f000-70f44000 rw-p 00000000 fd:01 442560 /data/dalvik-cache/arm64/system@framework@boot-legacy-test.art
05-22 15:17:13.732 E/mono-rt (18283): 70f44000-70f6f000 rw-p 00000000 fd:01 442561 /data/dalvik-cache/arm64/system@framework@boot-ext.art
05-22 15:17:13.732 E/mono-rt (18283): 70f6f000-71568000 rw-p 00000000 fd:01 442562 /data/dalvik-cache/arm64/system@framework@boot-framework.art
05-22 15:17:13.732 E/mono-rt (18283): 71568000-715ac000 rw-p 00000000 fd:01 442563 /data/dalvik-cache/arm64/system@framework@boot-telephony-common.art
05-22 15:17:13.732 E/mono-rt (18283): 715ac000-715b7000 rw-p 00000000 fd:01 442564 /data/dalvik-cache/arm64/system@framework@boot-voip-common.art
05-22 15:17:13.732 E/mono-rt (18283): 715b7000-715c2000 rw-p 00000000 fd:01 442565 /data/dalvik-cache/arm64/system@framework@boot-ims-common.art
05-22 15:17:13.732 E/mono-rt (18283): 715c2000-715e8000 rw-p 00000000 fd:01 442566 /data/dalvik-cache/arm64/system@framework@boot-org.apache.http.legacy.boot.art
05-22 15:17:13.732 E/mono-rt (18283): 715e8000-715ea000 rw-p 00000000 fd:01 442567 /data/dalvik-cache/arm64/system@framework@boot-android.hidl.base-V1.0-java.art
05-22 15:17:13.732 E/mono-rt (18283): 715ea000-715ed000 rw-p 00000000 fd:01 442568 /data/dalvik-cache/arm64/system@framework@boot-android.hidl.manager-V1.0-java.art
05-22 15:17:13.732 E/mono-rt (18283): 715ed000-715ee000 rw-p 00000000 fd:01 442569 /data/dalvik-cache/arm64/system@framework@boot-tcmiface.art
05-22 15:17:13.748 F/libc (18283): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x20 in tid 18283 (_Tablet.Android), pid 18283 (_Tablet.Android)
VS bug #897846
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 49 (18 by maintainers)
Commits related to this issue
- [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://github.com/xamarin/xamarin-android/issues/3112 The `call_filter()` function generate... — committed to lewurm/mono by brendanzagaeski 7 years ago
- [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://github.com/xamarin/xamarin-android/issues/3112 The `call_filter()` function generate... — committed to monojenkins/mono by brendanzagaeski 7 years ago
- [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://github.com/xamarin/xamarin-android/issues/3112 The `call_filter()` function generate... — committed to monojenkins/mono by brendanzagaeski 7 years ago
- [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://github.com/xamarin/xamarin-android/issues/3112 The `call_filter()` function generate... — committed to monojenkins/mono by brendanzagaeski 7 years ago
- [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://github.com/xamarin/xamarin-android/issues/3112 The `call_filter()` function generate... — committed to monojenkins/mono by brendanzagaeski 7 years ago
- [2018-08] [arm64] Correct exception filter stack frame size (#14769) [2018-08] [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://gith... — committed to mono/mono by monojenkins 7 years ago
- [2019-02] [arm64] Correct exception filter stack frame size (#14768) [2019-02] [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://gith... — committed to mono/mono by monojenkins 7 years ago
- [2019-06] [arm64] Correct exception filter stack frame size (#14770) [2019-06] [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://gith... — committed to mono/mono by monojenkins 7 years ago
- [2018-10] [arm64] Correct exception filter stack frame size (#14767) [2018-10] [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://gith... — committed to mono/mono by monojenkins 7 years ago
- [arm64] Correct exception filter stack frame size (#14757) * [arm64] Correct exception filter stack frame size Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://github.com/xamarin/x... — committed to mono/mono by brendanzagaeski 7 years ago
- Bump to mono/mono/2019-02@c6edaa62 Fixes: https://github.com/mono/mono/issues/14214 Fixes: https://github.com/mono/mono/issues/14366 Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://gi... — committed to jonpryor/xamarin-android by jonpryor 7 years ago
- Bump to mono/mono/2019-02@c6edaa62 (#3173) Fixes: https://github.com/mono/mono/issues/14214 Fixes: https://github.com/mono/mono/issues/14366 Fixes: https://github.com/mono/mono/issues/14170 Fixes:... — committed to dotnet/android by jonpryor 7 years ago
- Bump to mono/mono/2019-02@c6edaa62 (#3173) Fixes: https://github.com/mono/mono/issues/14214 Fixes: https://github.com/mono/mono/issues/14366 Fixes: https://github.com/mono/mono/issues/14170 Fixes:... — committed to dotnet/android by jonpryor 7 years ago
- Bump to mono/mono/2018-08@3a07bd42 Fixes: https://github.com/mono/mono/issues/14170 Fixes: https://github.com/xamarin/xamarin-android/issues/3112 — committed to dotnet/android by jonpryor 7 years ago
- Bump to mono/mono/2019-08@29b1ac19 (#3449) Changes: http://github.com/mono/mono/compare/2c3aeaf3780de7392a0d3cbe4dcf86846eb4dffa...29b1ac19c961b959a09097dbc0fe4cd567cc5298 $ git diff --shortstat ... — committed to dotnet/android by directhex 7 years ago
- Bump to mono/mono/2019-08@29b1ac19 (#3449) Changes: http://github.com/mono/mono/compare/2c3aeaf3780de7392a0d3cbe4dcf86846eb4dffa...29b1ac19c961b959a09097dbc0fe4cd567cc5298 $ git diff --shortstat 2c... — committed to jonpryor/xamarin-android by directhex 7 years ago
- Bump to mono/mono/2019-08@29b1ac19 (#3449) (#3597) Changes: http://github.com/mono/mono/compare/2c3aeaf3780de7392a0d3cbe4dcf86846eb4dffa...29b1ac19c961b959a09097dbc0fe4cd567cc5298 $ git diff --sh... — committed to dotnet/android by jonpryor 7 years ago
Candidate development installer packages that include the fix:
I did a quick sanity check of these packages to verify that I could run a couple of the test cases successfully. That said, note that these are not fully validated packages. They should be considered experimental for now until they have been published as part of Visual Studio.
Installing and uninstalling these experimental packages
For either installer, ensure that the file downloads with the correct extension, and then double-click it to install. When running the .vsix installer on Windows, be sure to select only Visual Studio 2019 if you have multiple versions of Visual Studio installed.
When this Xamarin.Android package is installed, Visual Studio for Mac will offer to downgrade back to version Xamarin.Android SDK version 9.3.0.22, so you will need to ignore that update to keep using this experimental version, until the newer Xamarin.Android version is published to the Visual Studio for Mac updater channel. On the other hand, if you wish to revert to Xamarin.Android SDK version 9.3.0.22 after trying the experimental package, then you can apply the older version from the updater.
If you wish to revert to Xamarin.Android SDK version 9.3.0.22 in Visual Studio on Windows, navigate to Extensions > Manage Extensions, select the Xamarin.Android SDK entry, and click Revert.
Windows fix published. The new Xamarin.Android SDK version 9.3.0.23 that includes the fix for this issue has now been published as part of Visual Studio 2019 version 16.1.4. Check for the latest updates or install the most recent release from https://visualstudio.microsoft.com/downloads/ to get the fix.
macOS fix published. The new Xamarin.Android SDK version 9.3.0.23 that includes the fix for this issue has now been released in the Stable updater channel in Visual Studio for Mac. Check for the latest updates or install the most recent release from https://visualstudio.microsoft.com/downloads/ to get the fix.
Thanks again for submitting this report that helped bring the fix to Visual Studio!
Reopening for now to use the closed status of this item to indicate when the fix is published.
crash when clearing entry binded to numeric solved (https://github.com/xamarin/Xamarin.Forms/issues/6336) . thanks
The visx package is working for us. We’ve successfully tested with three devices that weren’t working previously. Thanks!
Reopening for now to use the closed status of this item to indicate when the fix is published.
I’m not too sure yet of the timeline for a release with a fix. Historically, the time between Visual Studio 2017 version 15.x.x updates was under a month, and so far the time between Visual Studio 2019 version 16.0.x updates has been at most 2 weeks. I’m definitely hoping that a fix for this issue can be included in the soonest possible 16.1.x update.
Hopefully there will be more news this week about this issue and the progress toward releasing a fix. I will keep this issue updated with anything useful I learn outside of this issue.
my case also fixed. thank you again
Ok, I can confirm that updating VS to 16.1.4 fixed the issue for me. Thanks!
Installed, recompiled, debugged. Seems to work fine! Thanks @brendanzagaeski and others!
I started experiencing this after the latest update, but in my case it was NOT resolved by installing the VSIX above. However, this only happens on release builds, and the problem dissapears when changing from D8/R8 to Proguard, but the (unmodified) code worked perfectly with R8/D8 before the update.
Xamarin.Android WebClient app crash without an internet connection is fixed with Xamarin.Android.Sdk.9.3.0.23.vsix Thanks for fix
@brendanzagaeski: do you have a sense of when a fix for this issue might come out? I’m dead in the water right now, and weighing the cost of downgrading to 16.0 vs. waiting.