[Mono-list] Strange compiler crash

ptr2009 ptrajkumar at gmail.com
Mon Jun 1 10:45:49 EDT 2009


hey all

  When trying to compile a project I get this weird compiler crash ?  Has
anybody seen something like this ? Is there  a workaround ?  I am compiling
against mono 2.4 on mac OS X

Raj

      [csc] **
(/Library/Frameworks/Mono.framework/Versions/2.4/lib/mono/2.0/gmcs.exe:10596):
WARNING **: The class
SolidWorks.Avalanche.CgmGeom.Wrappers.cgmNurbsSurfaceData_c could not be
loaded, used in SolidWorks.Avalanche.CgmGeomWrappers, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null
      [csc] Exception caught by the compiler while compiling:
      [csc]    Block that caused the problem begin at:
/Users/prajkumar/vsts/macport/Tests/TestGeom/BsplineSurfaceTest.cs(227,21):
      [csc]                      Block being compiled:
[/Users/prajkumar/vsts/macport/Tests/TestGeom/BsplineSurfaceTest.cs(287,12):,/Users/prajkumar/vsts/macport/Tests/TestGeom/BsplineSurfaceTest.cs(290,12):]
      [csc] System.TypeLoadException: Could not load type
'SolidWorks.Avalanche.CgmGeom.Wrappers.cgmNurbsSurfaceData_c' from assembly
'SolidWorks.Avalanche.CgmGeomWrappers, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=null'.
      [csc] Internal compiler error at
/Users/prajkumar/vsts/macport/Tests/TestGeom/BsplineSurfaceTest.cs(227,21)::
exception caught while emitting MethodBuilder
[BsplineSurfaceTest::TestGcSurfaceInterface]
      [csc] 
      [csc] Unhandled Exception: System.TypeLoadException: Could not load
type 'SolidWorks.Avalanche.CgmGeom.Wrappers.cgmNurbsSurfaceData_c' from
assembly 'SolidWorks.Avalanche.CgmGeomWrappers, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null'.
      [csc]   at (wrapper managed-to-native)
System.Reflection.MonoMethodInfo:get_method_info
(intptr,System.Reflection.MonoMethodInfo&)
      [csc]   at System.Reflection.MonoMethod.get_Attributes () [0x00000] 
      [csc]   at System.Reflection.MethodBase.get_IsVirtual () [0x00000] 
      [csc]   at Mono.CSharp.MemberCache.AddMethods (BindingFlags bf,
System.Type type) [0x00000] 
      [csc]   at Mono.CSharp.MemberCache.AddMethods (System.Type type)
[0x00000] 
      [csc]   at Mono.CSharp.MemberCache..ctor (IMemberContainer container)
[0x00000] 
      [csc]   at Mono.CSharp.TypeHandle..ctor (System.Type type) [0x00000] 
      [csc]   at Mono.CSharp.TypeHandle.GetTypeHandle (System.Type t)
[0x00000] 
      [csc]   at Mono.CSharp.TypeHandle.GetMemberCache (System.Type t)
[0x00000] 
      [csc]   at Mono.CSharp.TypeManager.MemberLookup_FindMembers
(System.Type t, MemberTypes mt, BindingFlags bf, System.String name,
System.Boolean& used_cache) [0x00000] 
      [csc]   at Mono.CSharp.TypeManager.RealMemberLookup (System.Type
invocation_type, System.Type qualifier_type, System.Type queried_type,
MemberTypes mt, BindingFlags original_bf, System.String name, IList
almost_match) [0x00000] 
      [csc]   at Mono.CSharp.TypeManager.MemberLookup (System.Type
invocation_type, System.Type qualifier_type, System.Type queried_type,
MemberTypes mt, BindingFlags original_bf, System.String name, IList
almost_match) [0x00000] 
      [csc]   at Mono.CSharp.Expression.MemberLookup (System.Type
container_type, System.Type qualifier_type, System.Type queried_type,
System.String name, MemberTypes mt, BindingFlags bf, Location loc) [0x00000] 
      [csc]   at Mono.CSharp.Expression.MemberLookup (System.Type
container_type, System.Type qualifier_type, System.Type queried_type,
System.String name, Location loc) [0x00000] 
      [csc]   at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext
ec, Mono.CSharp.Expression right_side) [0x00000] 
      [csc]   at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext
ec) [0x00000] 
      [csc]   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec,
ResolveFlags flags) [0x00000] 
      [csc]   at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext
ec) [0x00000] 
      [csc]   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec,
ResolveFlags flags) [0x00000] 
      [csc]   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Assign.DoResolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.SimpleAssign.DoResolve (Mono.CSharp.EmitContext
ec) [0x00000] 
      [csc]   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec,
ResolveFlags flags) [0x00000] 
      [csc]   at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.ExpressionStatement.ResolveStatement
(Mono.CSharp.EmitContext ec) [0x00000] 
      [csc]   at Mono.CSharp.StatementExpression.Resolve
(Mono.CSharp.EmitContext ec) [0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.For.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec)
[0x00000] 
      [csc]   at Mono.CSharp.EmitContext.ResolveTopBlock
(Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock
block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean&
unreachable) [0x00000] 


-- 
View this message in context: http://www.nabble.com/Strange-compiler-crash-tp23816171p23816171.html
Sent from the Mono - General mailing list archive at Nabble.com.



More information about the Mono-list mailing list