Bug 5079 - Win/MD 3.0 crash on close
Summary: Win/MD 3.0 crash on close
Status: RESOLVED NORESPONSE
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 3.0.x
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Lluis Sanchez
URL:
Depends on:
Blocks:
 
Reported: 2012-05-14 18:03 UTC by Jonathan Pobst
Modified: 2016-04-05 19:00 UTC (History)
4 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 NORESPONSE

Description Jonathan Pobst 2012-05-14 18:03:11 UTC
When closing MonoDevelop 3.0 on Windows, I sometimes get this crash.  It seems to be caused by the Android designer, as I don't get it if I don't open the designer:

System.ObjectDisposedException was unhandled
  Message=Cannot access a closed file.
  Source=mscorlib
  ObjectName=""
  StackTrace:
       at System.IO.__Error.FileNotOpen()
       at System.IO.FileStream.Write(Byte[] array, Int32 offset, Int32 count)
       at System.IO.StreamWriter.Flush(Boolean flushStream, Boolean flushEncoder)
       at System.IO.StreamWriter.Write(Char[] buffer, Int32 index, Int32 count)
       at MonoDevelop.Core.ProgressMonitoring.LogTextWriter.Write(Char[] buffer, Int32 index, Int32 count)
       at System.IO.TextWriter.WriteLine(String value)
       at System.IO.TextWriter.SyncTextWriter.WriteLine(String value)
       at Cairo.Context.Dispose(Boolean disposing)
       at Cairo.Context.Finalize()
  InnerException:
Comment 1 René Ruppert 2012-11-22 00:49:12 UTC
I might have but I'm on holiday and not near my Mac. However: please, please have a look at the code and maybe you see some issue. I need progress on this. At the moment I don't even know WHAT object gets disposed. And worse: Mono doesn't recover! I will be back on Monday trying to get you a testcase but I'd prefer to have some results by then already because this is putting my project on ice.
Comment 2 Miguel de Icaza [MSFT] 2012-11-22 09:45:04 UTC
Rene, the above crash is a MonoDevelop bug, not sure how this puts your project on ice.

Did you comment on the wrong post?
Comment 3 René Ruppert 2012-11-22 15:12:47 UTC
Yeah. Wrong bug. I wanted to comment #5904
Sorry.
Comment 4 Marius Ungureanu 2016-04-05 19:00:46 UTC
The android designer has been rewritten ever since, so I guess we can safely close this issue due to lack of activity.