[Mono-bugs] [Bug 502599] New: NObjectiveAST crashes with Invalid IL error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon May 11 00:55:03 EDT 2009


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


           Summary: NObjectiveAST crashes with Invalid IL error
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.0.x
          Platform: All
        OS/Version: Ubuntu
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: JIT
        AssignedTo: lupus at novell.com
        ReportedBy: bojanr at brandeis.edu
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
Gecko/2009042523 Ubuntu/9.04 (jaunty) Firefox/3.0.10

Building NObjectiveAST (an Objective-C++ parser written in C#) from
http://code.google.com/p/nobjectiveast/ leads to a runtime error about invalid
IL.

Reproducible: Always

Steps to Reproduce:
1. Check out NObjectiveAST code with the following: svn checkout
http://objcmapper.googlecode.com/svn/trunk/NObjectiveAST/ NObjectiveAST
2. Build the TestAST solution w/ MonoDevelop, commenting out the two lines in
Run.cs about changing the process priority, and fixing the hardcoded
backslashes in the path (or, ignore this step if on Windows).
3. Try and run TestAST.
Actual Results:  
Unhandled Exception: System.InvalidProgramException: Invalid IL code in
NObjectiveAST.Parser:GetNamespaceDeclaration (int&): IL_003f: ldelema  
0x02000069


  at NObjectiveAST.Parser+<GetTranslationUnit>c__AnonStorey12.<>m__40 ()
[0x00000] in /home/bojan/Source/NObjectiveAST/Parser.cs:2444 
  at NObjectiveAST.Parser.GetTranslationUnit () [0x00047] in
/home/bojan/Source/NObjectiveAST/Parser.cs:2450 
  at NObjectiveAST.Parser..ctor (NObjectiveAST.Lexer lexer) [0x0001d] in
/home/bojan/Source/NObjectiveAST/Parser.cs:81 
  at NHeader.Run.Main (System.String[] args) [0x0002a] in
/home/bojan/Source/NObjectiveAST/Run.cs:41 

Expected Results:  
Unknown, do not have handy .NET environment to compile on and test.

-- 
Configure bugmail: http://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