[Mono-bugs] [Bug 79381][Blo] Changed - forcing the cfg->method->dynamic branch on ppc machines, generates SIGILL exceptions
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Tue Sep 12 15:52:54 EDT 2006
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 joe at otee.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=79381
--- shadow/79381 2006-09-12 11:56:35.000000000 -0400
+++ shadow/79381.tmp.22948 2006-09-12 15:52:54.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 79381
Product: Mono: Runtime
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Blocker
Component: JIT
AssignedTo: lupus at ximian.com
ReportedBy: joe at otee.dk
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
@@ -39,6 +39,50 @@
@System.Xml.dll.sources
Unhandled Exception: System.ExecutionEngineException: SIGILL
make[8]: *** [../../class/lib/basic/System.Xml.dll] Error 1
make[7]: *** [do-all] Error 2
make[6]: *** [all-recursive] Error 1
+
+------- Additional Comments From joe at otee.dk 2006-09-12 15:52 -------
+I managed to make a smaller test case, still using mcs though.
+
+mono mcs Test1.cs Test2.cs
+
+
+You can download the source files from here:
+www.otee.dk/joe/reproduce_ppc_crash.zip
+
+or alternatively use the code inlined here:
+
+---Test1.cs
+using System.Collections;
+---
+
+---Test2.cs
+using System.Collections;
+
+class Mesh
+{
+ public int[] triangles;
+}
+
+public class MeshCombineUtility {
+
+ public struct MeshInstance
+ {
+ int i;
+ }
+
+ public static int Combine (MeshInstance[] combines)
+ {
+ int triangleCount = 0;
+
+ int[] triangles = new int[triangleCount] ;
+
+ Mesh mesh = new Mesh();
+ mesh.triangles = triangles;
+
+ return triangles.Length;
+ }
+}
+---
More information about the mono-bugs
mailing list