Bug 14797 - Xamarin Studio uses 100% CPU (of 1 core) all the time, but still very responsive
Summary: Xamarin Studio uses 100% CPU (of 1 core) all the time, but still very responsive
Status: RESOLVED DUPLICATE of bug 14769
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.1.10
Hardware: PC Windows
: --- normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-09-17 05:05 UTC by Rogier Hofboer
Modified: 2013-09-17 12:43 UTC (History)
2 users (show)

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

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 Developer Community or GitHub 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:
RESOLVED DUPLICATE of bug 14769

Description Rogier Hofboer 2013-09-17 05:05:10 UTC
To reproduce:
- Create a simple Hello World Console application solution. 
- Close Xamarin Studio.
- Start Xamarin Studio
- Load the Hello World solution
- Select the text editor tab (of Program.cs)
=> One CPU core goes to 100%
- Close the text tab
=> One CPU core stays at 100%
- Close the solution
=> One CPU core stays at 100%

The logging doesn't show anything suspicious:


INFO [2013-09-17 11:01:06Z]: Starting Xamarin Studio 4.1.10 (build 14)
INFO [2013-09-17 11:01:06Z]: Running on Microsoft .NET 4.0.30319.17929
INFO [2013-09-17 11:01:06Z]: Using GTK+ 2.24.20
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Core
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Ide
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Debugger
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Debugger.Soft
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.SourceEditor2
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.DesignerSupport
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.XmlEditor
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Xamarin.Ide
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.MonoAndroid
INFO [2013-09-17 11:01:07Z]: Initializing Runtime MS.NET
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.WindowsPlatform
Starting Xamarin Studio
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.VBBinding
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Deployment
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.AspNet
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Autotools
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Refactoring
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.CSharpBinding
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.TextTemplating
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.AspNet.Mvc
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.VersionControl
   Loading Workbench
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.VersionControl.Subversion
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.ChangeLogAddIn
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.GtkCore
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.DocFood
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.WebReferences
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.NUnit
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.AssemblyBrowser
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.VersionControl.Git
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.Gettext
INFO [2013-09-17 11:01:07Z]: Add-in loaded: MonoDevelop.RegexToolkit
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk: Looking for Android SDK..
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidSdkDirectory not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Xamarin\MonoAndroid\PrivateAndroidSdkPath not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Android SDK Tools\Path not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\Android SDK Tools\Path not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk: Looking for Android NDK..
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKCU\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\Novell\Mono for Android\AndroidNdkDirectory not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk: Looking for Java 6 SDK..
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.6\JavaHome not found.
INFO [2013-09-17 11:01:07Z]: ANDROID: sdk:   Key HKLM\SOFTWARE\JavaSoft\Java Development Kit\1.7\JavaHome found:
    Path contains jarsigner.exe in \bin (C:\Program Files\Java\jdk1.7.0_25).
INFO [2013-09-17 11:01:07Z]: ANDROID: Did not find Android SDK
ERROR [2013-09-17 11:01:07Z]: ANDROID: Error finding SDK version
System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified
   at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
   at Xamarin.AndroidTools.ProcessUtils.StartProcess(ProcessStartInfo psi, TextWriter stdout, TextWriter stderr, CancellationToken cancellationToken)
   at Xamarin.AndroidTools.MonoDroidSdk.LoadVersionInfo(CancellationToken token)
ERROR [2013-09-17 11:01:07Z]: Android SDK not found, needed by Xamarin.Android addin
      Initializing Main Window
