Skip to content
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

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. #3257

Closed
Cacata opened this issue Jan 18, 2018 · 8 comments
Labels
iOS Issues affecting Xamarin.iOS need-info Waiting for more information before the bug can be investigated support The issue is related to support

Comments

@Cacata
Copy link

Cacata commented Jan 18, 2018

Steps to Reproduce

  1. Building my Xamarin.iOS project.
  2. Deploying project in iOS Device.

Expected Behavior

I expect that my app runs without errors or other kind of exception.

Actual Behavior

When app is deploying on the selected device the error launched.

Environment

Microsoft Visual Studio Enterprise 2017
Version 15.5.3
VisualStudio.15.Release/15.5.3+27130.2020
Microsoft .NET Framework
Version 4.7.02556

Installed Version: Enterprise

Visual Basic 2017 00369-60000-00001-AA412
Microsoft Visual Basic 2017

Visual C# 2017 00369-60000-00001-AA412
Microsoft Visual C# 2017

Visual F# 4.1 00369-60000-00001-AA412
Microsoft Visual F# 4.1

Application Insights Tools for Visual Studio Package 8.10.01106.1
Application Insights Tools for Visual Studio

ASP.NET and Web Tools 2017 15.0.31127.0
ASP.NET and Web Tools 2017

ASP.NET Core Razor Language Services 1.0
Provides languages services for ASP.NET Core Razor.

ASP.NET Web Frameworks and Tools 2017 5.2.51007.0
For additional information, visit https://www.asp.net/

Azure App Service Tools v3.0.0 15.0.31106.0
Azure App Service Tools v3.0.0

Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

JavaScript Language Service 2.0
JavaScript Language Service

JavaScript Project System 2.0
JavaScript Project System

JavaScript UWP Project System 2.0
JavaScript UWP Project System

Merq 1.1.17-rc (cba4571)
Command Bus, Event Stream and Async Manager for Visual Studio extensions.

Microsoft Azure Tools 2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.51120.3

Microsoft Continuous Delivery Tools for Visual Studio 0.3
Simplifying the configuration of continuous build integration and continuous build delivery 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 MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers

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 4.8.4-pre (3fe64e3)
Support for debugging Mono processes with Visual Studio.

Node.js Tools 1.4.11025.7
Adds support for developing and debugging Node.js apps in Visual Studio

NuGet Package Manager 4.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

Snapshot Debugging Extension 1.0
Snapshot Debugging Visual Studio Extension Detailed Info

SQL Server Data Tools 15.1.61710.120
Microsoft SQL Server Data Tools

TypeScript Tools 15.5.11025.1
TypeScript Tools for Microsoft Visual Studio

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 Universal Windows Apps 15.0.27130.2020
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.

VisualStudio.Mac 1.0
Mac Extension for Visual Studio

Xamarin 4.8.0.757 (7f9ec2a)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.

Xamarin Designer 4.8.188 (c5813fa34)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.

Xamarin.Android SDK 8.1.3.0 (HEAD/ef47226b7)
Xamarin.Android Reference Assemblies and MSBuild support.

Xamarin.iOS and Xamarin.Mac SDK 11.6.1.2 (6857dfc)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

###Build Logs

Build-Log.txt

@Cacata
Copy link
Author

Cacata commented Jan 18, 2018

Please, somebody can help me with this. I don't know what I have to do!

@timrisi timrisi added the need-info Waiting for more information before the bug can be investigated label Jan 19, 2018
@timrisi
Copy link
Contributor

timrisi commented Jan 19, 2018

Do you have a test project you can share that reproduces the crash?

@timrisi
Copy link
Contributor

timrisi commented Jan 19, 2018

Also, does it only crash on device, or in the simulator as well?

@Cacata
Copy link
Author

Cacata commented Jan 19, 2018

@timrisi I don't have a test project, and I can't share my source code for privacy reasons.

The crash only happens when deploying on the device (iPad Air 2, iOS 11.2.2), but builds with no problems.

@Cacata
Copy link
Author

Cacata commented Jan 19, 2018

image

An image from my Xamarin.iOS project property.

@timrisi timrisi added the pr-need-sample The pull request need a sample label Jan 19, 2018
@timrisi
Copy link
Contributor

timrisi commented Jan 19, 2018

The broader developer community would be the best and quickest place for additional troubleshooting help on this issue.
Posting a question on Stack Overflow [0] or the Xamarin Forums [1] would be the best next step.

[0] https://stackoverflow.com/questions/tagged/xamarin
[1] https://forums.xamarin.com/categories/ios

If you believe this is a bug in the Xamarin project as opposed to something in the specific project, we need a test case to be able to be able to reproduce the issue.

In case it might also be a helpful reference, you can find some general recommendations on the best places to ask various kinds of questions about Xamarin on:

https://developer.xamarin.com/guides/cross-platform/troubleshooting/support-options/

@spouliot spouliot added iOS Issues affecting Xamarin.iOS and removed pr-need-sample The pull request need a sample labels Feb 4, 2018
@spouliot
Copy link
Contributor

spouliot commented Feb 4, 2018

There's sadly nothing actionable in the bug report. Please try to either

a. best - reduce your application (removing code) as much as possible while being able to reproduce the crash. When it cannot be reduced anymore share this code with us (it can be done thru bugzilla, or another mechanism, to ensure it remains private);

b. Attach the symbolicated crash report (from the device) to this issue. This might give us some clues - depending on the type of crash. Also the device logs might contain additional details (attach it as well)

@Cacata
Copy link
Author

Cacata commented Feb 13, 2018

Thanks a lot for your help. I've been just update my testing device (iPad Air 2)to the new 11.2.5 iOS version and the App it's running again.

@Cacata Cacata closed this as completed Feb 13, 2018
@rolfbjarne rolfbjarne added the support The issue is related to support label Sep 7, 2018
@ghost ghost locked as resolved and limited conversation to collaborators May 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Issues affecting Xamarin.iOS need-info Waiting for more information before the bug can be investigated support The issue is related to support
Projects
None yet
Development

No branches or pull requests

4 participants