Bugzilla – Bug 325314
mono crashes when building nemerle
Last modified: 2007-09-15 21:24:46 UTC
---- Reported by goetz.waschk@gmail.com 2007-08-31 09:34:11 MST ---- This is with mono 1.2.5 and nemerle 0.9.3: COMPILE [stage1] Nemerle.dll ** ERROR **: file metadata.c: line 950 (mono_metadata_decode_row): assertion failed: (res_size == count) aborting... Stacktrace: at (wrapper managed-to-native) System.MonoType.GetFields_internal (System.Reflection.BindingFlags,System.Type) <0x0000b> at (wrapper managed-to-native) System.MonoType.GetFields_internal (System.Reflection.BindingFlags,System.Type) <0xffffffff> at System.MonoType.GetFields (System.Reflection.BindingFlags) <0x0001f> at System.Reflection.Emit.TypeBuilder.GetFields (System.Reflection.BindingFlags) <0x00058> at System.Reflection.MonoGenericClass.initialize () <0x000ad> at System.Reflection.MonoGenericClass.GetField (System.Reflection.FieldInfo) <0x0001a> at System.Reflection.Emit.TypeBuilder.GetField (System.Type,System.Reflection.FieldInfo) <0x00028> at Nemerle.Compiler.ILEmitter.FrameworkGetField (System.Type,System.Reflection.FieldInfo) <0x00162> at Nemerle.Compiler.ILEmitter.GetFieldInfo (System.Type,Nemerle.Compiler.IField) <0x00061> at Nemerle.Compiler.ILEmitter.GetFieldInfo (Nemerle.Compiler.Typedtree.TExpr,Nemerle.Compiler.IField) <0x00069> at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr) <0x02c41> at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr) <0x017a5> at Nemerle.Compiler.ILEmitter.emit_parms (Nemerle.Core.list`1) <0x000c6> at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr) <0x05d74> at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr) <0x01393> at Nemerle.Compiler.ILEmitter.emit (Nemerle.Compiler.Typedtree.TExpr) <0x017a5> at Nemerle.Compiler.ILEmitter.Run () <0x000bf> at _N__N_l29266_29398.apply_void () <0x00216> at Nemerle.Compiler.TypeBuilder.FinalizeType () <0x00115> at Nemerle.Compiler.TypeBuilder.EmitImplementation () <0x00204> at _N_emit_impl_24276.apply_void (Nemerle.Compiler.TypeBuilder) <0x0005b> at _N_maybe_f_24712.apply_void (Nemerle.Compiler.TypeBuilder) <0x0016c> at Nemerle.Collections.List.Iter (Nemerle.Core.list`1,Nemerle.Builtins.FunctionVoid`1) <0x000ce> at Nemerle.Core.list`1.Iter (Nemerle.Builtins.FunctionVoid`1) <0x0001a> at Nemerle.Compiler.TypesManager.Iter (Nemerle.Core.list`1,Nemerle.Builtins.FunctionVoid`1) <0x000e1> at Nemerle.Compiler.TypesManager.Iter (Nemerle.Builtins.FunctionVoid`1) <0x0002f> at Nemerle.Compiler.TypesManager.compile_all_tyinfos (bool) <0x0020b> at _N__N_l23853_23944.apply_void () <0x00041> at Nemerle.Compiler.Solver.Enqueue (Nemerle.Builtins.FunctionVoid) <0x00055> at Nemerle.Compiler.TypesManager.EmitDecls () <0x0006d> at Nemerle.Compiler.Passes.Run () <0x001d9> at Nemerle.CommandlineCompiler.MainClass.main_with_catching () <0x000e6> at Nemerle.CommandlineCompiler.MainClass.Main () <0x0010c> at (wrapper runtime-invoke) Nemerle.CommandlineCompiler.MainClass.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: mono [0x513157] /lib64/libpthread.so.0 [0x2aadb9419d70] /lib64/libc.so.6(gsignal+0x35) [0x2aadb9ae5135] /lib64/libc.so.6(abort+0x110) [0x2aadb9ae68c0] /usr/lib64/libglib-2.0.so.0(g_logv+0x3ba) [0x2aadb8f7627a] /usr/lib64/libglib-2.0.so.0(g_log+0x83) [0x2aadb8f76313] /usr/lib64/libglib-2.0.so.0(g_assert_warning+0x76) [0x2aadb8f76396] mono [0x4a0048] mono [0x4b2970] mono [0x4b3341] mono(mono_class_get_fields+0x1e) [0x4b336e] mono [0x461b33] [0x402ab1c6] ================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. ================================================================= ---- Additional Comments From lupus@ximian.com 2007-08-31 12:17:09 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO82625 *** Unknown bug field "cf_op_sys_details" encountered while moving bug <cf_op_sys_details>Mandriva Cooker i586</cf_op_sys_details> Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"