http://bugzilla.novell.com/show_bug.cgi?id=565063
http://bugzilla.novell.com/show_bug.cgi?id=565063#c0 Summary: mini.c mono_resolve_patch_target: assertion failed: (patch_info->data.bb->native_offset) Classification: Mono Product: Mono: Runtime Version: SVN Platform: i586 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: JIT AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 // to reproduce: // il is an ILGenerator var label = il.DefineLabel (); il.MarkLabel (label); il.Emit (OpCodes.Br, label); // but if I put any other OpCode between the MarkLabel and Branch, the assertion doesn't occur (and it loops forever) ** ERROR:mini.c:2570:mono_resolve_patch_target: assertion failed: (patch_info->data.bb->native_offset) Stacktrace: at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo,bool) <0x00004> at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo,bool) <0x00004> at System.Delegate.CreateDelegate (System.Type,object,System.Reflection.MethodInfo,bool) [0x002be] in /usr/src/packages/BUILD/mono-2.6/mcs/class/corlib/System/Delegate.cs:268 at System.Delegate.CreateDelegate (System.Type,System.Reflection.MethodInfo,bool) [0x00000] in /usr/src/packages/BUILD/mono-2.6/mcs/class/corlib/System/Delegate.cs:291 at System.Delegate.CreateDelegate (System.Type,System.Reflection.MethodInfo) [0x00000] in /usr/src/packages/BUILD/mono-2.6/mcs/class/corlib/System/Delegate.cs:295 at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type) [0x00029] in /usr/src/packages/BUILD/mono-2.6/mcs/class/corlib/System.Reflection.Emit/DynamicMethod.cs:179 at sprixel.MainClass.Main (string[]) [0x00043] in /home/diakopter/Projects/sprixel/sprixel/Main.cs:21 at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x0001d, 0x00043> Native stacktrace: /usr/bin/mono [0x80d4cc9] [0xffffe40c] [0xffffe424] /lib/libc.so.6(gsignal+0x4f) [0xb762a0cf] /lib/libc.so.6(abort+0x187) [0xb762b9e7] /usr/lib/libglib-2.0.so.0(g_assertion_message+0x15b) [0xb7813afb] /usr/lib/libglib-2.0.so.0 [0xb78140df] /usr/bin/mono [0x805eb2a] /usr/bin/mono [0x80fb8f8] /usr/bin/mono [0x805e5ab] /usr/bin/mono [0x8061cfb] /usr/bin/mono [0x8062968] /usr/bin/mono [0x806343e] /usr/bin/mono [0x81498e8] [0xb70e381d] [0xb70e2efc] [0xb70e2988] [0xb70e295e] [0xb70e23fc] [0xb70dd25c] [0xb70dd494] /usr/bin/mono [0x8063542] Debug info from gdb: ================================================================= 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. ================================================================= Reproducible: Always Steps to Reproduce: see details Actual Results: assertion failed Expected Results: infinite loop 00:41 <@kangaroo> file a bug 00:41 < diakopter> I mean, obviously it would create an infinite loop..., but still 00:41 < diakopter> ok I'll file one 00:43 <@kangaroo> sure, t hat should just use 100% cpu, not assert -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
