[Mono-bugs] [Bug 428402] New: Crash in compiler

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 22 11:56:27 EDT 2008


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


           Summary: Crash in compiler
           Product: Mono: Compilers
           Version: 2.0
          Platform: i386
        OS/Version: Windows XP
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: C#
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: novellbugzilla at c-hett.de
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development


Mono 1.2.5 was able to compile this fine, 1.9.1 (latest stable) AND 2.0 rc1
produce this error:

C:\user\xxx1.cs(62,22): warning CS0219: The variable `result' is assigned but
its value is never used
Exception caught by the compiler while compiling:
   Block that caused the problem begin at: C:\user\xxx2.cs(1037,30):
                     Block being compiled:
[C:\user\xxx2.cs(1046,13):,Internal(1,1):]
Mono.CSharp.InternalErrorException: C:\user\xxx2(1047,24):
Internal compiler error at C:\user\xxx2(1037,30):: exception caught while
emitting MethodBuilder [Search::DoXXX3]

Unhandled Exception: Mono.CSharp.InternalErrorException:
C:\user\xxx2.cs(1047,24): ---> Mono.CSharp.InternalErrorException:
Mono.CSharp.Goto
does not implement Statement.CloneTo
  at Mono.CSharp.Statement.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement target) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.If.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.For.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.If.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.For.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.CloneContext.LookupBlock (Mono.CSharp.Block from) [0x00000]
  at Mono.CSharp.TryCatch.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Foreach.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Block.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ExplicitBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.ToplevelBlock.CloneTo (Mono.CSharp.CloneContext clonectx,
Mono.CSharp.Statement t) [0x00000]
  at Mono.CSharp.Statement.Clone (Mono.CSharp.CloneContext clonectx) [0x00000]
  at Mono.CSharp.Statement.PerformClone () [0x00000]
  at Mono.CSharp.AnonymousMethodExpression.CompatibleMethod
(Mono.CSharp.EmitContext ec, Mono.CSharp.TypeInferenceContext tic, System.Type
return_type, System.T
ype delegate_type) [0x00000]
  at Mono.CSharp.AnonymousMethodExpression.Compatible (Mono.CSharp.EmitContext
ec, System.Type type) [0x00000]
  --- End of inner exception stack trace ---
  at Mono.CSharp.AnonymousMethodExpression.Compatible (Mono.CSharp.EmitContext
ec, System.Type type) [0x00000]
  at Mono.CSharp.AnonymousMethodExpression.ImplicitStandardConversionExists
(Mono.CSharp.EmitContext ec, System.Type delegate_type) [0x00000]
  at Mono.CSharp.Convert.ImplicitConversionExists (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression expr, System.Type target_type) [0x00000]
  at Mono.CSharp.MethodGroupExpr.IsArgumentCompatible (Mono.CSharp.EmitContext
ec, Modifier arg_mod, Mono.CSharp.Argument argument, Modifier param_mod,
System.T
ype parameter) [0x00000]
  at Mono.CSharp.MethodGroupExpr.IsApplicable (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList arguments, Int32 arg_count,
System.Reflection.MethodBase
& method, System.Boolean& params_expanded_form) [0x00000]
  at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec,
System.Collections.ArrayList& Arguments, Boolean may_fail, Location loc)
[0x00000]

  at Mono.CSharp.New.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000]
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext ec,
Mono.CSharp.Expression right_side) [0x00000]
  at Mono.CSharp.MemberAccess.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000]
  at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags
flags) [0x00000]
  at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.ExpressionStatement.ResolveStatement (Mono.CSharp.EmitContext
ec) [0x00000]
  at Mono.CSharp.StatementExpression.Resolve (Mono.CSharp.EmitContext ec)
[0x00000]
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.ExplicitBlock.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
  at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext
anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters
ip, IMethod
Data md, System.Boolean& unreachable) [0x00000]


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