Skip to content

"Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)" native fault during C# exception handling on ARM64 devices #3112

@bencat86

Description

@bencat86

Steps to Reproduce

  1. Debug app on device
  2. App deploys
  3. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugComponent does not function as intended.regression

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions