[Mono-bugs] [Bug 58274][Cri] New - char-isnumber.exe is crashing

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 10 May 2004 11:12:24 -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.

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

--- shadow/58274	2004-05-10 11:12:24.000000000 -0400
+++ shadow/58274.tmp.1595	2004-05-10 11:12:24.000000000 -0400
@@ -0,0 +1,123 @@
+Bug#: 58274
+Product: Mono: Runtime
+Version: unspecified
+OS: Mac OS X 10.3
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Critical
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: umuff@quark.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: char-isnumber.exe is crashing
+
+mono --version        
+Mono JIT compiler version 0.91.99, (C) 2002-2004 Novell, Inc and Contributors. www.go-
+mono.com
+        TLS:           normal
+        GC:            System Boehm (with typed GC)
+        SIGSEGV      : normal
+        Globalization: none
+
+Method System.Char:IsNumber (char) emitted at 0x3fa7e0 to 0x3fa864 [char-isnumber.exe]
+/tmp/test.o:
+(__TEXT,__text) section
+System_Char_IsNumber:
+00000000        mfspr   r0,lr
+00000004        stw     r0,0x8(r1)
+00000008        stw     r30,0xfffc(r1)
+0000000c        stw     r29,0xfff8(r1)
+00000010        stwu    r1,0xffc0(r1)
+00000014        sth     r3,0x28(r1)
+00000018        li      r11,System_Char_IsNumber
+0000001c        stw     r11,0x20(r1)
+00000020        li      r11,System_Char_IsNumber
+00000024        stw     r11,0x24(r1)
+00000028        lhz     r3,0x28(r1)
+0000002c        lbz     r3,0x1c0(r3)
+00000030        stw     r3,0x20(r1)
+00000034        stw     r3,0x24(r1)
+00000038        addi    r3,r3,0xfff8
+0000003c        cmplwi  r3,0x3
+00000040        bge     0x5c
+00000044        rlwinm  r3,r3,2,0,29
+00000048        lis     r11,0x3f
+0000004c        ori     r11,r11,0xa8b0
+00000050        lwzx    r3,r11,r3
+00000054        mtspr   ctr,r3
+00000058        bctr
+0000005c        ba      0x3fa848
+00000060        li      r3,0x1
+00000064        ba      0x3fa84c
+00000068        li      r3,System_Char_IsNumber
+0000006c        lwz     r0,0x48(r1)
+00000070        mtspr   lr,r0
+00000074        addic   r1,r1,0x40
+00000078        lwz     r30,0xfffc(r1)
+0000007c        lwz     r29,0xfff8(r1)
+00000080        blr
+
+Program received signal EXC_BAD_ACCESS, Could not access memory.
+[Switching to process 13026 thread 0x2403]
+0x003fa80c in ?? ()
+(gdb) bt
+#0  0x003fa80c in ?? ()
+#1  0x003f9c08 in ?? ()
+#2  0x003f9328 in ?? ()
+#3  0x0105bcb8 in mono_runtime_exec_main (method=0x43afd0, args=0x31f78, exc=0x0) at 
+object.c:1446
+#4  0x0105b90c in mono_runtime_run_main (method=0x43afd0, argc=0, argv=0xbffffa2c, 
+exc=0x0) at object.c:1319
+#5  0x010788e4 in start_wrapper (data=0x1814200) at threads.c:239
+#6  0x010b5954 in timed_thread_start_routine (args=0x43a640) at timed-thread.c:129
+#7  0x900247e8 in _pthread_body ()
+(gdb) p print_method_from_ip( 0x003fa80c)
+IP 0x3fa80c at offset 0x2c of method System.Char:IsNumber (char) (0x3fa7e0 0x3fa864)
+(gdb) i reg 
+r0             0x3f9c08 4168712
+r1             0xf0401be0       4030733280
+r2             0x3f9c0c 4168716
+r3             0x30     48
+r4             0x25be0  154592
+r5             0x7      7
+r6             0x43a828 4433960
+r7             0x30549c 3167388
+r8             0xf0401aa0       4030732960
+r9             0x2      2
+r10            0x10b4eac        17518252
+r11            0x0      0
+r12            0x31f76  204662
+r13            0x0      0
+r14            0x0      0
+r15            0x0      0
+r16            0x0      0
+r17            0x0      0
+r18            0x0      0
+r19            0x0      0
+r20            0x0      0
+r21            0x0      0
+r22            0x43afd0 4435920
+r23            0x110b6f0        17872624
+r24            0x31f78  204664
+r25            0x28f18  167704
+r26            0xbffffa2c       3221223980
+r27            0x0      0
+r28            0x0      0
+r29            0x43afd0 4435920
+r30            0x31f78  204664
+r31            0xf0401c90       4030733456
+pc             0x3fa80c 4171788
+ps             0xf030   61488
+cr             0x42000224       1107296804
+lr             0x3f9c08 4168712
+ctr            0x3fa7e0 4171744
+xer            0x0      0
+mq             0x0      0
+fpscr          0x0      0
+vscr           0x10000  65536
+vrsave         0x0      0