Bug 6199 - debugger deadlocks MD
Summary: debugger deadlocks MD
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: Debugger ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-07-19 11:05 UTC by Marek Safar
Modified: 2017-07-11 23:33 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 GitHub or Developer Community 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 Marek Safar 2012-07-19 11:05:49 UTC
using System;

namespace TestCrash
{
	class MainClass
	{
		public static void Main (string[] args)
		{
			var p = new P ();

			return; // Break here and watch p static properties
		}
	}

	class P
	{
		public static P Prop {
			get {
				return Prop;
			}
		}
	}
}
Comment 1 Jeffrey Stedfast 2012-10-19 16:40:55 UTC
doesn't deadlock for me, but the debugee does crash after a minute or so (stack overflow??) while evaluating the p.Prop expression.

is it still deadlocking for you?
Comment 2 Marek Safar 2012-10-22 03:57:55 UTC
Yes, here is my screencast

http://screencast.com/t/iy1ivCaj5I
Comment 3 Jeffrey Stedfast 2013-03-28 18:49:21 UTC
this seems to be a runtime bug where it never returns
Comment 4 Rodrigo Kumpera 2017-07-11 23:33:06 UTC
Can't repro with VSfM.