Bug 319439 (MONO76601) - gmcs crashes (on anonymous method?)
Summary: gmcs crashes (on anonymous method?)
Status: RESOLVED MOVED
Alias: MONO76601
Product: Mono: Compilers
Classification: Mono
Component: C# (show other bugs)
Version: 1.1
Hardware: Other Other
: P3 - Medium : Enhancement
Target Milestone: ---
Assignee: Raja R Harinath
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-30 23:53 UTC by Axel T Schreiner
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
file causing grief (6.43 KB, text/plain)
2005-11-02 01:23 UTC, Thomas Wiest
Details
IContainer.cs -- some interfaces (1.38 KB, text/plain)
2005-11-02 01:24 UTC, Thomas Wiest
Details
Test.cs, another one needed to compile (4.18 KB, text/plain)
2005-11-02 01:24 UTC, Thomas Wiest
Details

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


---- Reported by ats@cs.rit.edu 2005-10-30 16:53:53 MST ----

Please fill in this template when reporting a bug, unless you know what you are doing.
Description of Problem:
gmcs crashes when compiling <http://www.cs.rit.edu/~ats/cs-2005-1/code/adt/tree/Set.cs>.

Steps to reproduce the problem:
1. In the file, make struct Locator and class Node both public.
2. gmcs /m:Axel.ADT.Tree.SetTest Set.cs ../IContainer.cs ../Test.cs
3. 

Actual Results:
** ERROR **: file metadata.c: line 2758 (mono_type_size): assertion failed: (!gclass-
>generic_class.inst->is_open)
aborting...


Expected Results:
successful compilation

How often does this happen? 
always

Additional Information:
The other files are at relative positions to the one mentioned above.



---- Additional Comments From miguel@ximian.com 2005-11-01 18:17:34 MST ----

The sample does not compile, there is no IContainer<T> interface
defined anywhere.

Could you post the missing classes and reopen the bug?



---- Additional Comments From ats@cs.rit.edu 2005-11-01 18:23:37 MST ----

Created an attachment (id=168757)
file causing grief




---- Additional Comments From ats@cs.rit.edu 2005-11-01 18:24:18 MST ----

Created an attachment (id=168758)
IContainer.cs -- some interfaces




---- Additional Comments From ats@cs.rit.edu 2005-11-01 18:24:50 MST ----

Created an attachment (id=168759)
Test.cs, another one needed to compile




---- Additional Comments From ats@cs.rit.edu 2005-11-01 18:25:39 MST ----

as the comment above mentioned, the files were at URLs relative to the one mentioned for 
the main file.

you now have all of them as attachments.



---- Additional Comments From miguel@ximian.com 2005-11-07 23:27:08 MST ----



*** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO76644 ***

Imported an attachment (id=168757)
Imported an attachment (id=168758)
Imported an attachment (id=168759)

Unknown bug field "cf_op_sys_details" encountered while moving bug
   <cf_op_sys_details>Panther</cf_op_sys_details>
Unknown operating system unknown. Setting to default OS "Other".
This bug was marked DUPLICATE in the database it was moved from.
    Changing resolution to "MOVED"