[Mono-bugs] [Bug 53011][Wis] New - System.IO.FAMWatcher causes a Win32Exception

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 17 Jan 2004 23:39:01 -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 jon@jellybob.co.uk.

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

--- shadow/53011	2004-01-17 23:39:01.000000000 -0500
+++ shadow/53011.tmp.25030	2004-01-17 23:39:01.000000000 -0500
@@ -0,0 +1,50 @@
+Bug#: 53011
+Product: Mono/Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: System
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jon@jellybob.co.uk               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: System.IO.FAMWatcher causes a Win32Exception
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+When attempting to enable event raising for a FileSystemWatcher your
+program will crash.
+
+Steps to reproduce the problem:
+1. Compile and run the attached test program.
+
+Actual Results:
+Unhandled Exception: System.ComponentModel.Win32Exception: Some sort of w32
+error occurred: 0
+in [0x00022] (at
+/home/jon/C#/cvs/mcs/class/System/System.IO/FAMWatcher.cs:124)
+System.IO.FAMWatcher:StartMonitoringDirectory (System.IO.FAMData)
+in [0x000a1] (at
+/home/jon/C#/cvs/mcs/class/System/System.IO/FAMWatcher.cs:112)
+System.IO.FAMWatcher:StartDispatching (System.IO.FileSystemWatcher)
+in [0x00006] (at
+/home/jon/C#/cvs/mcs/class/System/System.IO/FileSystemWatcher.cs:411)
+System.IO.FileSystemWatcher:Start ()
+in <0x0004f> (wrapper remoting-invoke-with-check)
+System.IO.FileSystemWatcher:Start ()
+in [0x0001b] (at
+/home/jon/C#/cvs/mcs/class/System/System.IO/FileSystemWatcher.cs:148)
+System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool)
+
+Expected Results:
+No output. (FileSystemWatcher raises events normally)
+
+How often does this happen? 
+Everytime