[Mono-bugs] [Bug 630911] Assertion at class.c:1687, condition `class->image->dynamic || field->offset > 0' not met

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 13 08:37:26 EDT 2010


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

http://bugzilla.novell.com/show_bug.cgi?id=630911#c1


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.6.x                       |SVN
          Component|C#                          |misc
                 CC|                            |msafar at novell.com
            Summary|gmcs crashes when declaring |Assertion at class.c:1687,
                   |a nullable instance of a    |condition
                   |generic struct              |`class->image->dynamic ||
                   |                            |field->offset > 0' not met
            Product|Mono: Compilers             |Mono: Runtime

--- Comment #1 from Marek Safar <msafar at novell.com> 2010-08-13 12:37:25 UTC ---
-> runtime bug still reproducible with master when using 2.6 gmcs

Full stack strace

* Assertion at class.c:1687, condition `class->image->dynamic || field->offset
> 0' not met

Stacktrace:

  at (wrapper managed-to-native) System.MonoType.GetFields_internal
(System.MonoType*,System.Reflection.BindingFlags,System.Type) <0x00003>
  at (wrapper managed-to-native) System.MonoType.GetFields_internal
(System.MonoType*,System.Reflection.BindingFlags,System.Type) <0x00003>
  at System.Reflection.MonoGenericClass.GetFields
(System.Reflection.BindingFlags) <0x00126>
  at Mono.CSharp.TypeInfo/StructInfo..ctor (System.Type) <0x002cd>
  at Mono.CSharp.TypeInfo/StructInfo.GetStructInfo (System.Type) <0x0009d>
  at Mono.CSharp.TypeInfo..ctor (System.Type) <0x00018>
  at Mono.CSharp.TypeInfo.GetTypeInfo (System.Type) <0x0005c>
  at Mono.CSharp.VariableInfo..ctor (string,System.Type,int) <0x00020>
  at Mono.CSharp.VariableInfo..ctor (Mono.CSharp.LocalInfo,int) <0x0001b>
  at Mono.CSharp.Block.ResolveMeta (Mono.CSharp.BlockContext,int) <0x0013f>
  at Mono.CSharp.ToplevelBlock.ResolveMeta
(Mono.CSharp.BlockContext,Mono.CSharp.ParametersCompiled) <0x0012d>
  at Mono.CSharp.ToplevelBlock.Resolve
(Mono.CSharp.FlowBranching,Mono.CSharp.BlockContext,Mono.CSharp.ParametersCompiled,Mono.CSharp.IMethodData)
<0x0006a>
  at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace) <0x001ed>
  at Mono.CSharp.MethodOrOperator.Emit () <0x00377>
  at Mono.CSharp.Method.Emit () <0x000c1>
  at Mono.CSharp.TypeContainer.EmitType () <0x00644>
  at Mono.CSharp.RootContext.EmitCode () <0x000a3>
  at Mono.CSharp.Driver.Compile () <0x0068a>
  at Mono.CSharp.Driver.Main (string[]) <0x000a2>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object
(object,intptr,intptr,intptr) <0x00033>

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