Bug 14972 - XS crashes when trying to exit while newly added unedited file is recently created
Summary: XS crashes when trying to exit while newly added unedited file is recently cr...
Status: RESOLVED DUPLICATE of bug 14528
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Project Management ()
Version: 4.0.13
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Marius Ungureanu
URL:
Depends on:
Blocks:
 
Reported: 2013-09-24 19:45 UTC by César
Modified: 2015-09-01 09:18 UTC (History)
1 user (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 14528

Description César 2013-09-24 19:45:47 UTC
Steps to reproduce:

0) On OSX, XS 4.0.13 (build 3)
1) Open Xamarin Studio
2) File -> New -> File
3) Choose a name repro.fs
4) Cmd-Q
5) Confirm you got an error, the View details dialog shows:

System.IO.FileNotFoundException: Could not find file "/Users/cesar/error.fs"
File name: '/Users/cesar/error.fs'
  at System.IO.FileSystemInfo.set_LastWriteTime (DateTime value) [0x0002c] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin/build-root/mono-3.2.3/mcs/class/corlib/System.IO/FileSystemInfo.cs:182 
  at (wrapper remoting-invoke-with-check) System.IO.FileSystemInfo:set_LastWriteTime (System.DateTime)
  at MonoDevelop.Ide.ProjectOperations.MarkFileDirty (System.String filename) [0x0000e] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/ProjectOperations.cs:531 
  at MonoDevelop.Ide.Gui.SdiWorkspaceWindow.SetTitleEvent (System.Object sender, System.EventArgs e) [0x00181] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs:350 
  at (wrapper delegate-invoke) <Module>:invoke_void__this___object_EventArgs (object,System.EventArgs)
  at MonoDevelop.Ide.Gui.AbstractViewContent.OnContentNameChanged (System.EventArgs e) [0x00014] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs:151 
  at MonoDevelop.Ide.Gui.AbstractViewContent.set_ContentName (System.String value) [0x00020] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/AbstractViewContent.cs:52 
  at MonoDevelop.Ide.Gui.Dialogs.DirtyFilesDialog..ctor () [0x0020b] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/DirtyFilesDialog.cs:49 
  at MonoDevelop.Ide.Gui.DefaultWorkbench.Close () [0x00073] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/DefaultWorkbench.cs:709 
  at MonoDevelop.Ide.Gui.Workbench.Close () [0x00007] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Workbench.cs:137 
  at MonoDevelop.Ide.IdeApp.Exit () [0x00006] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide/Ide.cs:408 
  at MonoDevelop.Ide.Commands.ExitHandler.Run () [0x00001] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs:405 
  at MonoDevelop.Components.Commands.CommandHandler.Run (System.Object dataItem) [0x00002] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:61 
  at MonoDevelop.Components.Commands.CommandHandler.InternalRun (System.Object dataItem) [0x00003] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandHandler.cs:42 
  at MonoDevelop.Components.Commands.CommandManager.DefaultDispatchCommand (MonoDevelop.Components.Commands.ActionCommand cmd, MonoDevelop.Components.Commands.CommandInfo info, System.Object dataItem, System.Object target, CommandSource source) [0x00086] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1109 
  at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x002fc] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.0.12-branch/593d7acb/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1076 

Expected result:

Save confirmation for the file if needed, otherwise just quit the application.
Comment 1 Marius Ungureanu 2015-09-01 09:18:39 UTC

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