[Mono-bugs] [Bug 502582] New: System.InvalidProgramException thrown on some unsafe code with stackalloc.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 10 18:04:31 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=502582


           Summary: System.InvalidProgramException thrown on some unsafe
                    code with stackalloc.
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: x86-64
        OS/Version: Linux
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: m at fritschy.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=291212)
 --> (http://bugzilla.novell.com/attachment.cgi?id=291212)
Minimal program that demonstrates the behavior.

Description of Problem:
I encountered a problem when doing nested assignments with stackalloc'ated'
data.

Steps to reproduce the problem:
1. Compile with gmcs, no specific options used
2. Run executable

Actual Results:
InvalidProgramException is thrown.

Expected Results:
Normal program termination.

How often does this happen? 
Everytime.

Additional Information:
I tried it with mono 2.0.x (from debian) and 2.4 (self built) - testing gmcs of
both distributions. I attached a demo program which behaves as described in
this report.

-- 
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