[Mono-bugs] [Bug 529670] New: mono_class_from_mono_type compiler error while compiling .net assembly

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Aug 10 10:06:28 EDT 2009


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


           Summary: mono_class_from_mono_type compiler error while
                    compiling .net assembly
    Classification: Mono
           Product: Mono: Compilers
           Version: 2.4.x
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: ptrajkumar at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64;
Trident/4.0; SU 3.1; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022;
NET CLR 3.5.30729; .NET CLR 3.0.30729; MS-RTC LM 8)

When compiling an assembly, I get the following error even though gcmcs
indicates that the compilation was successfull.

Starting '/Library/Frameworks/Mono.framework/Versions/2.4.2/bin/mono (
"/Library/Frameworks/Mono.framework/Versions/2.4.2/lib/mono/1.0/gmcs.exe"
@"/var/folders/bG/bG41nk9bEIatgMl3pAAYkE+++TI/-Tmp-/tmp1b4d1b13.tmp")' in
'/Farm/build1'
      [csc] /Farm/build1/Modeler/Engines/Solver/CSolver.cs(228,40): warning
CS0169: The private method
`SolidWorks.Avalanche.Solver.CSolver.AsGeomSolverNodeU(SolidWorks.Avalanche.Solver.ISolverNode)'
is never used
      [csc] /Farm/build1/Modeler/Engines/Solver/SolverWMaps.cs(217,27): warning
CS0169: The private method
`SolidWorks.Avalanche.Solver.SolverWMapsBase<KEY,TSOLVER>.Geom(KEY)' is never
used
      [csc] Compilation succeeded - 2 warning(s)
      [csc] 
      [csc] **
(/Library/Frameworks/Mono.framework/Versions/2.4.2/lib/mono/1.0/gmcs.exe:12553):
WARNING **: mono_class_from_mono_type: implement me 0x00
      [csc] 
      [csc] **
      [csc] ERROR:class.c:4754:mono_class_from_mono_type: code should not be
reached

BUILD FAILED - 0 non-fatal error(s), 7 warning(s)

/Farm/build1/Modeler/Engines/Solver/Solver.build(20,6):
External Program Failed:
/Library/Frameworks/Mono.framework/Versions/2.4.2/lib/mono/1.0/gmcs.exe (return
code was 134):
NAnt.Core.BuildException:
/Farm/build1/Modeler/Engines/Solver/Solver.build(20,6):
External Program Failed:
/Library/Frameworks/Mono.framework/Versions/2.4.2/lib/mono/1.0/gmcs.exe (return
code was 134)
  at NAnt.Core.Tasks.ExternalProgramBase.ExecuteTask () [0x00000]


Reproducible: Always

Steps to Reproduce:
1. Happens only on the first compile. Subsequents compile donot do anything as
the compilation was itself successfull.

Actual Results:  
gmcs.exe fails with return code was 134

Expected Results:  
gmcs.exe should return success.

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