Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 682 [details]
MonoDevelop 2.8 release. MonoTouch
See attached image. This happens a lot now that I moved from 2.6 to 2.8. I am closing MD 2.8 normally each time, no crashes. It's seemingly random.
I can not consistently repro.
I get this every time I relaunch after editing a .cs file since I upgraded to 184.108.40.206 today.
To confirm, I also have found this to be true
Maybe I'm doing the wrong thing.
I was never able to reproduce this, can you give me a step by step guide for dummies?
(Or a screencast or something?)
Here is a screencast of the bug on my machine:
I wonder if this is a MacOSX Lion-only bug? I cannot reproduce this on MacOSX Snow Leopard and I noticed that you used the Lion-only Quit menu item. Perhaps that's the difference?
Perhaps. I am using Lion, but the bug happens whether I use "Quit" or "Quit and Close all Windows"
Is the project in Perforce? I wonder whether this has something to do with how Perforce makes files readonly.
My code is in TFS, so some files may be readonly. But files that I'm changing are checked out, so shouldn't be read-only (and when I load the version from disk after relaunching, the changes that I made actually have been saved).
Where is the autosave cache saved?
Autosave files are stored in ~/Library/Caches/MonoDevelop-2.8/AutoSave/
Could you check your MD log file (~/Library/Logs/MonoDevelop-2.8/MonoDevelop.log) after the MD session to see whether there are any errors about being unable to remove or restore the autosave files?
Created attachment 1272 [details]
MonoTouch log file
I attached the log file. I didn't see anything related to autosave in it.
If I watch the autosave cache directory while working in mono develop, I notice the following:
- editing a file for the first time causes that file to appear in the save directory (makes sense)
- undoing that edit causes it to disappear from the directory (also makes sense)
- saving an edited file causes the entry to briefly disappear but then immediately re-appear (doesn't make sense)
just a confirmation, I have the same issue and my monodevelop log file
has nothing related in it. In fact it has not been updated since you published the latest fix, which is good I guess :)
Just one question - do you have the option "Format document on save" turned on ?
I get this a lot as well.
Mike, I have "Format document on save" turned on.
I can try running with the option off for a while to see if it clears up.
I've ran for an hour with "Format document on save" OFF and I've not seen this issue once. (I would usually see it countless time in an hour).
With that option ON my autosave folder would always fill up with files. With it OFF the folder has stayed empty for the last hour.
I see the same behavior as Jamie.
I have disabled "Format Document On Save" like you guys but I still get this issue regularly
The issue with the fomat on save option is fixed.
@tkandiliotis: Then I need more info from you - which version & OS are you running ? We had problems with that in old versions - 2.6 for example or the first 2.8.x versions.
Installation UUID: 803aab57-da62-461d-b66c-4390944846f3
Mono 2.10.8 (tarball Mon Dec 19 17:43:18 EST 2011)
Apple Developer Tools:
Xcode 4.2 (828)
Mono for Android not installed
Release ID: 20806003
Git revision: f4289daf57621f5593ad5bf78b3ff5ad878e3c7a
Build date: 2012-01-23 22:07:07+0000
Mac OS X 10.6.8
@tkandiliotis:Ok, the 'latest'.
Can you look in ~/Library/Caches/MonoDevelop-2.8/AutoSave/ what happens when:
+ you edit a file
+ save it
+ close it saved or unsaved
Sorry for the troubles, but I now have no idea what could cause that. The auto save code is pretty easy understand, the format on save option just interferes with the mechanic.
Are you using a version control system in the project where that happens ? If so, can you quick test a 'new' project as well ?
I am noticing that I am getting double ~~
Look at the end of the file names
I haven't had this issue for some days now... I tried today what you asked, and I didn't see any activity in the Autosave folder
I also have all my code inside Dropbox like Ian, if that helps. No version control system though.
*** Bug 4089 has been marked as a duplicate of this bug. ***