Bug 321641 (MONO78925) - [gmcs] Sample program crashes the compiler.
Summary: [gmcs] Sample program crashes the compiler.
Status: RESOLVED FIXED
Alias: MONO78925
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Major
Target Milestone: ---
Assignee: Martin Baulig
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-22 03:16 UTC by Miguel de Icaza
Modified: 2007-09-15 21:24 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:04:23 UTC


---- Reported by miguel@ximian.com 2006-07-21 20:16:09 MST ----

The following program crashes the compiler, this is a reduced test case
from the PHP compiler Phalanger (http://www.php-compiler.net/)

using System.Collections.Generic;

internal class VariablesTable : IEnumerable<VariablesTable.Entry>
{
	public class Entry {
	}
}



---- Additional Comments From miguel@ximian.com 2006-07-21 20:18:19 MST ----

This bug crashes because the Parent.MemberCache is null:

from class.cs, TypeContainer.DoDefineMembers:

MemberInfo conflict_symbol = Parent.MemberCache.FindMemberWithSameName
(Basename, false, TypeBuilder);

Am assigning the bug to Martin, but am keeping Hari CCed, as this
might be related to other changes.



---- Additional Comments From rharinath@novell.com 2006-07-22 21:29:44 MST ----

Probably a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO77963



---- Additional Comments From rharinath@novell.com 2006-08-02 10:49:27 MST ----

Appears to have been handled by the fix for https://bugzilla.novell.com/show_bug.cgi?id=MONO77963


Unknown operating system unknown. Setting to default OS "Other".