Bug 2265 - some type resolution failure in non-project source leads to UI freeze (and possible OS crash)
Summary: some type resolution failure in non-project source leads to UI freeze (and po...
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: Trunk
Hardware: PC Linux
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-11-30 07:42 UTC by Atsushi Eno
Modified: 2012-02-29 07:52 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 FIXED

Description Atsushi Eno 2011-11-30 07:42:36 UTC
Steps to reproduce:

- start MD.
- Open the attached source (I'm going to attach one in the next comment privately as it is part of monodroid source), that is, independent of any project.
- Edit line 50 from

			return null;

to

			try {
				return base.LookupNamespace (prefix);
			} catch (RuntimeException) {
			}

at this state, lots of exception stack trace lines are dumped. Then, try to enter the following line in the editor.

				throw new NotSupportedException ();

I cannot finish this operation as MD starts to run infinitely and does not accept operations anymore, leading to OS crash on Ubuntu.
Comment 2 Mike Krüger 2012-02-27 03:05:32 UTC
Can't repro with todays newresolver branch :/ (using Linux Mint)

Can you confirm that ?
Comment 3 Atsushi Eno 2012-02-29 04:28:14 UTC
Yes, it does not reproduce on newresolver (047e863) anymore.
Comment 4 Mike Krüger 2012-02-29 07:52:46 UTC
ok closing that one then.