mono / monodevelop

MonoDevelop is a cross platform .NET IDE
http://www.monodevelop.com
2.83k stars 1.01k forks source link

VS for Mac freezes unexpectedly #4788

Closed fekberg closed 6 years ago

fekberg commented 6 years ago
Visual Studio Enterprise 2017 for Mac (Preview)
Version 7.6 Preview (7.6 build 711)
Installation UUID: f7217f3d-1eb4-421e-a582-f9fff8d35f75
Runtime:
    Mono 5.12.0.226 (2018-02/9824e260f56) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)
    Xamarin.Mac 4.4.0.36 (master / 0c7c49a6)

    Package version: 512000226

NuGet
Version: 4.3.1.4445

.NET Core
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
    2.0.5
    2.0.4
    2.0.0
    1.1.2
    1.1.0
    1.0.5
    1.0.3
SDK: /usr/local/share/dotnet/sdk/2.1.4/Sdks
SDK Versions:
    2.1.4
    2.1.3
    2.0.0
    1.0.4
    1.0.0-preview2-1-003177
    1.0.0-preview2-003156
MSBuild SDKs: /Library/Frameworks/Mono.framework/Versions/5.12.0/lib/mono/msbuild/15.0/bin/Sdks

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

Apple Developer Tools
Xcode 9.3.1 (14154.1)
Build 9E501

Xamarin.Mac
Version: 4.5.0.280 (Visual Studio Enterprise)
Hash: e85a7be8
Branch: master
Build date: 2018-05-03 11:35:01-0400

Xamarin.iOS
Version: 11.11.0.280 (Visual Studio Enterprise)
Hash: e85a7be8
Branch: master
Build date: 2018-05-03 11:35:00-0400

Xamarin.Android
Version: 8.3.0.19 (Visual Studio Enterprise)
Android SDK: /Users/fekberg/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
        4.0.3 (API level 15)
        4.4   (API level 19)
        7.1   (API level 25)
        8.1   (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 27.0.1
SDK Build Tools Version: 27.0.3

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

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

Xamarin Inspector
Version: 1.4.0
Hash: b3f92f9
Branch: master
Build date: Fri, 19 Jan 2018 22:00:34 GMT
Client compatibility: 1

Build Information
Release ID: 706000711
Git revision: 634060c6c105fd3ee36678fe547680fd258cbf45
Build date: 2018-05-04 16:11:06-04
Xamarin extensions: c6720450018cb69a3da7c6d0aa0715c013783595
Build lane: monodevelop-lion-master

Operating System
Mac OS X 10.13.4
Darwin 17.5.0 Darwin Kernel Version 17.5.0
    Fri Apr 13 19:32:32 PDT 2018
    root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64

Enabled user installed extensions
MFractor 3.05.06
xUnit.NET 2 testing framework support 0.7.5
Gorilla Player 1.2.0.6
Internet of Things (IoT) development (Preview) 7.5
ERROR [2018-05-14 09:46:20Z]:ERROR [2018-05-14 09:46:20Z]: MSBuild property evaluation failed: [Microsoft.Build.Utilities.ToolLocationHelper]::GetPathToStandardLibraries($(TargetFrameworkIdentifier), $(TargetFrameworkVersion), $(TargetFrameworkProfile), $(PlatformTarget), $(TargetFrameworkRootPath))
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Build.Collections.MSBuildNameIgnoreCaseComparer' threw an exception. ---> System.EntryPointNotFoundException: GetSystemInfo
  at (wrapper managed-to-native) Microsoft.Build.Shared.NativeMethodsShared.GetSystemInfo(Microsoft.Build.Shared.NativeMethodsShared/SYSTEM_INFO&)
  at Microsoft.Build.Shared.NativeMethodsShared+SystemInformationData..ctor () [0x00023] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/msbuild-15/src/Shared/NativeMethodsShared.cs:387 
  at Microsoft.Build.Shared.NativeMethodsShared.get_SystemInformation () [0x0001e] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/msbuild-15/src/Shared/NativeMethodsShared.cs:658 
  at Microsoft.Build.Shared.NativeMethodsShared.get_ProcessorArchitecture () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/msbuild-15/src/Shared/NativeMethodsShared.cs:674 
  at Microsoft.Build.Collections.MSBuildNameIgnoreCaseComparer..cctor () [0x00010] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/msbuild-15/src/Shared/MSBuildNameIgnoreCaseComparer.cs:40 
   --- End of inner exception stack trace ---
  at Microsoft.Build.Evaluation.ToolsetElement+PropertyElementCollection..ctor () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/msbuild-15/src/Shared/ToolsetElement.cs:343 
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in /Users/builder/jenkins/workspace/build-package-osx-mono/2018-02/external/bockbuild/builds/mono-x64/mcs/class/corlib/System.Reflection/MonoMethod.cs:661 
   --- End of inner exception stack trace ---

Here's a gist with the entire stack trace: https://gist.github.com/fekberg/fa2e5d71d4b74ddd6495e04e182b91a2

mhutch commented 6 years ago

cc @radical

mhutch commented 6 years ago

Could you attach the full log with the VSMac and Mono version info?

(edit ah, sorry, i see it's in the description rather than the log gist)

fekberg commented 6 years ago

Sorry, I had to completely wipe the installation to get any work done today so I don't have the logs.. 👎

DavidKarlas commented 6 years ago

If this happens again please run kill -QUIT $pid_of_vsmac_process$ and attach log files after restart. This should help use figure out what happened. Until then I'm closing an issue since we don't have enough info to figure out what caused this/fix it.

radical commented 6 years ago

The exceptions are being worked on via: https://github.com/mono/monodevelop/issues/4823 and https://github.com/mono/mono/issues/8726 .