[Mono-bugs] [Bug 75512][Nor] Changed - execution-time problem with initialization of static enum array

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Jul 13 13:38:05 EDT 2005

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 ash at onezero.org.


--- shadow/75512	2005-07-13 12:51:54.000000000 -0400
+++ shadow/75512.tmp.16711	2005-07-13 13:38:05.000000000 -0400
@@ -84,6 +84,20 @@
 problem. Can anyone else reproduce?
 ------- Additional Comments From matt at use.net  2005-07-09 23:15 -------
 I can't reproduce with mono on a gentoo x86-64 machine. 
 Compiling the source above with mcs and running works fine, and 
 running the csc-compiled binary in  the attachment also works fine. 
+------- Additional Comments From ash at onezero.org  2005-07-13 13:38 -------
+Any ideas?
+I don't know if this has anything to do with it, but I use Cygwin.
+Here is one oddity.  As I mentioned, the code is about as small as I 
+could get it and still have it generate an error.  When I delete an 
+enumeration member, things work fine.  In the program where I 
+originally got the error, there were about 16 enumeration members.  
+In the test program here that I derived from the original program to 
+isolate the problem, there are 4 enumeration members.  The problem 
+happens with 4 members, but not with 3.  Maybe the runtime has some 
+behavior near powers of 2 that a mono developer would recognize.

More information about the mono-bugs mailing list