[Mono-bugs] [Bug 77774][Nor] Changed - amd64: Sigsegv with boo interpreter

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Mar 13 13:42:12 EST 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 miguel at ximian.com.

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

--- shadow/77774	2006-03-13 13:29:18.000000000 -0500
+++ shadow/77774.tmp.31892	2006-03-13 13:42:12.000000000 -0500
@@ -132,6 +132,41 @@
 So I suspect this is a Gentoo-specific problem. 
 
 
 ------- Additional Comments From psofa.psofa at gmail.com  2006-03-13 13:29 -------
 It should print it 4 times not only once.I get the result once before
 i sigsegv
+
+------- Additional Comments From miguel at ximian.com  2006-03-13 13:42 -------
+You are right, the code only outputs the numbers once, after the first
+time it prints nothing.  I added a writeline and got this:
+
+builder at monobuild2:~/boo> mono tt.exe
+i=0
+-0.416146836547142
+i=1
+i=2
+i=3
+
+If I trace like this, I get:
+
+builder at monobuild2:~/boo> mono --trace=N:Boo tt.exe > log
+builder at monobuild2:~/boo> more log
+i=0
+-0.416146836547142
+i=1
+EXCEPTION handling: NullReferenceException
+EXCEPTION handling: FileNotFoundException
+EXCEPTION handling: FileNotFoundException
+i=2
+EXCEPTION handling: NullReferenceException
+i=3
+EXCEPTION handling: NullReferenceException
+
+This is looking for a file that does not exist:
+
+/home/builder/t/install/lib/mono/gac/policy.0.5.Boo.Lang.resources/0.0.0.0_en-us_32c39770e9a21a67/policy.0.5.Boo.Lang.resources.dll
+
+So it fails silently after that, although the source of the problem
+seems to the be the earlier NullReference which does not happen on x86
+
+


More information about the mono-bugs mailing list