[Mono-bugs] [Bug 48052][Wis] New - Mono crashes running Hello, World! application.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 30 Aug 2003 00:56:15 -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 quenio.dos.santos@zerog.com.

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

--- shadow/48052	2003-08-30 00:56:14.000000000 -0400
+++ shadow/48052.tmp.29024	2003-08-30 00:56:14.000000000 -0400
@@ -0,0 +1,86 @@
+Bug#: 48052
+Product: Mono/Runtime
+Version: 
+OS: 
+OS Details: Mac OS 10.2.3
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: Quenio.dos.Santos@ZeroG.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono crashes running Hello, World! application.
+
+Please fill in this template when reporting a bug, unless you know what you are doing.
+Description of Problem:
+A simple Hello, World! application is sufficient to get Mono 0.26 crashing on Mac OS 10.2.3
+
+Date/Time:  2003-08-29 21:47:27 -0700
+OS Version: 10.2.6 (Build 6L60)
+Host:       brava.local.
+
+Command:    mono
+PID:        8459
+
+Exception:  EXC_BAD_ACCESS (0x0001)
+Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000001
+
+Thread 0 Crashed:
+ #0   0x003dc600 in mono_arch_local_regalloc (mini-ppc.c:1540)
+ #1   0x003a6e44 in mono_codegen (mini.c:6426)
+ #2   0x003a8034 in mini_method_compile (mini.c:6870)
+ #3   0x003a892c in mono_jit_compile_method (mini.c:7018)
+ #4   0x003a8a7c in mono_jit_runtime_invoke (mini.c:7058)
+ #5   0x003fbb5c in mono_runtime_invoke (object.c:690)
+ #6   0x003fa354 in mono_runtime_class_init (object.c:107)
+ #7   0x003a8a20 in mono_jit_compile_method (mini.c:7042)
+ #8   0x003fa6b0 in mono_compile_method (object.c:177)
+ #9   0x003a8770 in mono_jit_compile_method (mini.c:6987)
+ #10  0x003fa6b0 in mono_compile_method (object.c:177)
+ #11  0x003e4e20 in mono_arch_create_jit_trampoline (tramp-ppc.c:234)
+ #12  0x003fb2e0 in mono_class_vtable (object.c:512)
+ #13  0x003fdd1c in mono_string_new_size (object.c:1580)
+ #14  0x003fdc60 in mono_string_new_utf16 (object.c:1559)
+ #15  0x003fde9c in mono_string_new (object.c:1642)
+ #16  0x003fdf10 in mono_string_new_wrapper (object.c:1665)
+ #17  0x00416bec in mono_marshal_get_runtime_invoke (marshal.c:1612)
+ #18  0x003a8a6c in mono_jit_runtime_invoke (mini.c:7057)
+ #19  0x003fbb5c in mono_runtime_invoke (object.c:690)
+ #20  0x00429170 in mono_domain_fire_assembly_load (appdomain.c:452)
+ #21  0x0043823c in mono_assembly_invoke_load_hook (assembly.c:204)
+ #22  0x00438c04 in mono_assembly_open (assembly.c:510)
+ #23  0x003d434c in mono_main (driver.c:646)
+ #24  0x00001d98 in main (main.c:6)
+ #25  0x00001b1c in _start (crt.c:267)
+ #26  0x0000199c in start
+
+PPC Thread State:
+  srr0: 0x003dc600 srr1: 0x0200f930                vrsave: 0x00000000
+   xer: 0x00000000   lr: 0x003dc550  ctr: 0x00000000   mq: 0x00000000
+    r0: 0x00000000   r1: 0xbfffe820   r2: 0x0014da10   r3: 0x001b672c
+    r4: 0x0000001c   r5: 0x00000010   r6: 0x00000014   r7: 0x00000010
+    r8: 0x00163010   r9: 0x00000001  r10: 0x00000000  r11: 0x00000898
+   r12: 0x90073ac0  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
+   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
+   r20: 0x00000000  r21: 0x00000000  r22: 0x00000000  r23: 0x00000000
+   r24: 0x00000000  r25: 0x00000000  r26: 0xbffff4e0  r27: 0x0000000c
+   r28: 0x00000002  r29: 0x001ae4c0  r30: 0xbfffe820  r31: 0x003dc4b8
+
+Steps to reproduce the problem:
+1. Extract the code found in the attached zip file.
+2. cd to /QS/CLI/Tests/Hello 
+3. Execute: make run
+
+Actual Results:
+Mono will crash with a bus error.
+
+Expected Results:
+"Hello, World!" should be printed to the console.
+
+How often does this happen? 
+Every time.