[Mono-bugs] [Bug 81497][Wis] New - unknown type 0x1e in check_call_signature

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Apr 30 14:30:30 EDT 2007


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by stevez at cis.upenn.edu.

http://bugzilla.ximian.com/show_bug.cgi?id=81497

--- shadow/81497	2007-04-30 14:30:30.000000000 -0400
+++ shadow/81497.tmp.14271	2007-04-30 14:30:30.000000000 -0400
@@ -0,0 +1,389 @@
+Bug#: 81497
+Product: Mono: Runtime
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: stevez at cis.upenn.edu               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: unknown type 0x1e in check_call_signature
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+I get this error, apparently generated by
+System.Reflection.MonoMethod.InternalInvoke when I try to run FSharp's
+fsi.exe under mono.
+
+Steps to reproduce the problem:
+1. Install FSharp available here:
+   http://research.microsoft.com/fsharp/fsharp.aspx
+2. After installation, run the fsi.exe or fsi10.exe (both exhibit the bug)
+under mono
+3. At the command line prompt, enter "1+2;;"  (There is no output, but
+there should be.)
+4. Enter another input, such as "3+4;;"
+
+Actual Results:
+
+NOTE:
+NOTE: See 'fsi --help' for flags
+NOTE:
+NOTE: Commands: #r <string>;;    reference (dynamically load) the given DLL.
+NOTE:           #I <string>;;    add the given search path for referenced DLLs.
+NOTE:           #use <string>;;  accept input from the given file.
+NOTE:           #load <string> ...<string>;;
+NOTE:                            load the given file(s) as a compilation unit.
+NOTE:           #time;;          toggle timing on/off.
+NOTE:           #types;;         toggle display of types on/off.
+NOTE:           #quit;;          exit.
+NOTE:
+NOTE: Visit the F# website at http://research.microsoft.com/fsharp.
+NOTE: Bug reports to fsbugs at microsoft.com. Enjoy!
+
+> 1+2;;
+
+** ERROR **: unknown type 0x1e in check_call_signature
+aborting...
+Stacktrace:
+
+  at (wrapper managed-to-native)
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004>
+  at (wrapper managed-to-native)
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0xffffffff>
+  at System.Reflection.MonoMethod.Invoke
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+<0x00099>
+  at System.MonoType.InvokeMember
+(string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[])
+<0x0040d>
+  at System.Reflection.Emit.TypeBuilder.InvokeMember
+(string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[],System.Reflection.ParameterModifier[],System.Globalization.CultureInfo,string[])
+<0x00035>
+  at System.Type.InvokeMember
+(string,System.Reflection.BindingFlags,System.Reflection.Binder,object,object[])
+<0x00023>
+  at execEntryPtFun at 1742_1.Invoke (Microsoft.FSharp.Core.Unit) <0x003f7>
+  at execEntryPtFun at 1742_1.Invoke (object) <0x0002b>
+  at processInputs at 679.Invoke (Microsoft.FSharp.Core.FastFunc) <0x0001e>
+  at processInputs at 679.Invoke (object) <0x0002b>
+  at List.iter
+(Microsoft.FSharp.Core.FastFunc,Microsoft.FSharp.Collections.List) <0x0002f>
+  at Microsoft.FSharp.Compiler.Interactive.Shell.processInputs
+(object,Microsoft.FSharp.Compiler.Interactive.Shell/interactionState,Microsoft.FSharp.Collections.List,bool,bool,Microsoft.FSharp.Collections.List)
+<0x0115e>
+  at Microsoft.FSharp.Compiler.Interactive.Shell.evalDefns
+(Microsoft.FSharp.Compiler.Interactive.Shell/interactionState,bool,Microsoft.FSharp.Collections.List)
+<0x002dd>
+  at Microsoft.FSharp.Compiler.Interactive.Shell.evalExpr
+(Microsoft.FSharp.Compiler.Interactive.Shell/interactionState,Microsoft.FSharp.Compiler.Ast/synexpr)
+<0x00346>
+  at
+Microsoft.FSharp.Compiler.Interactive.Shell.mainThreadProcessParsedInteraction
+(bool,Microsoft.FSharp.Core.FastFunc,Microsoft.FSharp.Core.Option,Microsoft.FSharp.Compiler.Interactive.Shell/interactionState)
+<0x043ad>
+  at res at 1100.Invoke
+(Microsoft.FSharp.Compiler.Interactive.Shell/interactionState) <0x0001e>
+  at res at 1100.Invoke (object) <0x00025>
+  at stdinReaderThread at 1299_2.Invoke (Microsoft.FSharp.Core.Unit) <0x00012>
+  at stdinReaderThread at 1299_2.Invoke (object) <0x0002b>
+  at workerThreadRunCodeOnWinFormsMainThread at 317.Invoke () <0x00022>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+  at (wrapper managed-to-native)
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0x00004>
+  at (wrapper managed-to-native)
+System.Reflection.MonoMethod.InternalInvoke (object,object[]) <0xffffffff>
+  at System.Reflection.MonoMethod.Invoke
+(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
+<0x00099>
+  at System.Reflection.MethodBase.Invoke (object,object[]) <0x0001a>
+  at System.Delegate.DynamicInvokeImpl (object[]) <0x0018f>
+  at System.MulticastDelegate.DynamicInvokeImpl (object[]) <0x0002a>
+  at System.Delegate.DynamicInvoke (object[]) <0x0000e>
+  at System.Windows.Forms.XplatUIDriverSupport.ExecutionCallback (object)
+<0x00042>
+  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object
+(object) <0xffffffff>
+  at System.Security.SecurityContext.Run
+(System.Security.SecurityContext,System.Threading.ContextCallback,object)
+<0x000df>
+  at System.Threading.ExecutionContext.Run
+(System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
+<0x00023>
+  at System.Windows.Forms.XplatUIDriverSupport.ExecuteClientMessage
+(System.Runtime.InteropServices.GCHandle) <0x0007b>
+  at System.Windows.Forms.XplatUIX11.GetMessage
+(object,System.Windows.Forms.MSG&,intptr,int,int) <0x02747>
+  at System.Windows.Forms.XplatUI.GetMessage
+(object,System.Windows.Forms.MSG&,intptr,int,int) <0x00021>
+  at System.Windows.Forms.Application.RunLoop
+(bool,System.Windows.Forms.ApplicationContext) <0x00892>
+  at System.Windows.Forms.Application.Run () <0x0001f>
+  at main at 1283.Run () <0x00093>
+  at Microsoft.FSharp.Compiler.Interactive.Shell.runLoop at 1342@1342 () <0x001d1>
+  at Microsoft.FSharp.Compiler.Interactive.Shell.main () <0x005c1>
+  at <StartupCode>.Microsoft.FSharp.Compiler.Interactive.Shell._main ()
+<0x01672>
+  at (wrapper runtime-invoke) System.Object.runtime_invoke_void
+(object,intptr,intptr,intptr) <0xffffffff>
+
+Native stacktrace:
+
+        mono [0x8183cf1]
+        mono [0x8166895]
+        [0xb7fe5440]
+        /lib/tls/libc.so.6(abort+0x109) [0xb7deb0c9]
+        /usr/lib/libglib-2.0.so.0(g_logv+0x454) [0xb7f66074]
+        /usr/lib/libglib-2.0.so.0(g_log+0x29) [0xb7f660a9]
+        mono [0x8140a11]
+        mono [0x814a43a]
+        mono [0x81649b5]
+        mono [0x8165ae1]
+        mono [0x8166151]
+        mono [0x816624b]
+        mono [0x81666d6]
+        mono(mono_runtime_invoke+0x27) [0x80ab5ff]
+        mono(mono_runtime_invoke_array+0x3ad) [0x80b1475]
+        mono [0x80b6a5c]
+        [0xb64d4b28]
+        [0xb64d43d2]
+        [0xb64d3736]
+        [0xb64d31de]
+        [0xb64d319c]
+        [0xb64d3040]
+        [0xb64d2c1c]
+        [0xb64d2acf]
+        [0xb64d2a84]
+        [0xb69580b0]
+        [0xb659dcaf]
+        [0xb659c35e]
+        [0xb5662b1f]
+        [0xb56613ae]
+        [0xb56edd57]
+        [0xb56edd1e]
+        [0xb56edccb]
+        [0xb56edc9c]
+        [0xb56edc13]
+        [0xb56edb81]
+        mono [0x81666f9]
+        mono(mono_runtime_invoke+0x27) [0x80ab5ff]
+        mono(mono_runtime_invoke_array+0x3ad) [0x80b1475]
+        mono [0x80b6a5c]
+        [0xb64d4b28]
+        [0xb64d43d2]
+        [0xb633a3f3]
+        [0xb56edb38]
+        [0xb56ed99b]
+        [0xb5657fd7]
+        [0xb5657f8b]
+        [0xb5657f20]
+        [0xb5657b28]
+        [0xb567cce4]
+        [0xb567cbac]
+        [0xb56f9dc8]
+        [0xb56f62aa]
+        [0xb56f59d3]
+        [0xb56f39c8]
+        [0xb56f38c4]
+        [0xb56f35a2]
+        [0xb659bc02]
+        [0xb75d212b]
+        [0xb75d005e]
+        mono [0x81666f9]
+        mono(mono_runtime_invoke+0x27) [0x80ab5ff]
+        mono(mono_runtime_exec_main+0x142) [0x80aff59]
+        mono(mono_runtime_run_main+0x276) [0x80b01ff]
+        mono(mono_jit_exec+0xbd) [0x80588cd]
+        mono [0x80589aa]
+        mono(mono_main+0x165b) [0x805a194]
+        mono [0x8057ab6]
+        /lib/tls/libc.so.6(__libc_start_main+0xc8) [0xb7dd5ea8]
+        mono [0x8057a11]
+
+Debug info from gdb:
+
+(no debugging symbols found)
+Using host libthread_db library "/lib/tls/libthread_db.so.1".
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+[Thread debugging using libthread_db enabled]
+[New Thread -1210321216 (LWP 11949)]
+[New Thread -1233126480 (LWP 11954)]
+[New Thread -1238565968 (LWP 11953)]
+[New Thread -1218651216 (LWP 11951)]
+[New Thread -1212875856 (LWP 11950)]
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+(no debugging symbols found)
+0xb7e4f144 in fork () from /lib/tls/libc.so.6
+  5 Thread -1212875856 (LWP 11950)  0xb7f22b3c in __nanosleep_nocancel ()
+   from /lib/tls/libpthread.so.0
+  4 Thread -1218651216 (LWP 11951)  0xb7f1fc01 in
+pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
+  3 Thread -1238565968 (LWP 11953)  0xb7f22b3c in __nanosleep_nocancel ()
+   from /lib/tls/libpthread.so.0
+  2 Thread -1233126480 (LWP 11954)  0xb7f1fe62 in
+pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
+  1 Thread -1210321216 (LWP 11949)  0xb7e4f144 in fork ()
+   from /lib/tls/libc.so.6
+
+Thread 5 (Thread -1212875856 (LWP 11950)):
+#0  0xb7f22b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
+#1  0x0810f9f3 in mono_type_full_name ()
+#2  0xb7f1d0bd in start_thread () from /lib/tls/libpthread.so.0
+#3  0xb7e8c9ee in clone () from /lib/tls/libc.so.6
+
+Thread 4 (Thread -1218651216 (LWP 11951)):
+#0  0xb7f1fc01 in pthread_cond_wait@@GLIBC_2.3.2 ()
+   from /lib/tls/libpthread.so.0
+#1  0x08114a4e in mono_type_full_name ()
+#2  0x08114da6 in mono_type_full_name ()
+#3  0x08114b8f in mono_type_full_name ()
+#4  0x08125dc4 in mono_pthread_key_for_tls ()
+#5  0x080c4e87 in mono_gc_is_finalizer_thread ()
+#6  0x080de99f in mono_thread_push_appdomain_ref ()
+#7  0x0812426d in mono_once ()
+#8  0x0813c603 in GC_end_blocking ()
+#9  0xb7f1d0bd in start_thread () from /lib/tls/libpthread.so.0
+#10 0xb7e8c9ee in clone () from /lib/tls/libc.so.6
+
+Thread 3 (Thread -1238565968 (LWP 11953)):
+#0  0xb7f22b3c in __nanosleep_nocancel () from /lib/tls/libpthread.so.0
+#1  0x08124fd2 in mono_pthread_key_for_tls ()
+#2  0x080de607 in mono_thread_push_appdomain_ref ()
+#3  0xb64e5d49 in ?? ()
+#4  0x00000320 in ?? ()
+#5  0x08712460 in ?? ()
+#6  0x08712090 in ?? ()
+#7  0xb64e5d39 in ?? ()
+#8  0x082f0294 in ?? ()
+#9  0x00000320 in ?? ()
+#10 0x0004af50 in ?? ()
+#11 0xb62cf280 in ?? ()
+#12 0xb64e5d2c in ?? ()
+#13 0xb62cf294 in ?? ()
+#14 0xb64e5cd7 in ?? ()
+#15 0x00000320 in ?? ()
+#16 0x0004af50 in ?? ()
+#17 0x00c3fe60 in ?? ()
+#18 0xb62cf2c8 in ?? ()
+#19 0xb64e593e in ?? ()
+#20 0x00000320 in ?? ()
+#21 0xb62cf2dc in ?? ()
+#22 0xb69346b0 in ?? ()
+#23 0x0004af50 in ?? ()
+#24 0x00810a70 in ?? ()
+#25 0x00c3fe60 in ?? ()
+#26 0x00000000 in ?? ()
+
+Thread 2 (Thread -1233126480 (LWP 11954)):
+#0  0xb7f1fe62 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
+   from /lib/tls/libpthread.so.0
+#1  0x08114acb in mono_type_full_name ()
+#2  0x08114da6 in mono_type_full_name ()
+#3  0x08114b8f in mono_type_full_name ()
+#4  0x08125dc4 in mono_pthread_key_for_tls ()
+#5  0x080ddf10 in mono_thread_push_appdomain_ref ()
+#6  0xb567c6dd in ?? ()
+#7  0x00cc1618 in ?? ()
+#8  0x00000414 in ?? ()
+#9  0xffffffff in ?? ()
+#10 0x00000000 in ?? ()
+
+Thread 1 (Thread -1210321216 (LWP 11949)):
+#0  0xb7e4f144 in fork () from /lib/tls/libc.so.6
+#1  0xb7f24024 in fork () from /lib/tls/libpthread.so.0
+#2  0xb7f88029 in g_spawn_error_quark () from /usr/lib/libglib-2.0.so.0
+#3  0xb7f88bff in g_spawn_sync () from /usr/lib/libglib-2.0.so.0
+#4  0xb7f89075 in g_spawn_command_line_sync () from /usr/lib/libglib-2.0.so.0
+#5  0x08183db0 in mono_debugger_run_finally ()
+#6  0x08166895 in mono_jit_thread_attach ()
+#7  <signal handler called>
+#8  0xb7de9947 in raise () from /lib/tls/libc.so.6
+#9  0xb7deb0c9 in abort () from /lib/tls/libc.so.6
+#10 0xb7f66074 in g_logv () from /usr/lib/libglib-2.0.so.0
+#11 0xb7f660a9 in g_log () from /usr/lib/libglib-2.0.so.0
+#12 0x08140a11 in mono_print_method_from_ip ()
+#13 0x0814a43a in mono_print_method_from_ip ()
+#14 0x081649b5 in mono_jit_thread_attach ()
+#15 0x08165ae1 in mono_jit_thread_attach ()
+#16 0x08166151 in mono_jit_thread_attach ()
+#17 0x0816624b in mono_jit_thread_attach ()
+#18 0x081666d6 in mono_jit_thread_attach ()
+#19 0x080ab5ff in mono_runtime_invoke ()
+#20 0x080b1475 in mono_runtime_invoke_array ()
+#21 0x080b6a5c in mono_add_internal_call ()
+#22 0xb64d4b28 in ?? ()
+#23 0x00fed768 in ?? ()
+#24 0x00000000 in ?? ()
+#0  0xb7e4f144 in fork () from /lib/tls/libc.so.6
+
+
+=================================================================
+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.
+=================================================================
+
+Expected Results:
+
+The first input should produce the output 3 : int, second input should
+produce 7 : int
+
+How often does this happen? 
+
+Always.
+
+Additional Information:


More information about the mono-bugs mailing list