[Mono-bugs] [Bug 23846] New - Mono runtime running out of registers?

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
25 Apr 2002 04:17:37 -0000

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 crichton@gimp.org.


--- shadow/23846	Thu Apr 25 00:17:37 2002
+++ shadow/23846.tmp.25376	Thu Apr 25 00:17:37 2002
@@ -0,0 +1,29 @@
+Bug#: 23846
+Product: Mono/Runtime
+Version: unspecified
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: crichton@gimp.org               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Mono runtime running out of registers?
+I've completed my port of the JOrbis code to C#.  Using the .NET Framework
+there and MS's runtime, my code can decode oggs.
+Under mono, things break down with the following:
+** ERROR **: file emit-x86.c: line 510 (tree_allocate_regs): assertion
+failed: (tree->reg1 != -1)
+Looking at the code in mono/jit/regset.c:mono_regset_alloc_reg, it looks
+like I'm running out of registers (I put a "printf("outofregs?"); just
+before the first return -1; line of code).  Is there any way around this?