[Mono-bugs] [Bug 79521][Wis] Changed - runtime tests hang on win32 and mac-ppc from commit r65875

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Oct 3 11:05:56 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 vargaz at gmail.com.

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

--- shadow/79521	2006-10-03 08:12:20.000000000 -0400
+++ shadow/79521.tmp.19953	2006-10-03 11:05:56.000000000 -0400
@@ -55,6 +55,18 @@
 ------- Additional Comments From lupus at ximian.com  2006-10-03 06:14 -------
 Jonathan, please try running with mono -O=all test.exe which is what
 the makefile does.
 
 ------- Additional Comments From joncham at gmail.com  2006-10-03 08:12 -------
 Running with -O=all causes the tests to hang.
+
+------- Additional Comments From vargaz at gmail.com  2006-10-03 11:05 -------
+This is the culpit:
+
+http://lists.ximian.com/pipermail/mono-patches/2006-September/080773.html
+
+specially, this line:
+	for (i = 0; i < G_N_ELEMENTS (opt_names) && optflag_get_name (i); ++i) {
+
+there is an if () later which only checks for i == G_N_ELEMENTS
+(opt_names) so the outer while loop turns into an infinite loop.
+


More information about the mono-bugs mailing list