[Mono-bugs] [Bug 55253][Maj] Changed - IndexOf on null string hangs.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 6 Mar 2004 11:01:04 -0500 (EST)


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 dave-mono@earth.li.

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

--- shadow/55253	2004-03-06 09:19:22.000000000 -0500
+++ shadow/55253.tmp.32729	2004-03-06 11:01:04.000000000 -0500
@@ -1,16 +1,16 @@
 Bug#: 55253
-Product: Mono: Class Libraries
+Product: Mono: Runtime
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Major
-Component: CORLIB
+Component: misc
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: dave-mono@earth.li               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
@@ -47,6 +47,24 @@
 an instance of an object.
    at t1.Main(String[] args)
 
 
 How often does this happen? 
  All the time.
+
+------- Additional Comments From dave-mono@earth.li  2004-03-06 11:01 -------
+Thinking about it some more, I think that this might be a runtime bug. 
+
+I think all callvirts on null objects are causing this problem. 
+
+using System;
+public class Test
+{
+  void foo () {
+
+  }
+        public static void Main()
+        {
+          Test bar = null;
+          bar.foo();
+        }
+}