INFO [2013-09-17 11:01:07Z]: Creating DefaultWorkbench
INFO [2013-09-17 11:01:08Z]: Updating Welcome Page from 'http://software.xamarin.com/Service/News'.
INFO [2013-09-17 11:01:08Z]: Updating Prebuilt Apps from 'http://docs2.xamarin.com/PrebuiltApps.xml'.
INFO [2013-09-17 11:01:08Z]: Add-in loaded: MonoDevelop.Xamarin.Ide.Windows
node `classlib-gecko' is not defined on the documentation map
INFO [2013-09-17 11:01:08Z]: Prebuilt Apps image already up-to-date.
INFO [2013-09-17 11:01:08Z]: Prebuilt Apps image already up-to-date.
INFO [2013-09-17 11:01:08Z]: Welcome Page updated.
node `classlib-taglib-sharp' is not defined on the documentation map
node `classlib-webkit' is not defined on the documentation map
ERROR [2013-09-17 11:01:08Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
   at MonoDevelop.Platform.JumpList.UpdateJumpList()
   at MonoDevelop.Platform.JumpList.Run()
INFO [2013-09-17 11:01:08Z]: Prebuilt Apps image already up-to-date.
INFO [2013-09-17 11:01:08Z]: Add-in loaded: MonoDevelop.SubversionAddinWindows
INFO [2013-09-17 11:01:09Z]: Prebuilt Apps already up-to-date.
INFO [2013-09-17 11:01:09Z]: Prebuilt Apps updated.
INFO [2013-09-17 11:01:13Z]: Add-in loaded: MonoDevelop.Prj2Make
INFO [2013-09-17 11:01:13Z]: Add-in loaded: MonoDevelop.ILAsmBinding
INFO [2013-09-17 11:01:13Z]: Add-in loaded: MonoDevelop.Deployment.Linux
ERROR [2013-09-17 11:01:15Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
   at MonoDevelop.Platform.JumpList.UpdateJumpList()
   at MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(Object sender, EventArgs args)
INFO [2013-09-17 11:01:17Z]: Add-in loaded: MonoDevelop.HexEditor
INFO [2013-09-17 11:01:17Z]: CodeTemplateService: No user templates, reading default templates.
ERROR [2013-09-17 11:01:18Z]: Can't convert assembly: C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.5\WindowsBase.dll
System.InvalidOperationException: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Nullable`1.get_Value()
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ConvertMarshalInfo(FieldMarshal marshalInfo)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.AddAttributes(ParameterInfo parameter, DefaultUnresolvedParameter targetParameter, IEnumerable`1 customAttributes)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ReadParameter(ParameterInfo parameter)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ReadMethod(MethodInfo method, IUnresolvedTypeDefinition parentType, SymbolKind methodType, IUnresolvedMember accessorOwner)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ReadMethod(MethodBase method, IUnresolvedTypeDefinition parentType, SymbolKind methodType)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.InitMembers(Type typeDefinition, IUnresolvedTypeDefinition td, IList`1 members)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.InitTypeDefinition(Type typeDefinition, DefaultUnresolvedTypeDefinition td)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.InitNestedTypes(Type typeDefinition, IUnresolvedTypeDefinition declaringTypeDefinition, ICollection`1 nestedTypes)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.InitTypeDefinition(Type typeDefinition, DefaultUnresolvedTypeDefinition td)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.LoadAssembly(Assembly assembly)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.LoadAssemblyFile(String fileName)
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.LazyAssemblyLoader.LoadAssembly()
ERROR [2013-09-17 11:01:18Z]: Add-in error (MonoDevelop.Xamarin.Ide,4.1.10): Error while getting object for node in path '/MonoDevelop/DesignerSupport/PropertyProviders'.
System.InvalidOperationException: Type 'Xamarin.Ide.Components.ComponentReferencePropertyProvider' not found in add-in 'MonoDevelop.Xamarin.Ide,4.1.10'
   at Mono.Addins.RuntimeAddin.GetType(String typeName, Boolean throwIfNotFound)
   at Mono.Addins.TypeExtensionNode.get_Type()
   at Mono.Addins.TypeExtensionNode.CreateInstance()
   at Mono.Addins.InstanceExtensionNode.GetInstance(Type expectedType)
   at Mono.Addins.ExtensionNode.GetChildObjectsInternal(Type arrayElementType, Boolean reuseCachedInstance)
INFO [2013-09-17 11:01:18Z]: Add-in loaded: MonoDevelop.Debugger.Soft.AspNet
INFO [2013-09-17 11:01:18Z]: Add-in loaded: MonoDevelop.Debugger.Win32
ERROR [2013-09-17 11:01:20Z]: Could not update jumplists
System.InvalidOperationException: The file type is not registered with this application.
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.AppendCustomCategories()
   at Microsoft.WindowsAPICodePack.Taskbar.JumpList.Refresh()
   at MonoDevelop.Platform.JumpList.UpdateJumpList()
   at MonoDevelop.Platform.JumpList.OnUpdateTimerEllapsed(Object sender, EventArgs args)
ERROR [2013-09-17 11:01:21Z]: Can't convert assembly: C:\Program Files (x86)\Microsoft.NET\ADOMD.NET\110\Microsoft.AnalysisServices.AdomdClient.dll
System.InvalidOperationException: Nullable object must have a value.
   at System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   at System.Nullable`1.get_Value()
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ConvertMarshalInfo(FieldMarshal marshalInfo)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.AddAttributes(ParameterInfo parameter, DefaultUnresolvedParameter targetParameter, IEnumerable`1 customAttributes)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ReadParameter(ParameterInfo parameter)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ReadMethod(MethodInfo method, IUnresolvedTypeDefinition parentType, SymbolKind methodType, IUnresolvedMember accessorOwner)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.ReadMethod(MethodBase method, IUnresolvedTypeDefinition parentType, SymbolKind methodType)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.InitMembers(Type typeDefinition, IUnresolvedTypeDefinition td, IList`1 members)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.InitTypeDefinition(Type typeDefinition, DefaultUnresolvedTypeDefinition td)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.LoadAssembly(Assembly assembly)
   at ICSharpCode.NRefactory.TypeSystem.IkvmLoader.LoadAssemblyFile(String fileName)
   at MonoDevelop.Ide.TypeSystem.TypeSystemService.LazyAssemblyLoader.LoadAssembly()
ERROR [2013-09-17 11:01:39Z]: Failed to upload report to the server
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 50.16.131.78:35162
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at MonoDevelop.Core.LogReporting.LogReportingService.TryUploadReport(String filename, Byte[] data)
Comment 1 Alan McGovern 2013-09-17 12:43:49 UTC

*** This bug has been marked as a duplicate of bug 14769 ***