[Mono-bugs] [Bug 77788][Blo] New - Random NullPointerException with array code

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 14 09:48:41 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 ck at carlo-kok.com.


--- shadow/77788	2006-03-14 09:48:41.000000000 -0500
+++ shadow/77788.tmp.19551	2006-03-14 09:48:41.000000000 -0500
@@ -0,0 +1,38 @@
+Bug#: 77788
+Product: Mono: Runtime
+Version: 1.0
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Blocker
+Component: misc
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: ck at carlo-kok.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Random NullPointerException with array code
+Description of Problem:
+In the attached assemblies where a lot of different array types are used,
+the debugger fails if there is an unused field (FCheckPadding) defined, and
+succeeds otherwise. The assembly makes no use of reflection, pinvoke or
+unsafe code and peverifies just fine. I was able to reproduce this on Mono
+1.13.4 on Windows and a Linux build from the same time. It also reproduces
+in mono
+Steps to reproduce the problem:
+1. Run attached assembly 1
+2. Notice error
+3. Run attached assembly 2
+4. Notice no error
+[optional if you have ms .net installed]
+5 Run assembly 1 or 2 on MS .net
+6. Notice no errors at all
+How often does this happen? 
+Original code (which was huge) showed it randomly for calls, this one shows
+it with each iteration.

More information about the mono-bugs mailing list