[Mono-bugs] [Bug 57548][Cri] New - mono/test delegate1.exe (crashes)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 23 Apr 2004 19:17:47 -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 umuff@quark.com.


--- shadow/57548	2004-04-23 19:17:47.000000000 -0400
+++ shadow/57548.tmp.32547	2004-04-23 19:17:47.000000000 -0400
@@ -0,0 +1,67 @@
+Bug#: 57548
+Product: Mono: Runtime
+Version: unspecified
+OS: Mac OS X 10.3
+OS Details: 
+Status: NEW   
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: umuff@quark.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: mono/test delegate1.exe (crashes)
+(gdb) r
+Starting program: /usr/local/mono/bin/mono --debug delegate1.exe
+Reading symbols for shared libraries ++++++++. done
+Program received signal EXC_BAD_ACCESS, Could not access memory.
+[Switching to process 20405 thread 0x2403]
+0x01091774 in mono_monitor_try_enter (obj=0x2801a88, ms=4294967295) at monitor.c:125
+125             if(mon->owner==id) {
+(gdb) bt
+#0  0x01091774 in mono_monitor_try_enter (obj=0x2801a88, ms=4294967295) at monitor.c:
+#1  0x01095294 in mono_thread_pool_finish (ares=0x2801a88, out_args=0xf04018cc, 
+exc=0xf04018c8) at threadpool.c:152
+#2  0x01085e04 in mono_delegate_end_invoke (delegate=0xa8fc0, params=0xf0401908) at 
+#3  0x003d5bcc in ?? ()
+#4  0x003d3d54 in ?? ()
+#5  0x003d3290 in ?? ()
+#6  0x0101e0d4 in mono_jit_runtime_invoke (method=0x2814800, obj=0x0, 
+params=0xf0401ca4, exc=0x0) at mini.c:8082
+#7  0x01067330 in mono_runtime_invoke (method=0x43ab20, obj=0x0, params=0xf0401ca4, 
+exc=0x0) at object.c:957
+#8  0x010687c4 in mono_runtime_exec_main (method=0x43ab20, args=0xa0f60, exc=0x0) at 
+#9  0x010682f8 in mono_runtime_run_main (method=0x43ab20, argc=0, argv=0xbffffb64, 
+exc=0x0) at object.c:1313
+#10 0x01038cdc in mono_jit_exec (domain=0x2814800, assembly=0xffffffff, argc=1, 
+argv=0xbffffb60) at driver.c:466
+#11 0x01038d9c in main_thread_handler (user_data=0x2814800) at driver.c:500
+#12 0x010923f4 in start_wrapper (data=0x43a2c0) at threads.c:239
+#13 0x010eda50 in timed_thread_start_routine (args=0x43a160) at timed-thread.c:129
+#14 0x900247e8 in _pthread_body ()
+(gdb) p print_method_from_ip (0x003d5bcc)
+IP 0x3d5bcc at offset 0xdc of method (wrapper delegate-end-invoke) System.MulticastDelegate:
+end_invoke_int_IAsyncResult (System.IAsyncResult) (0x3d5af0 0x3d5c98)
+$1 = void
+(gdb) p print_method_from_ip (0x003d3d54)
+IP 0x3d3d54 at offset 0x22c of method Test:Main () (0x3d3b28 0x3d4170)
+$2 = void
+(gdb) p print_method_from_ip (0x003d3290)
+IP 0x3d3290 at offset 0x50 of method (wrapper runtime-invoke) Test:Main (object,intptr,intptr) 
+(0x3d3240 0x3d3340)
+$3 = void
+(gdb) p mon
+$4 = (MonoThreadsSync *) 0x7fc00001
+(gdb) p *mon
+Cannot access memory at address 0x7fc00001