[Mono-bugs] [Bug 74413][Cri] New - Mono segfaults while accessing an ArrayList property in foreach.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 5 Apr 2005 11:06:02 -0400 (EDT)

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 mono@wirschell.nl.


--- shadow/74413	2005-04-05 11:06:02.000000000 -0400
+++ shadow/74413.tmp.2919	2005-04-05 11:06:02.000000000 -0400
@@ -0,0 +1,44 @@
+Bug#: 74413
+Product: Mono: Runtime
+Version: 1.1
+OS Details: 2.6.11-rc5-mm1, Debian, self-compiled mono 1.1.6
+Status: NEW   
+Severity: Unknown
+Priority: Critical
+Component: JIT
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: mono@wirschell.nl               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: Mono segfaults while accessing an ArrayList property in foreach.
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+While accessing an ArrayList of a parent class via the parent class'
+property using foreach, Mono segfaults.
+Steps to reproduce the problem:
+I'll attach a small testcase that reproduces the problem.
+mcs --debug test.cs
+mono --debug test.exe
+Omitting the --debug doesn't change anything.
+Actual Results:
+Segmentation fault.
+Expected Results:
+A printing of this element's subelements.
+How often does this happen? 
+100% reproducible.
+Additional Information:
+I'm new to C# programming, so I might be doing something really stupid in
+the code itself. Compiling, however, results in 0 errors or warnings.