-
Notifications
You must be signed in to change notification settings - Fork 533
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
SIGSEGV crash while running/debugging #1157
Comments
Video of the crash here: https://youtu.be/p7yGBLKRmf0 |
I suspect that the Visual Studio Output window may be filtering the output; in particular, the output you provided is all coming from PID 8806 and/or stdout/stderr of the application. Could you please run the following before launching the app within a command-line console (
This will continue running. While it's running, debug your app as you did before, and after the crash you can return to the console and hit Ctrl+C. Then, please attach |
Hi Jon, here it is, thanks. |
On the plus side, we get some additional output:
That's unfortunately a very short backtrace: just one stack frame. I also find the |
Could you please send a link to it to [email protected]? |
Hi Jon, just sent. I'll see if I can track that tombstone file down. I don't use dropbox so I wonder who's dropbox that is. |
Ok, I think I found the problem.. it was in my code. The crash dump here was confusing me. I have an stack overflow happening on that property. I did a refactoring that created a property that returned itself. It crashes the debugger which probably isn't good but I have solved it. You can decide if this is the right behavior for when a programmer makes an error, but I'm good to go. Sorry for not finding this sooner! The hard crash caused me to go into a different direction on this. In case you want to try, the .State property of that EntryTimer object returns itself. Opening that prop in the debugger or referencing it with code causes this hard crash. |
Moved to: mono/mono#6405 |
thaaaaanks @andrejpk. I was having the exact same problem... |
Changes: xamarin/monodroid@ad19471...bafd139 * xamarin/monodroid@bafd13939: [tools/msbuild] Fix DateTimeOffset error (#1158) * xamarin/monodroid@b355593ab: [tools/msbuild] Use millisecond resoluton for Fast Deployment (#1157) * xamarin/monodroid@34ae2a311: [tools/msbuild] add %(TargetPath) metadata for <FastDeploy/> (#1156) * xamarin/monodroid@d9fcaa019: [tools/msbuild] Fix Time resoluton for Fast Deployment (#1154) * xamarin/monodroid@390c048ca: [msbuild] Use `$(LZ4PackageVersion)` (#1153)
Changes: xamarin/monodroid@bc5b96b...5918966 * xamarin/monodroid@5918966a3: [tools/msbuild] Fix DateTimeOffset error (#1158) * xamarin/monodroid@d36b8bc32: [tools/msbuild] Use millisecond resoluton for Fast Deployment (#1157)
Steps to Reproduce
I can share a repro project but would need to do some cleanup. I'm attaching the stack trace here. I can share a ZIP of the current project internally at MSFT (this is a personal project so not in a MSFT repo).
The crash happens in a few different ways but with the same result. I have a class in a form and if that class is accessed in an event from a UI element (in this case a Picker) or if I inspect that object in the debugger, I get this SIGSEGV crash.
Expected Behavior
Normal debugging and execution.. I'm not doing anything strange here so it's hard to describe this in more detail.
Actual Behavior
Version Information
Microsoft Visual Studio Enterprise 2017
Version 15.5.2
VisualStudio.15.Release/15.5.2+27130.2010
Microsoft .NET Framework
Version 4.7.03036
Installed Version: Enterprise
Visual Basic 2017 00369-60000-00001-AA940
Microsoft Visual Basic 2017
Visual C# 2017 00369-60000-00001-AA940
Microsoft Visual C# 2017
Visual F# 4.1 00369-60000-00001-AA940
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.31125.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
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.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio
Azure Data Lake Tools for Visual Studio 2.2.9000.1
Microsoft Azure Data Lake Tools for Visual Studio
Common Azure Tools 1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Fabric.DiagnosticEvents 1.0
Fabric Diagnostic Events
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 HDInsight Azure Node 2.2.9000.1
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service 2.2.9000.1
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio 1.8
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service 2.2.9000.1
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 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/.
Redgate ReadyRoll 1.14.17.5347
Extend DevOps processes to your SQL Server databases and safely automate database deployments.
Visit https://www.red-gate.com/readyroll for more information.
Copyright (C) 2011 Red Gate Software Ltd. All rights reserved.
This software contains components from Component Owl.
SQL Server is a registered trademark of Microsoft Corporation.
Visual Studio is a registered trademark of Microsoft Corporation.
ReadyRoll contains code from the following open source software:
NuGet https://www.nuget.org/
SQL LocalDB Wrapper https://github.com/martincostello/sqllocaldb
Autofac https://autofac.org/
Json.NET https://json.net/
MahApps.Metro http://mahapps.com/
SemVer https://github.com/maxhauser/semver
Log4Net http://logging.apache.org/log4net/
Extended WPF Toolkit https://wpftoolkit.codeplex.com/
Code InfoBox VSX http://www.codeproject.com/Articles/55196/Code-InfoBox-Visual-Studio-Extension-VSX
OctoPack https://github.com/OctopusDeploy/OctoPack
SQLite https://sqlite.org/
This product contains icons from http://www.visualpharm.com distributed under a free backlink license.
For license details or other notices relating to the above software, please see NOTICE.TXT and EULA.rtf in the ReadyRoll application folder.
Redgate SQL Prompt 8.2.5.2924
Write, format, and refactor SQL effortlessly
SQL Server Data Tools 15.1.61710.120
Microsoft SQL Server Data Tools
ToolWindowHostedEditor 1.0
Hosting json editor into a tool window
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.27128.01
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
WebJobs Tools v1.0.0 15.0.31106.0
WebJobs Tools v1.0.0
WebPack Task Runner 1.5.91
Adds support for WebPack in Visual Studio 2015's Task Runner Explorer.
Xamarin 4.8.0.753 (6575bd113)
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.0.25 (HEAD/d8c6e504f)
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.
Log File
The text was updated successfully, but these errors were encountered: