Bug 8639 - [MonoForAndroid] Adding a new xml file to Resources is painfully slow and locks UI
Summary: [MonoForAndroid] Adding a new xml file to Resources is painfully slow and loc...
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: 3.0.x
Hardware: Macintosh Mac OS
: Normal major
Target Milestone: ---
Assignee: Greg Munn
URL:
Depends on:
Blocks:
 
Reported: 2012-11-28 14:41 UTC by Stephen Shaw
Modified: 2016-04-11 16:29 UTC (History)
3 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 NOT_REPRODUCIBLE

Description Stephen Shaw 2012-11-28 14:41:51 UTC
If I try and add a new xml file to Resources/drawable-hdpi is locks up the UI for period of time ~mins give or take.

Here is the kill -QUIT output:

Full thread dump:

"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <0xffffffff>
  at System.Net.Sockets.Socket.Accept () <0x0006f>
  at Mono.Unix.UnixListener.AcceptSocket () <0x00033>
  at (wrapper remoting-invoke-with-check) Mono.Unix.UnixListener.AcceptSocket () <0xffffffff>
  at Mono.Remoting.Channels.Unix.UnixServerChannel.WaitForConnections () <0x00017>
  at System.Threading.Thread.StartInternal () <0x00057>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

"Threadpool worker"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <0xffffffff>
  at System.Net.Sockets.Socket.Receive_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&) <0x00033>
  at System.Net.Sockets.Socket.Receive (byte[],int,int,System.Net.Sockets.SocketFlags) <0x0005b>
  at System.Net.Sockets.NetworkStream.Read (byte[],int,int) <0x0007b>
  at System.IO.BufferedStream.Read (byte[],int,int) <0x0021a>
  at System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.StreamRead (System.IO.Stream,byte[],int) <0x0001f>
  at System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus (System.IO.Stream,byte[]) <0x00027>
  at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage (System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x00183>
  at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0029d>
  at MonoDevelop.Core.Execution.DisposerFormatterSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x00373>
  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) <0x0035a>
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <0x00433>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) MonoDevelop.Projects.Formats.MSBuild.ProjectBuilder.RunTarget (string,MonoDevelop.Projects.Formats.MSBuild.ProjectConfigurationInfo[],MonoDevelop.Projects.Formats.MSBuild.ILogWriter,MonoDevelop.Projects.Formats.MSBuild.MSBuildVerbosity) <0xffffffff>
  at MonoDevelop.Projects.Formats.MSBuild.RemoteProjectBuilder.RunTarget (string,MonoDevelop.Projects.Formats.MSBuild.ProjectConfigurationInfo[],MonoDevelop.Projects.Formats.MSBuild.ILogWriter,MonoDevelop.Projects.Formats.MSBuild.MSBuildVerbosity) <0x0002b>
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.RunTarget (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.ConfigurationSelector) <0x000e7>
  at MonoDevelop.Projects.SolutionItem.OnRunTarget (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.ConfigurationSelector) <0x000b6>
  at MonoDevelop.Projects.SolutionEntityItem.OnRunTarget (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.ConfigurationSelector) <0x00157>
  at MonoDevelop.Projects.DefaultProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x000db>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.ProjectServiceExtension.RunTarget (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.IBuildTarget,string,MonoDevelop.Projects.ConfigurationSelector) <0x0009a>
  at MonoDevelop.Projects.SolutionItem.RunTarget (MonoDevelop.Core.IProgressMonitor,string,MonoDevelop.Projects.ConfigurationSelector) <0x00036>
  at MonoDevelop.MonoDroid.MonoDroidProject.<RunResgen>m__7 (object) <0x0009f>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>

"Autosave"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <0xffffffff>
  at System.Threading.WaitHandle.WaitOne () <0x0005f>
  at MonoDevelop.SourceEditor.AutoSave.AutoSaveThread () <0x0001e>
  at System.Threading.Thread.StartInternal () <0x00057>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

"<threadpool thread>"
"Threadpool monitor"
"Background parser"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <0xffffffff>
  at System.Threading.WaitHandle.WaitOne (int,bool) <0x0007f>
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.WaitForParseJob (int) <0x0001b>
  at MonoDevelop.Ide.TypeSystem.TypeSystemService.ParserUpdateThread () <0x0002f>
  at System.Threading.Thread.StartInternal () <0x00057>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Accept_internal (intptr,int&,bool) <0xffffffff>
  at System.Net.Sockets.Socket.Accept () <0x0006f>
  at System.Net.Sockets.TcpListener.AcceptSocket () <0x00023>
  at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.WaitForConnections () <0x0002b>
  at System.Threading.Thread.StartInternal () <0x00057>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

"Threadpool worker"
"GUI Thread"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Net.Sockets.Socket.Receive_internal (intptr,byte[],int,int,System.Net.Sockets.SocketFlags,int&) <0xffffffff>
  at System.Net.Sockets.Socket.Receive_nochecks (byte[],int,int,System.Net.Sockets.SocketFlags,System.Net.Sockets.SocketError&) <0x00033>
  at System.Net.Sockets.Socket.Receive (byte[],int,int,System.Net.Sockets.SocketFlags) <0x0005b>
  at System.Net.Sockets.NetworkStream.Read (byte[],int,int) <0x0007b>
  at System.IO.BufferedStream.Read (byte[],int,int) <0x0021a>
  at System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.StreamRead (System.IO.Stream,byte[],int) <0x0001f>
  at System.Runtime.Remoting.Channels.Tcp.TcpMessageIO.ReceiveMessageStatus (System.IO.Stream,byte[]) <0x00027>
  at System.Runtime.Remoting.Channels.Tcp.TcpClientTransportSink.ProcessMessage (System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x00183>
  at System.Runtime.Remoting.Channels.BinaryClientFormatterSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0029d>
  at MonoDevelop.Core.Execution.DisposerFormatterSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x00373>
  at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke (System.Runtime.Remoting.Messaging.IMessage) <0x0035a>
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy,System.Runtime.Remoting.Messaging.IMessage,System.Exception&,object[]&) <0x00433>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_object_object_object_Exception&_object[]& (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff>
  at (wrapper remoting-invoke) MonoDevelop.Projects.Formats.MSBuild.ProjectBuilder.Refresh () <0xffffffff>
  at MonoDevelop.Projects.Formats.MSBuild.RemoteProjectBuilder.Refresh () <0x00019>
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildProjectHandler.SaveItem (MonoDevelop.Core.IProgressMonitor) <0x02797>
  at MonoDevelop.Projects.Formats.MSBuild.MSBuildHandler.Save (MonoDevelop.Core.IProgressMonitor) <0x00100>
  at MonoDevelop.Projects.SolutionEntityItem.OnSave (MonoDevelop.Core.IProgressMonitor) <0x00027>
  at MonoDevelop.Projects.DotNetProject.OnSave (MonoDevelop.Core.IProgressMonitor) <0x0008b>
  at MonoDevelop.Projects.DefaultProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00019>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Autotools.MakefileProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00033>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.CompiledAssemblyExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00017>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.ProjectServiceExtension.Save (MonoDevelop.Core.IProgressMonitor,MonoDevelop.Projects.SolutionEntityItem) <0x00028>
  at MonoDevelop.Projects.SolutionEntityItem.Save (MonoDevelop.Core.IProgressMonitor) <0x00079>
  at MonoDevelop.MonoDroid.MonoDroidProject.Save (MonoDevelop.Core.IProgressMonitor) <0x00013>
  at MonoDevelop.Ide.ProjectOperations.Save (MonoDevelop.Projects.SolutionEntityItem) <0x000c5>
  at MonoDevelop.Ide.Gui.Pads.ProjectPad.FolderCommandHandler.AddNewFileToProject () <0x000b7>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&) <0xffffffff>
  at System.Reflection.MonoMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) <0x000bb>
  at System.Reflection.MethodBase.Invoke (object,object[]) <0x00022>
  at MonoDevelop.Components.Commands.DefaultCommandHandler.Run (object,MonoDevelop.Components.Commands.Command) <0x00063>
  at MonoDevelop.Components.Commands.CustomCommandTargetAttribute.Run (object,MonoDevelop.Components.Commands.Command) <0x0001f>
  at MonoDevelop.Ide.Gui.Components.NodeCommandHandler/TransactedNodeHandlerAttribute.Run (object,MonoDevelop.Components.Commands.Command) <0x00077>
  at MonoDevelop.Components.Commands.CustomCommandTargetAttribute.MonoDevelop.Components.Commands.ICommandTargetHandler.Run (object,MonoDevelop.Components.Commands.Command) <0x00019>
  at MonoDevelop.Components.Commands.CommandHandlerInfo.Run (object,MonoDevelop.Components.Commands.Command) <0x00053>
  at MonoDevelop.Components.Commands.CommandManager/<DispatchCommand>c__AnonStorey6F.<>m__BA () <0x00067>
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (object,object,object,MonoDevelop.Components.Commands.CommandSource) <0x0080c>
  at MonoDevelop.Components.Commands.CommandMenuItem.OnActivated () <0x000ab>
  at Gtk.MenuItem.activated_cb (intptr) <0x00059>
  at (wrapper native-to-managed) Gtk.MenuItem.activated_cb (intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) Gtk.Application.gtk_main () <0xffffffff>
  at Gtk.Application.Run () <0x0000b>
  at MonoDevelop.Ide.IdeApp.Run () <0x0000b>
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions) <0x0154f>
  at MonoDevelop.Ide.IdeStartup.Main (string[]) <0x000e7>
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) <0x00013>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

"Threadpool worker"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Diagnostics.Process.WaitForExit_internal (System.Diagnostics.Process,intptr,int) <0xffffffff>
  at System.Diagnostics.Process.WaitForExit (int) <0x0020f>
  at System.Diagnostics.Process.WaitForExit () <0x00013>
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.WaitForExit () <0xffffffff>
  at Xamarin.AndroidDesigner.JavaProcessConnection.<StartJavaProcess>m__13 (object) <0x00017>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>

"Threadpool worker"
"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <0xffffffff>
  at Xamarin.AndroidDesigner.JavaProcessConnection.<StartJavaProcess>m__13 (object) <0x00017>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>

"Threadpool worker"
"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <0xffffffff>
  at System.Threading.Thread.Sleep (int) <0x00017>
  at System.IO.KeventWatcher.Monitor () <0x00233>
  at System.Threading.Thread.StartInternal () <0x00057>
  at MonoDevelop.Startup.MonoDevelopMain.Main (string[]) <0x00013>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>

"Threadpool worker"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Diagnostics.Process.WaitForExit_internal (System.Diagnostics.Process,intptr,int) <0xffffffff>
  at System.Diagnostics.Process.WaitForExit (int) <0x0020f>
  at System.Diagnostics.Process.WaitForExit () <0x00013>
  at (wrapper remoting-invoke-with-check) System.Diagnostics.Process.WaitForExit () <0xffffffff>
  at Xamarin.AndroidDesigner.JavaProcessConnection.<StartJavaProcess>m__13 (object) <0x00017>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>

"Threadpool worker"
"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <0xffffffff>
  at System.Threading.Thread.Sleep (int) <0x00017>
  at System.IO.KeventWatcher.Monitor () <0x00233>
  at System.Threading.Thread.StartInternal () <0x00057>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

"<unnamed thread>"  at string.memcpy2 (byte*,byte*,int) <0x0003f>
  at string.CharCopy (char*,char*,int) <0x00067>
  at string.CharCopy (string,int,string,int,int) <0x0002f>
  at System.Text.StringBuilder.Remove (int,int) <0x0007f>
  at MonoDevelop.Ide.Gui.Components.LogView/QueuedTextWrite.Write (string) <0x0004f>
  at MonoDevelop.Ide.Gui.Components.LogView.WriteText (string) <0x00057>
  at MonoDevelop.Core.ProgressMonitoring.LogTextWriter.Write (string) <0x0003f>
  at MonoDevelop.Core.ProgressMonitoring.AggregatedProgressMonitor.OnWriteLog (string) <0x00079>
  at MonoDevelop.Core.ProgressMonitoring.LogTextWriter.Write (string) <0x0003f>
  at System.IO.TextWriter.WriteLine (string) <0x00018>
  at MonoDevelop.Projects.Formats.MSBuild.LogWriter.WriteLine (string) <0x0001a>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Runtime.Remoting.RemotingServices.InternalExecute (System.Reflection.MethodBase,object,object[],object[]&) <0xffffffff>
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage (System.MarshalByRefObject,System.Runtime.Remoting.Messaging.IMethodCallMessage) <0x001ff>
  at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x000c7>
  at System.Runtime.Remoting.Messaging.ServerObjectTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x00065>
  at System.Runtime.Remoting.Lifetime.LeaseSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0002d>
  at System.Runtime.Remoting.ClientActivatedIdentity.SyncObjectProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x00096>
  at System.Runtime.Remoting.Messaging.ServerContextTerminatorSink.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0015c>
  at System.Runtime.Remoting.Contexts.CrossContextChannel.SyncProcessMessage (System.Runtime.Remoting.Messaging.IMessage) <0x000d4>
  at System.Runtime.Remoting.Channels.ChannelServices.SyncDispatchMessage (System.Runtime.Remoting.Messaging.IMessage) <0x0003f>
  at System.Runtime.Remoting.Channels.ChannelServices.DispatchMessage (System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Messaging.IMessage&) <0x0001f>
  at System.Runtime.Remoting.Channels.ServerDispatchSink.ProcessMessage (System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x0002b>
  at System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage (System.Runtime.Remoting.Channels.IServerChannelSinkStack,System.Runtime.Remoting.Messaging.IMessage,System.Runtime.Remoting.Channels.ITransportHeaders,System.IO.Stream,System.Runtime.Remoting.Messaging.IMessage&,System.Runtime.Remoting.Channels.ITransportHeaders&,System.IO.Stream&) <0x004cf>
  at System.Runtime.Remoting.Channels.Tcp.TcpServerTransportSink.InternalProcessMessage (System.Runtime.Remoting.Channels.Tcp.ClientConnection,System.IO.Stream) <0x00187>
  at System.Runtime.Remoting.Channels.Tcp.ClientConnection.ProcessMessages () <0x000ff>
  at System.Runtime.Remoting.Channels.RemotingThreadPool.PoolThread () <0x001cb>
  at System.Threading.Thread.StartInternal () <0x00057>
  at (wrapper runtime-invoke) object.runtime_invoke_void__this__ (object,intptr,intptr,intptr) <0xffffffff>

"<unnamed thread>"  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Threading.Thread.Sleep_internal (int) <0xffffffff>
  at System.Threading.Thread.Sleep (int) <0x00017>
Comment 1 Stephen Shaw 2012-11-28 14:45:08 UTC
The status is the bottom left of MD says Copying files...
Comment 2 Mikayla Hutchinson [MSFT] 2012-11-28 16:39:28 UTC
Looks like MonoDevelop.Ide.Gui.Pads.ProjectPad.FolderCommandHandler.AddNewFileToProject is saving the file and refreshing the MSBuild builder synchronously, which seems like a bad idea.
Comment 3 Mikayla Hutchinson [MSFT] 2012-11-28 17:18:21 UTC
Could you get a trace from the MSBuild builder process too? You might have to gdb attach and use mono_backtrace.
Comment 4 Lluis Sanchez 2012-11-29 03:25:20 UTC
There are two issues here:
1) Bug 8425, which causes project dependencies to be rebuilt when there is a change in the resources folder.
2) The Save operation on the project causes a refresh of the msbuild project, which freezes MD while waiting for the build to end

The problem will be alleviated by the fix of 8425, but this is a more global problem. I have some ideas for fixing 2).
Comment 7 Greg Munn 2016-04-11 16:29:44 UTC
I'm going to mark this as having been resolved. the Bug 8425 is being questioned as being valid, there are no ongoing complaints about this behavior and i have not been able to reproduce it. If it can be reproduced, please reopen the bug with the appropriate reproduction steps.