http://bugzilla.novell.com/show_bug.cgi?id=595900
http://bugzilla.novell.com/show_bug.cgi?id=595900#c0 Summary: saving/loading a DynamicAssembly from a LightweightFunction that's also generated at runtime by Reflection.Emit causes SIGABRT Classification: Mono Product: Mono: Runtime Version: 2.4.x Platform: x86-64 OS/Version: Ubuntu Status: NEW Severity: Normal Priority: P5 - None Component: misc AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.3 (KHTML, like Gecko) Chrome/5.0.365.0 Safari/533.3 mono 2.4 SIGABRTs on perlesque's CIL Reproducible: Always Steps to Reproduce: $ svn co http://csmeta.googlecode.com/svn/trunk -r121 csmeta $ cd csmeta $ xbuild Sprixel.sln $ mono ./Sprixel/bin/Debug/Sprixel.exe ** (./Sprixel/bin/Debug/Sprixel.exe:13865): WARNING **: unknown token type 0 ** ERROR:class.c:5403:mono_class_get_full: code should not be reached Stacktrace: at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo) <0x0004b> at (wrapper managed-to-native) System.Delegate.CreateDelegate_internal (System.Type,object,System.Reflection.MethodInfo) <0xffffffff> at System.Delegate.CreateDelegate (System.Type,object,System.Reflection.MethodInfo,bool) <0x004d3> at System.Delegate.CreateDelegate (System.Type,System.Reflection.MethodInfo,bool) <0x00023> at System.Delegate.CreateDelegate (System.Type,System.Reflection.MethodInfo) <0x00017> at System.Reflection.Emit.DynamicMethod.CreateDelegate (System.Type) <0x0003b> at Sprixel.Grammar.GetEntryPoint (TriAxis.RunSharp.DynamicMethodGen) <0x00033> at Sprixel.Grammar.CompileToMemory () <0x00063> at Sprixel.Grammar.Parse (Sprixel.UTF32String) <0x00023> at Sprixel.MainClass.Main (string[]) <0x000df> at (wrapper runtime-invoke) Sprixel.MainClass.runtime_invoke_void_object (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: mono() [0x47b77f] /lib/libpthread.so.0(+0xf8f0) [0x7fa5fbe1f8f0] /lib/libc.so.6(gsignal+0x35) [0x7fa5fb83ea75] /lib/libc.so.6(abort+0x180) [0x7fa5fb8425c0] /lib/libglib-2.0.so.0(g_assertion_message+0x144) [0x7fa5fc49dbb4] mono(mono_class_get_full+0xb0) [0x54b2a0] mono() [0x43bae4] mono() [0x41d3e7] mono() [0x41eae7] mono() [0x4dc748] [0x41da746b] Debug info from gdb: 82 ../sysdeps/unix/syscall-template.S: No such file or directory. [Thread debugging using libthread_db enabled] [New Thread 0x7fa5fa704710 (LWP 13867)] [New Thread 0x7fa5fc969710 (LWP 13866)] 0x00007fa5fbe1e93d in read () at ../sysdeps/unix/syscall-template.S:82 in ../sysdeps/unix/syscall-template.S 3 Thread 0x7fa5fc969710 (LWP 13866) 0x00007fa5fbe1f11d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 2 Thread 0x7fa5fa704710 (LWP 13867) sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86 * 1 Thread 0x7fa5fcb11740 (LWP 13865) 0x00007fa5fbe1e93d in read () at ../sysdeps/unix/syscall-template.S:82 Thread 3 (Thread 0x7fa5fc969710 (LWP 13866)): #0 0x00007fa5fbe1f11d in nanosleep () at ../sysdeps/unix/syscall-template.S:82 #1 0x0000000000556342 in ?? () #2 0x00007fa5fbe169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #3 0x00007fa5fb8f16dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #4 0x0000000000000000 in ?? () Thread 2 (Thread 0x7fa5fa704710 (LWP 13867)): #0 sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86 #1 0x00000000004e4aaa in ?? () #2 0x0000000000505035 in ?? () #3 0x0000000000570073 in ?? () #4 0x000000000058de21 in ?? () #5 0x00007fa5fbe169ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007fa5fb8f16dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fa5fcb11740 (LWP 13865)): #0 0x00007fa5fbe1e93d in read () at ../sysdeps/unix/syscall-template.S:82 #1 0x000000000047b8f4 in ?? () #2 <signal handler called> #3 0x00007fa5fb83ea75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #4 0x00007fa5fb8425c0 in *__GI_abort () at abort.c:92 #5 0x00007fa5fc49dbb4 in g_assertion_message () from /lib/libglib-2.0.so.0 #6 0x000000000054b2a0 in mono_class_get_full () #7 0x000000000043bae4 in ?? () #8 0x000000000041d3e7 in ?? () #9 0x000000000041eae7 in ?? () #10 0x00000000004dc748 in ?? () #11 0x0000000041da746b in ?? () #12 0x000000000137b100 in ?? () #13 0x0000000000000000 in ?? () ================================================================= 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. ================================================================= Aborted (core dumped) Actual Results: Aborted (core dumped) Expected Results: not so much with the core dumpeage -- 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. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
