[Mono-list] ASP.NET from CVS very difficult to use

Jaroslaw Kowalski jaak@zd.com.pl
Thu, 8 Apr 2004 21:42:54 +0200


I'm getting an error every time I update one of the source files in my
ASP.NET application. The error seems to be related to the FileSystemWatcher.
This makes developing with mod_mono very difficult since I have to restart
mod-mono-server.exe every time.

My config:

Fedora Core 1/athlon
httpd-2.0.48-1.2
mod_mono - installed from CVS today
mono - installed from CVS today:

Mono JIT compiler version 0.31.99, (C) 2002-2004 Novell, Inc and
Contributors. www.go-mono.com
        TLS:           NPTL
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : altstack
        Globalization: none

Is this a bug or my mis-configuration?
Error message follows.

Jarek

Unhandled Exception: System.Reflection.TargetInvocationException: Exception
has been thrown by the target of an invocation. --->
System.ApplicationException: Timeout expited
in <0x000ac> System.Threading.ReaderWriterLock:AcquireReaderLock (int,int)
in <0x00016> System.Threading.ReaderWriterLock:AcquireReaderLock (int)
in <0x0001d> System.Web.Caching.CacheEntry:TestFlag
(System.Web.Caching.CacheEntry/Flags)
in <0x00034> System.Web.Caching.CacheEntry:Close
(System.Web.Caching.CacheItemRemovedReason)
in <0x00467> System.Web.Caching.Cache:UpdateCache
(string,System.Web.Caching.CacheEntry,bool,System.Web.Caching.CacheItemRemov
edReason)
in <0x00035> System.Web.Caching.Cache:Remove
(string,System.Web.Caching.CacheItemRemovedReason)
in <0x0001f> System.Web.Caching.CacheEntry:OnChanged
(object,System.Web.Caching.CacheDependencyChangedArgs)
in <0x0005a> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_CacheDependencyChangedArgs
(object,System.Web.Caching.CacheDependencyChangedArgs)
in <0x00081> System.Web.Caching.CacheDependency:OnChanged
(object,System.EventArgs)
in <0x00014> System.Web.Caching.CacheDependency:OnFileChanged
(object,System.IO.FileSystemEventArgs)
in (unmanaged) /opt/mono/lib/libmono.so.0 [0x3b6c3f]
in (unmanaged) /opt/mono/lib/libmono.so.0(mono_runtime_invoke+0x23)
[0x3f467b]
in (unmanaged) /opt/mono/lib/libmono.so.0(mono_runtime_invoke_array+0x11d)
[0x3f5399]
in (unmanaged) /opt/mono/lib/libmono.so.0 [0x3fb5b8]
in <0x00098> System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],Sys
tem.Globalization.CultureInfo)
--- End of inner exception stack trace ---

in <0x000ff> System.Reflection.MonoMethod:Invoke
(object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],Sys
tem.Globalization.CultureInfo)
in <0x00021> System.Reflection.MethodBase:Invoke (object,object[])
in <0x000cc> System.Delegate:DynamicInvokeImpl (object[])
in <0x00048> System.MulticastDelegate:DynamicInvokeImpl (object[])
in <0x0000f> System.Delegate:DynamicInvoke (object[])
in <0x0008b> System.IO.FileSystemWatcher:RaiseEvent
(System.Delegate,System.EventArgs)
in <0x00069> (wrapper remoting-invoke-with-check)
System.IO.FileSystemWatcher:RaiseEvent (System.Delegate,System.EventArgs)
in <0x00017> System.IO.FileSystemWatcher:OnChanged
(System.IO.FileSystemEventArgs)
in <0x00056> (wrapper remoting-invoke-with-check)
System.IO.FileSystemWatcher:OnChanged (System.IO.FileSystemEventArgs)
in <0x00193> System.IO.FileSystemWatcher:DispatchEvents
(System.IO.FileAction,string,System.IO.RenamedEventArgs&)
in <0x00077> (wrapper remoting-invoke-with-check)
System.IO.FileSystemWatcher:DispatchEvents
(System.IO.FileAction,string,System.IO.RenamedEventArgs&)
in <0x00047> System.IO.DefaultWatcher:DispatchEvents
(System.IO.FileSystemWatcher,System.IO.FileAction,string)
in <0x009ef> System.IO.DefaultWatcher:DoFiles
(System.IO.DefaultWatcherData,string,string,bool)
in <0x00114> System.IO.DefaultWatcher:UpdateDataAndDispatch
(System.IO.DefaultWatcherData,bool)
in <0x00122> System.IO.DefaultWatcher:Monitor ()
in <0x00044> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void
()