[Mono-bugs] [Bug 434544] New: JIT / Runtime corruption

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Oct 11 01:24:22 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=434544


           Summary: JIT / Runtime corruption
           Product: Mono: Runtime
           Version: 2.0
          Platform: x86-64
               URL: http://sourceforge.net/projects/oogl/
        OS/Version: Ubuntu
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: jmichels at bluefintrading.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Community User


After compiling Mono 2.0 on Ubuntu 8.04 x64, I am seeing corruption in
previously working code. Code is known to work on .NET runtime. Code also
previously worked on Mono 1.9.x from the SVN. This same bug was observed and
fixed in previous builds from the SVN, but appears to have regressed.

The following code is from the example available at
http://sourceforge.net/projects/oogl/

--- Example ---

Console.WriteLine("numVertices Array Length = {0}", numVertices);
Console.WriteLine("vertices.Length Array Length = {0}", this.vertices.Length);
for(int i = 0; i < numVertices; i++)
        {
        // Vebosity added to remove ambiguity
        Vertex oldVertex = vertices[i];
        Vertex newVertex = new Vertex(r, oldVertex, vertexSubVersion);
        this.vertices[i] = newVertex;  // This is line 136.
        }

*** OUTPUT *** 
numVertices Array Length = 1522
vertices.Length Array Length = 1522

Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
  at Ms3dLoader.File..ctor (System.String fileName) [0x00280] in
/home/jmichels/Projects/Robotech/OOGL/Ms3dLoader/File.cs:136 
  at Example.Game..ctor () [0x0019f] in
/home/jmichels/Projects/Robotech/OOGL/Example/Game.cs:88 
  at Example.Game.Main () [0x00017] in
/home/jmichels/Projects/Robotech/OOGL/Example/Game.cs:279


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


More information about the mono-bugs mailing list