[Mono-bugs] [Bug 548417] New: Runtime crashes in Assembly.GetTypes()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Oct 20 09:11:50 EDT 2009


           Summary: Runtime crashes in Assembly.GetTypes()
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: andreas.flucke at t-online.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=323245)
 --> (http://bugzilla.novell.com/attachment.cgi?id=323245)
test.cs, referenced assembly, Exception.txt

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

When calling Assembly.GetTypes() on an assembly which references another
non-existing assembly, an ReflectionTypeloadException should be thrown.
In the appended testcase it crashes the Runtime on Windows and SUSE.
The referenced assembly was taken from the mono winforms designer sample, which
cannot find ICSharpCode.NRefactory.dll.

Reproducible: Always

Steps to Reproduce:
1.Compile attached test.cs
2.Put mwf-designer-mono.exe into the same folder
3.Run (Debug) 
Actual Results:  
Runtime crash (see appended Exception.txt)

Expected Results:  
ReflectionTypeloadException which can be catched.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list