[Mono-dev] Crash in gmcs

Marek Safar marek.safar at seznam.cz
Tue Jan 6 05:59:07 EST 2009


Hello Casey
> Compiling this: http://github.com/jskeet/dotnet-protobufs/tree/master
>
> With gmcs 2.0.1, I get this:
>   
Please use newer gmcs (2.2 or better).

Regards,
Marek

> Unhandled Exception: System.NullReferenceException: Object reference
> not set to an instance of an object
>   at Mono.CSharp.GenericConstraints.get_IsReferenceType () [0x00049]
> in .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:82
>   at Mono.CSharp.GenericConstraints.get_IsReferenceType () [0x00077]
> in .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:87
>   at Mono.CSharp.ConstraintChecker.CheckConstraints (IResolveContext
> ec, Int32 index) [0x00065] in
> .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:1562
>   at Mono.CSharp.ConstraintChecker.CheckConstraints (IResolveContext
> ec) [0x00007] in .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:1535
>   at Mono.CSharp.ConstraintChecker.CheckConstraints (IResolveContext
> ec, System.Type gt, System.Type[] gen_params, System.Type[] atypes,
> Location loc) [0x0000b] in
> .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:1758
>   at Mono.CSharp.ConstructedType.CheckConstraints (IResolveContext ec)
> [0x00000] in .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:1399
>   at Mono.CSharp.Expression.ResolveAsTypeTerminal (IResolveContext ec,
> Boolean silent) [0x0008e] in
> .../sources-2.0.1-5/mono/mcs/mcs/ecore.cs:275
>   at Mono.CSharp.Constraints.ResolveTypes (IResolveContext ec)
> [0x000f1] in .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:413
>   at Mono.CSharp.TypeParameter.ResolveType (IResolveContext ec)
> [0x0000b] in .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:697
>   at Mono.CSharp.GenericMethod.Define
> (System.Reflection.Emit.MethodBuilder mb, Mono.CSharp.ToplevelBlock
> block) [0x000b2] in .../sources-2.0.1-5/mono/mcs/mcs/generic.cs:1863
>   at Mono.CSharp.MethodOrOperator.DefineGenericMethod () [0x00040] in
> .../sources-2.0.1-5/mono/mcs/mcs/class.cs:3836
>   at Mono.CSharp.MethodOrOperator.ResolveMembers () [0x00000] in
> .../sources-2.0.1-5/mono/mcs/mcs/class.cs:3846
>   at Mono.CSharp.TypeContainer.DoResolveMembers () [0x00028] in
> .../sources-2.0.1-5/mono/mcs/mcs/class.cs:1194
>   at Mono.CSharp.TypeContainer.ResolveMembers () [0x00012] in
> .../sources-2.0.1-5/mono/mcs/mcs/class.cs:1184
>   at Mono.CSharp.TypeContainer.DefineType () [0x0004e] in
> .../sources-2.0.1-5/mono/mcs/mcs/class.cs:1166
>   at Mono.CSharp.Class.DefineType () [0x00071] in
> .../sources-2.0.1-5/mono/mcs/mcs/class.cs:2909
>   at Mono.CSharp.RootContext.ResolveTree () [0x00069] in
> .../sources-2.0.1-5/mono/mcs/mcs/rootcontext.cs:174
>   at Mono.CSharp.Driver.Compile () [0x00266] in
> .../sources-2.0.1-5/mono/mcs/mcs/driver.cs:1660
>   at Mono.CSharp.Driver.Main (System.String[] args) [0x0002e] in
> .../sources-2.0.1-5/mono/mcs/mcs/driver.cs:308
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>   



More information about the Mono-devel-list mailing list