[Mono-bugs] [Bug 58468][Wis] New - mono --trace lockup on OSX

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 13 May 2004 17:23:02 -0400 (EDT)


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 grompf@sublimeintervention.com.

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

--- shadow/58468	2004-05-13 17:23:02.000000000 -0400
+++ shadow/58468.tmp.30818	2004-05-13 17:23:02.000000000 -0400
@@ -0,0 +1,143 @@
+Bug#: 58468
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: OSX 10.3.3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: grompf@sublimeintervention.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mono --trace lockup on OSX
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem
+When running mono --trace on any assembly on PPC it locks up, running it thru gdb, the 
+following backtrace is produced
+
+junglist:~/Desktop/WiRNS plasma$ gdb --args mono --debug -v pro
+(gdb) r --trace /usr/local/mono/bin/wsdl.exe
+Starting program: /usr/local/mono/bin/mono --trace /usr/local/mono/bin/wsdl.exe
+ENTER: (wrapper runtime-invoke) Mono.WebServices.Driver:Main (object,intptr,intptr)() ip: 
+0x102ccec
+. ENTER: Mono.WebServices.Driver:Main (string[])() ip: 0x7f335c
+. . ENTER: Mono.WebServices.Driver:.ctor ()() ip: 0x7f34dc
+. . . ENTER: System.Collections.ArrayList:.ctor ()() ip: 0x7f42f0
+. . . . ENTER: (wrapper managed-to-native) System.Object:
+__icall_wrapper_mono_array_new_specific (intptr,int)() ip: 0x7f4708
+. . . . LEAVE: (wrapper managed-to-native) System.Object:
+__icall_wrapper_mono_array_new_specific (intptr,int)[System.Object[]:0xc3f00]
+. . . LEAVE: System.Collections.ArrayList:.ctor ()
+. . . ENTER: System.Collections.ArrayList:.ctor ()() ip: 0x7f4324
+. . . . ENTER: (wrapper managed-to-native) System.Object:
+__icall_wrapper_mono_array_new_specific (intptr,int)() ip: 0x7f4708
+. . . . LEAVE: (wrapper managed-to-native) System.Object:
+__icall_wrapper_mono_array_new_specific (intptr,int)[System.Object[]:0xc3ea0]
+. . . LEAVE: System.Collections.ArrayList:.ctor ()
+. . . ENTER: Mono.WebServices.SourceGenerator:.ctor ()() ip: 0x7f43c4
+. . . LEAVE: Mono.WebServices.SourceGenerator:.ctor ()
+. . . ENTER: Mono.WebServices.SourceGenerator:set_ApplicationSignature (string)() ip: 0x7f43ec
+. . . LEAVE: Mono.WebServices.SourceGenerator:set_ApplicationSignature (string)
+. . LEAVE: Mono.WebServices.Driver:.ctor ()
+. . ENTER: Mono.WebServices.Driver:Run (string[])() ip: 0x7f34fc
+. . . ENTER: (wrapper runtime-invoke) System.Console:.cctor (object,intptr,intptr)() ip: 0x102ccec
+. . . . ENTER: System.Console:.cctor ()() ip: 0x7f5484
+. . . . . ENTER: (wrapper runtime-invoke) System.Text.Encoding:.cctor (object,intptr,intptr)() ip: 
+0x102ccec
+. . . . . . ENTER: System.Text.Encoding:.cctor ()() ip: 0x7f7cdc
+. . . . . . . ENTER: (wrapper managed-to-native) System.Object:
+__icall_wrapper_mono_array_new_specific (intptr,int)() ip: 0x7f7f88
+. . . . . . . LEAVE: (wrapper managed-to-native) System.Object:
+__icall_wrapper_mono_array_new_specific (intptr,int)[System.Object[]:0x24b28]
+. . . . . . . ENTER: (wrapper managed-to-native) System.Object:__icall_wrapper_helper_stelem_ref 
+(System.Array,int,object)() ip: 0x7f7fc8
+
+Program received signal EXC_BAD_ACCESS, Could not access memory.
+[Switching to process 29163 thread 0x2503]
+0x0100912c in helper_stelem_ref (array=0x1196810, index=0, val=0x2bd00) at jit-icalls.c:83
+83              if (val && !mono_object_isinst (val, array->obj.vtable->klass->element_class))
+(gdb) bt
+#0  0x0100912c in helper_stelem_ref (array=0x1196810, index=0, val=0x2bd00) at jit-icalls.c:
+83
+#1  0x007f7eb8 in ?? ()
+#2  0x007f7fc8 in ?? ()
+#3  0x007f7cdc in ?? ()
+#4  0x0102ccec in mono_jit_runtime_invoke (method=0x363270, obj=0x0, params=0x0, 
+exc=0xf0400e04) at mini.c:8104
+#5  0x010946f4 in mono_runtime_invoke (method=0x363270, obj=0x0, params=0x0, 
+exc=0xf0400e04) at object.c:961
+#6  0x010922d8 in mono_runtime_class_init (vtable=0x3802250) at object.c:201
+#7  0x0102c938 in mono_jit_compile_method_inner (method=0x3655b0, 
+target_domain=0x24f18) at mini.c:8017
+#8  0x0102ca88 in mono_jit_compile_method_with_opt (method=0x3655b0, opt=67595) at 
+mini.c:8047
+#9  0x0102cae4 in mono_jit_compile_method (method=0x3655b0) at mini.c:8054
+#10 0x010926dc in mono_compile_method (method=0x3655b0) at object.c:288
+#11 0x0102c608 in mono_jit_compile_method_inner (method=0x363550, 
+target_domain=0x24f18) at mini.c:7948
+#12 0x0102ca88 in mono_jit_compile_method_with_opt (method=0x363550, opt=67595) at 
+mini.c:8047
+#13 0x0102cae4 in mono_jit_compile_method (method=0x363550) at mini.c:8054
+#14 0x010926dc in mono_compile_method (method=0x363550) at object.c:288
+#15 0x0107585c in ppc_magic_trampoline (method=0x363550, code=0x7f6b80, 
+sp=0xf0401240 "?@\023\200$") at tramp-ppc.c:104
+#16 0x0380c0e8 in ?? ()
+#17 0x007f6b80 in ?? ()
+#18 0x007f5484 in ?? ()
+#19 0x0102ccec in mono_jit_runtime_invoke (method=0x3487f0, obj=0x0, params=0x0, 
+exc=0xf04015d4) at mini.c:8104
+#20 0x010946f4 in mono_runtime_invoke (method=0x3487f0, obj=0x0, params=0x0, 
+exc=0xf04015d4) at object.c:961
+#21 0x010922d8 in mono_runtime_class_init (vtable=0x3801da0) at object.c:201
+#22 0x0102c938 in mono_jit_compile_method_inner (method=0x349c20, 
+target_domain=0x24f18) at mini.c:8017
+#23 0x0102ca88 in mono_jit_compile_method_with_opt (method=0x349c20, opt=67595) at 
+mini.c:8047
+#24 0x0102cae4 in mono_jit_compile_method (method=0x349c20) at mini.c:8054
+#25 0x010926dc in mono_compile_method (method=0x349c20) at object.c:288
+#26 0x0107585c in ppc_magic_trampoline (method=0x349c20, code=0x7f49b8, 
+sp=0xf0401850 "?@\031\220$") at tramp-ppc.c:104
+#27 0x0380c0e8 in ?? ()
+#28 0x007f49b8 in ?? ()
+#29 0x007f34fc in ?? ()
+#30 0x007f335c in ?? ()
+#31 0x0102ccec in mono_jit_runtime_invoke (method=0x341a80, obj=0x0, 
+params=0xf0401c74, exc=0x0) at mini.c:8104
+#32 0x010946f4 in mono_runtime_invoke (method=0x341a80, obj=0x0, params=0xf0401c74, 
+exc=0x0) at object.c:961
+#33 0x01095bb8 in mono_runtime_exec_main (method=0x341a80, args=0x2df60, exc=0x0) at 
+object.c:1446
+#34 0x010956d0 in mono_runtime_run_main (method=0x341a80, argc=0, argv=0xbffffcc0, 
+exc=0x0) at object.c:1319
+#35 0x0105a02c in mono_jit_exec (domain=0x24f18, assembly=0x331290, argc=1, 
+argv=0xbffffcbc) at driver.c:466
+#36 0x0105a13c in main_thread_handler (user_data=0xbffffb10) at driver.c:500
+#37 0x010bfc38 in start_wrapper (data=0x341890) at threads.c:239
+#38 0x01123e78 in timed_thread_start_routine (args=0x341730) at timed-thread.c:129
+#39 0x900247e8 in _pthread_body ()
+
+
+Steps to reproduce the problem:
+1. run mono --trace against any application (notice, the mono wsdl.exe was used in this 
+example)
+2. 
+3. 
+
+Actual Results:
+
+Trace crashes and assembly doesn't run
+
+Expected Results:
+mono --trace to run as expected
+
+How often does this happen? 
+Every time.
+
+
+Additional Information: