[Mono-bugs] [Bug 65966][Wis] New - Can't create a new FileSystemWatcher in another FileSystemWatcher's event handler

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 15 Sep 2004 02:15:05 -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 trow@ximian.com.

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

--- shadow/65966	2004-09-15 02:15:05.000000000 -0400
+++ shadow/65966.tmp.6991	2004-09-15 02:15:05.000000000 -0400
@@ -0,0 +1,34 @@
+Bug#: 65966
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: trow@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Can't create a new FileSystemWatcher in another FileSystemWatcher's event handler
+
+This is with 1.0.1.
+
+When I do, I get:
+
+Unhandled Exception: System.InvalidOperationException:
+Hashtable.Enumerator: snapshot out of sync.
+in [0x00020] (at
+/cvs/1-mono/mcs/class/corlib/System.Collections/Hashtable.cs:777)
+Enumerator:FailFast ()
+in [0x00001] (at
+/cvs/1-mono/mcs/class/corlib/System.Collections/Hashtable.cs:792)
+Enumerator:MoveNext ()
+in [0x00036] (at
+/cvs/1-mono/mcs/class/System/System.IO/DefaultWatcher.cs:134)
+System.IO.DefaultWatcher:Monitor ()
+in <0x00053> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()