Bug 11450 - Freeze and crash when a class inherits its parent
Summary: Freeze and crash when a class inherits its parent
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 4.0.3
Hardware: PC Mac OS
: Normal normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-03-27 13:39 UTC by Eric Laberge
Modified: 2013-03-28 01:29 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
IDE layout (148.01 KB, image/png)
2013-03-27 13:39 UTC, Eric Laberge
Details
OSX Crash log (101.90 KB, text/plain)
2013-03-27 13:44 UTC, Eric Laberge
Details


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 Eric Laberge 2013-03-27 13:39:43 UTC
Created attachment 3708 [details]
IDE layout

A class that inherits its parent causes an infinite and recursive call to gtk_tree_store_get_path, leading to a freeze and crash. This was found while editing an existing C# project. The UI stays responsive for a few seconds before the freeze.

Minimal code causing the crash:
class BaseClass
{
	class InnerClass : BaseClass
	{
	}
}

In attachment, my IDE layout, in case it is related to the actual display.
Comment 1 Eric Laberge 2013-03-27 13:44:28 UTC
Created attachment 3709 [details]
OSX Crash log
Comment 2 Mike Krüger 2013-03-28 01:21:18 UTC
It's the document outline - close this pad as a work around.
Comment 3 Mike Krüger 2013-03-28 01:29:23 UTC
fixed.