Bug 6758 - MonoDevelop crashes on parsing C# code
Summary: MonoDevelop crashes on parsing C# code
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 3.0.x
Hardware: PC Mac OS
: High normal
Target Milestone: ---
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2012-08-30 05:09 UTC by Alexander
Modified: 2012-09-19 05:50 UTC (History)
2 users (show)

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


Attachments
crash log (94.93 KB, text/plain)
2012-08-30 05:09 UTC, Alexander
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 Alexander 2012-08-30 05:09:51 UTC
Created attachment 2433 [details]
crash log

MonoDevelop crashes parsing this code (included in any project) - immediately after opening file with this code or after writing this code manually:

using System;                                                                                                   
                                                                                                                
namespace TestCrash                                                                                             
{                                                                                                               
        class A                                                                                                 
        {                                                                                                       
                                                                                                                
        }                                                                                                       
                                                                                                                
        class B<T> : T where T: A                                                                               
        {                                                                                                       
                                                                                                                
        }                                                                                                       
}

Compilation without opening file reports "Cannot derive from parameter T" error, opens this file to show the error and crashes in the same way.

MD version: 3.0.4.4 (beta)
OS: OS X 10.8

(crash log in attachment)
Comment 1 Mike Krüger 2012-09-03 03:36:27 UTC
fixed that one.
Comment 2 Ricky Helgesson 2012-09-19 05:50:12 UTC
I experience this exact issue on MonoDevelop 3.0.4.6 today (2012-09-19).

/Ricky