Bug 56779 - VS.Mac crashes when browsing to open solution
Summary: VS.Mac crashes when browsing to open solution
Status: VERIFIED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: io-layer ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: 15.3
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-05-24 00:06 UTC by Larry O'Brien
Modified: 2017-06-05 11:28 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Video showing crash (5.34 MB, video/mp4)
2017-05-24 00:06 UTC, Larry O'Brien
Details
Apple stacktrace (149.82 KB, text/plain)
2017-05-24 00:09 UTC, Larry O'Brien
Details
IDE.log post-crash (92.76 KB, text/plain)
2017-05-24 20:02 UTC, Larry O'Brien
Details
Attached are the logs generated during defect verification (3.59 KB, application/x-zip-compressed)
2017-06-05 11:28 UTC, Saurabh Paunikar
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Larry O'Brien 2017-05-24 00:06:26 UTC
Created attachment 22398 [details]
Video showing crash

When I attempt to browse for a solution in Visual Studio for Mac, v. 7.01, it crashes when I try to navigate through my ~/Documents/src/ directory. It doesn't appear to crash until I get to my /src/ directory. Repro steps on my machine are: 

Open Visual Studio
Select File Open...
Using the dialog, navigate to the ~/Documents/src/ directory. Attempt to navigate into a subfolder. Crash occurs. 

I have attached a screencam and the stack trace. My version info is:



Visual Studio Community 2017 for Mac (Preview)
Version 7.1 Preview (7.1 build 583)
Installation UUID: 6b94f136-026d-4a5a-bf6d-af2c0d8dc019
Runtime:
	Mono 5.2.0.104 (2017-04/4a0006f) (64-bit)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 502000104

NuGet
Version: 4.0.0.2323

.NET Core
Runtime: Not installed
SDK: Not installed
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/msbuild/15.0/bin/Sdks

Xamarin.Profiler
Version: 1.5.4
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Xamarin.Android
Version: 7.3.1.1 (Visual Studio Community)
Android SDK: /Users/larryobrien/Library/Developer/Xamarin/android-sdk-macosx
	Supported Android versions:
		2.3   (API level 10)
		4.0.3 (API level 15)
		4.4   (API level 19)
		5.0   (API level 21)
		5.1   (API level 22)
		6.0   (API level 23)

SDK Tools Version: 25.2.5
SDK Platform Tools Version: 25.0.5
SDK Build Tools Version: 25.0.3

Java SDK: /usr
java version "1.8.0_74"
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)

Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

Xamarin Inspector
Version: 1.3.0-alpha1
Hash: 0855e01
Branch: master
Build date: Thu, 11 May 2017 04:16:13 GMT

Apple Developer Tools
Xcode 8.3 (12123.1)
Build 8W109m

Xamarin.iOS
Version: 10.11.0.126 (Visual Studio Community)
Hash: 7571635e
Branch: master
Build date: 2017-05-09 16:04:54-0400

Xamarin.Mac
Version: 3.5.0.126 (Visual Studio Community)

Build Information
Release ID: 701000583
Git revision: 445a7f09feca58babb966e0c66a6b299d0bd450c
Build date: 2017-05-12 16:05:38-04
Xamarin addins: f9b72ca5f6ca5d9476d8f58353ada2afd56c549b
Build lane: monodevelop-lion-d15-3-preview

Operating System
Mac OS X 10.12.5
Darwin 16.6.0 Darwin Kernel Version 16.6.0
    Fri Apr 14 16:21:16 PDT 2017
    root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64
Comment 1 Larry O'Brien 2017-05-24 00:09:47 UTC
Created attachment 22399 [details]
Apple stacktrace
Comment 2 Matt Ward 2017-05-24 08:42:36 UTC
Can you attach the IDE log after the crash? (Help - Open Log Directory). Thanks.
Comment 3 Larry O'Brien 2017-05-24 20:02:14 UTC
Created attachment 22432 [details]
IDE.log post-crash
Comment 5 Lluis Sanchez 2017-05-25 09:08:29 UTC
Changing status.
Comment 6 Marius Ungureanu 2017-05-30 15:08:06 UTC
Seems like a crash in the runtime io layer
Comment 7 Marius Ungureanu 2017-05-30 15:09:41 UTC
The code in VSfM that leads to the crash is pretty straight-forward:
https://github.com/mono/monodevelop/blob/master/main/src/addins/MacPlatform/Dialogs/MacSelectFileDialogHandler.cs#L134
Comment 8 Rodrigo Kumpera 2017-06-01 16:08:49 UTC
This was probably the ELOOP error, fixed on 2017-04.
Comment 9 Saurabh Paunikar 2017-06-05 11:28:02 UTC
Created attachment 22693 [details]
Attached are the logs generated during defect verification
Comment 10 Saurabh Paunikar 2017-06-05 11:28:23 UTC
Verified the bug on the master build with following build versions:-

Visual Studio Enterprise 2017 for Mac Version 7.1 Preview (7.1 build 1141
Xamarin.Android ===Version: 7.3.99.72 (Visual Studio Enterprise)
Xamarin.iOS ===Version: 10.13.0.0 (Visual Studio Enterprise)
Xamarin.Mac ===Version: 3.7.0.0 (Visual Studio Enterprise)

Build Info:
https://gist.github.com/saurabh-paunikar/de69935d2a80d0bb2881a57d85915139

ScreenCast links: https://www.screencast.com/t/sXdeogW4rm