[Mono-bugs] [Bug 72824][Nor] Changed - [PPC] SIGILL on G3 compiling Microsoft.VisualBasic.dll
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Wed, 23 Feb 2005 13:08:03 -0500 (EST)
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=72824
--- shadow/72824 2005-02-23 12:49:07.000000000 -0500
+++ shadow/72824.tmp.13725 2005-02-23 13:08:03.000000000 -0500
@@ -159,6 +159,51 @@
(Updated topic & product to be appropriate)
------- Additional Comments From jeyoung@priscimon.com 2005-02-22 18:12 -------
Created an attachment (id=14322)
The test CS file.
+
+------- Additional Comments From grompf@sublimeintervention.com 2005-02-23 13:08 -------
+Better testcase:
+
+using System;
+
+class T {
+ static void Main (string[] args) {
+ throw new Exception ();
+ }
+}
+
+It looks like exception throwing is broken on the g3;
+
+gdb info:
+
+Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand.
+0x00141f84 in start.2 ()
+(gdb) bt
+#0 0x00141f84 in start.2 ()
+#1 0x00082a34 in arch_handle_exception (ctx=0xc24bc195, obj=0xc24bc195,
+test_only=-2021289069) at exceptions-ppc.c:893
+#2 0x00081958 in throw_exception (exc=0x87859393, eip=2273678227,
+esp=2273678227, int_regs=0xc24bc195, fp_regs=0xc24bc195, rethrow=-1035222635)
+at exceptions-ppc.c:299
+#3 0x001421d0 in start.7 ()
+#4 0x0077a50c in ?? ()
+#5 0x0077a408 in ?? ()
+
+(gdb) p print_method_from_ip (0x0077a50c)
+IP 0x77a50c at offset 0x3c of method T:Main (string[]) (0x77a4d0 0x77a520)[domain
+0x48bf20 - test.exe]
+$1 = void
+
+(gdb) disas
+Dump of assembler code for function start.2:
+0x00141f84 <start.2+0>: .long 0x0
+0x00141f88 <start.2+4>: .long 0x0
+0x00141f8c <start.2+8>: .long 0x0
+0x00141f90 <start.2+12>: .long 0x0
+0x00141f94 <start.2+16>: .long 0x0
+<snip>
+
+-kangaroo
+