[Mono-dev] DeadLock Problem in ASP.NET

Hubert FONGARNAND informatique.internet at fiducial.fr
Tue Apr 25 12:25:15 EDT 2006


Hi Gonzalo,

It seems that i've another deadlock problem,
but it's very hard to reproduce exactly
I've send a SIGQUIT to mod_mono_server to do a thread dump :


  - Full thread dump:
  - 
  - "" tid=0x0xb6ca0bb0 this=0x0x152f00:
  - in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool) <0x4>
  - in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool) <0xda4>
  - in System.Threading.WaitHandle:WaitOne (int,bool) <0x34>
  - in Runner:Start () <0xe6>
  - in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0x57558>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x513ce369>
  - 


  - "" tid=0x0xb5db7bb0 this=0x0x2562bb0:
  - in (wrapper managed-to-native)
System.Threading.Monitor:Monitor_try_enter (object,int) <0x4>
  - in (wrapper managed-to-native)
System.Threading.Monitor:Monitor_try_enter (object,int) <0xffffffb3>
  - in System.Threading.Monitor:Enter (object) <0x13>
  - in System.IO.FAMWatcher:StartDispatching
(System.IO.FileSystemWatcher) <0x27>
  - in System.IO.FileSystemWatcher:Start () <0x17>
  - in System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool) <0x27>
  - in (wrapper remoting-invoke-with-check)
System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool) <0xffba2006>
  - in System.Web.Caching.CacheDependency:.ctor
(string[],string[],System.Web.Caching.CacheDependency,System.DateTime)
<0x246>
  - in System.Web.Caching.CacheDependency:.ctor (string[]) <0x31>
  - in System.Web.Compilation.AspGenerator:GetCompiledType () <0x11e>
  - in System.Web.UI.UserControlParser:CompileIntoType () <0x27>
  - in System.Web.UI.UserControlParser:GetCompiledType
(string,string,System.Collections.ArrayList,System.Web.HttpContext)
<0x2e>
  - in System.Web.UI.TemplateControlParser:AddDirective
(string,System.Collections.Hashtable) <0x304>
  - in System.Web.Compilation.AspGenerator:TagParsed
(System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0x1be>
  - in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_ILocation_TagType_string_TagAttributes (System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0xfffffff3>
  - in System.Web.Compilation.AspParser:OnTagParsed
(System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0x23>
 - in System.Web.Compilation.AspParser:Parse () <0x159>
 - in System.Web.Compilation.AspGenerator:Parse (string) <0x28>
 - in System.Web.Compilation.AspGenerator:Parse () <0x2c>
 - in System.Web.Compilation.AspGenerator:GetCompiledType () <0x9f>
 - in System.Web.UI.PageParser:CompileIntoType () <0x27>
 - in System.Web.UI.TemplateControlParser:GetCompiledInstance () <0x10>
 - in System.Web.UI.PageParser:GetCompiledPageInstance
(string,string,System.Web.HttpContext) <0x37>
 - in System.Web.UI.PageHandlerFactory:GetHandler
(System.Web.HttpContext,string,string,string) <0x10>
 - in System.Web.HttpApplication:GetHandler (System.Web.HttpContext)
<0x1a3>
 - in <Pipeline>__1:MoveNext () <0x806>
 - in System.Web.HttpApplication:Tick () <0x1c>
 - in System.Web.HttpApplication:Start (object) <0xcf>
 - in
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest (System.Web.HttpContext,System.AsyncCallback,object) <0x70>
  - in System.Web.HttpRuntime:RealProcessRequest (object) <0x1ab>
  - in System.Web.HttpRuntime:ProcessRequest
(System.Web.HttpWorkerRequest) <0x2a>
  - in Mono.WebServer.MonoWorkerRequest:ProcessRequest () <0xa>
  - in Mono.WebServer.BaseApplicationHost:ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x43>
  - in Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xd3>
 - in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xffffff0c>
  - in (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xb071>
  - in (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xffffff6a>
 - in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0x46acca>
  - in Mono.WebServer.ModMonoWorker:InnerRun (object) <0x57a>
  - in Mono.WebServer.ModMonoWorker:Run (object) <0x17>
  - in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object (object) <0xffffff95>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object
(object,intptr,intptr,intptr) <0x50f8c3c4>
  - 


  - "" tid=0x0xb66b5bb0 this=0x0x210c0:
  - in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool) <0x4>
  - in (wrapper managed-to-native)
System.Threading.WaitHandle:WaitOne_internal (intptr,int,bool) <0xda4>
  - in System.Threading.WaitHandle:WaitOne (int,bool) <0x34>
  - in System.Timers.Timer:StartTimer () <0xe7>
  - in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0x57558>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x513ce369>
  - 


  - "" tid=0x0xb5bb5bb0 this=0x0x2562840:
  - 
  - "" tid=0x0xb7d316c0 this=0x0x21e40:
  - 
  - "" tid=0x0xb656fbb0 this=0x0x2562630:
  - 
  - "" tid=0x0xb62adbb0 this=0x0x3899c0:
  - in (wrapper managed-to-native)
System.Threading.Thread:Sleep_internal (int) <0x4>
  - in (wrapper managed-to-native)
System.Threading.Thread:Sleep_internal (int) <0xffffff56>
  - in System.Threading.Thread:Sleep (int) <0x16>
  - in
System.Runtime.Remoting.Channels.Tcp.TcpConnectionPool:ConnectionCollector () <0x29>
  - in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0x57558>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x513ce369>


  - 
  - "" tid=0x0xb5aa4bb0 this=0x0x25626e0:
  - in (wrapper managed-to-native)
System.Threading.Monitor:Monitor_try_enter (object,int) <0x4>
  - in (wrapper managed-to-native)
System.Threading.Monitor:Monitor_try_enter (object,int) <0xffffffb3>
  - in System.Threading.Monitor:Enter (object) <0x13>
  - in System.IO.FAMWatcher:StartDispatching
(System.IO.FileSystemWatcher) <0x27>
  - in System.IO.FileSystemWatcher:Start () <0x17>
  - in System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool) <0x27>
  - in (wrapper remoting-invoke-with-check)
System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool) <0xffba2006>
  - in System.Web.Caching.CacheDependency:.ctor
(string[],string[],System.Web.Caching.CacheDependency,System.DateTime)
<0x246>
  - in System.Web.Caching.CacheDependency:.ctor (string[]) <0x31>
  - in System.Web.Compilation.AspGenerator:GetCompiledType () <0x11e>
  - in System.Web.UI.UserControlParser:CompileIntoType () <0x27>
  - in System.Web.UI.UserControlParser:GetCompiledType
(string,string,System.Collections.ArrayList,System.Web.HttpContext)
<0x2e>
  - in System.Web.UI.TemplateControlParser:AddDirective
(string,System.Collections.Hashtable) <0x304>
  - in System.Web.Compilation.AspGenerator:TagParsed
(System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0x1be>
  - in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_ILocation_TagType_string_TagAttributes (System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0xfffffff3>
  - in System.Web.Compilation.AspParser:OnTagParsed
(System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0x23>
  - in System.Web.Compilation.AspParser:Parse () <0x159>
  - in System.Web.Compilation.AspGenerator:Parse (string) <0x28>
  - in System.Web.Compilation.AspGenerator:Parse () <0x2c>
  - in System.Web.Compilation.AspGenerator:GetCompiledType () <0x9f>
  - in System.Web.UI.PageParser:CompileIntoType () <0x27>
  - in System.Web.UI.TemplateControlParser:GetCompiledInstance () <0x10>
  - in System.Web.UI.PageParser:GetCompiledPageInstance
(string,string,System.Web.HttpContext) <0x37>
  - in System.Web.UI.PageHandlerFactory:GetHandler
(System.Web.HttpContext,string,string,string) <0x10>
  - in System.Web.HttpApplication:GetHandler (System.Web.HttpContext)
<0x1a3>
  - in <Pipeline>__1:MoveNext () <0x806>
  - in System.Web.HttpApplication:Tick () <0x1c>
  - in System.Web.HttpApplication:Start (object) <0xcf>
  - in
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest (System.Web.HttpContext,System.AsyncCallback,object) <0x70>
  - in System.Web.HttpRuntime:RealProcessRequest (object) <0x1ab>
  - in System.Web.HttpRuntime:ProcessRequest
(System.Web.HttpWorkerRequest) <0x2a>
  - in Mono.WebServer.MonoWorkerRequest:ProcessRequest () <0xa>
  - in Mono.WebServer.BaseApplicationHost:ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x43>
  - in Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xd3>
 - in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xffffff0c>
  - in (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xb071>
  - in (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xffffff6a>
  - in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0x46acca>
  - in Mono.WebServer.ModMonoWorker:InnerRun (object) <0x57a>
  - in Mono.WebServer.ModMonoWorker:Run (object) <0x17>
  - in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object (object) <0xffffff95>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object
(object,intptr,intptr,intptr) <0x50f8c3c4>
  - 


  - "" tid=0x0xb710dbb0 this=0x0x21cc0:
  - in (wrapper managed-to-native)
System.Net.Sockets.Socket:Poll_internal
(intptr,System.Net.Sockets.SelectMode,int,int&) <0x4>
  - in (wrapper managed-to-native)
System.Net.Sockets.Socket:Poll_internal
(intptr,System.Net.Sockets.SelectMode,int,int&) <0xffffff3a>
  - in System.Net.Sockets.Socket:Poll
(int,System.Net.Sockets.SelectMode) <0x4a>
  - in Mono.WebServer.SocketPool:SelectRead () <0xb1>
  - in Mono.WebServer.ApplicationServer:RunServer () <0x6d>
  - in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0xffffff90>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x50f8d309>
  - 


  - "" tid=0x0xb646bbb0 this=0x0x3893c0:
  - in (wrapper managed-to-native)
System.IO.FAMWatcher:gamin_MonitorDirectory
(System.IO.FAMConnection&,string,System.IO.FAMRequest&,intptr) <0x4>
 - in (wrapper managed-to-native)
System.IO.FAMWatcher:gamin_MonitorDirectory
(System.IO.FAMConnection&,string,System.IO.FAMRequest&,intptr)
<0xffffffbf>
  - in System.IO.FAMWatcher:FAMMonitorDirectory
(System.IO.FAMConnection&,string,System.IO.FAMRequest&,intptr) <0x1f>
  - in System.IO.FAMWatcher:StartMonitoringDirectory
(System.IO.FAMData,bool) <0x7d>
  - in System.IO.FAMWatcher:StartDispatching
(System.IO.FileSystemWatcher) <0x192>
  - in System.IO.FileSystemWatcher:Start () <0x17>
  - in System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool) <0x27>
  - in (wrapper remoting-invoke-with-check)
System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool) <0xffba2006>
  - in System.Web.Caching.CacheDependency:.ctor
(string[],string[],System.Web.Caching.CacheDependency,System.DateTime)
<0x246>
  - in System.Web.Caching.CacheDependency:.ctor (string[]) <0x31>
  - in System.Web.Compilation.AspGenerator:GetCompiledType () <0x11e>
  - in System.Web.UI.UserControlParser:CompileIntoType () <0x27>
  - in System.Web.UI.UserControlParser:GetCompiledType
(string,string,System.Collections.ArrayList,System.Web.HttpContext)
<0x2e>
  - in System.Web.UI.TemplateControlParser:AddDirective
(string,System.Collections.Hashtable) <0x304>
  - in System.Web.Compilation.AspGenerator:TagParsed
(System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0x1be>
  - in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_ILocation_TagType_string_TagAttributes (System.Web.Compilation.ILocation,System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0xfffffff3>
  - in System.Web.Compilation.AspParser:OnTagParsed
(System.Web.Compilation.TagType,string,System.Web.Compilation.TagAttributes) <0x23>
 - in System.Web.Compilation.AspParser:Parse () <0x159>
 - in System.Web.Compilation.AspGenerator:Parse (string) <0x28>
 - in System.Web.Compilation.AspGenerator:Parse () <0x2c>
 - in System.Web.Compilation.AspGenerator:GetCompiledType () <0x9f>
 - in System.Web.UI.PageParser:CompileIntoType () <0x27>
 - in System.Web.UI.TemplateControlParser:GetCompiledInstance () <0x10>
 - in System.Web.UI.PageParser:GetCompiledPageInstance
(string,string,System.Web.HttpContext) <0x37>
 - in System.Web.UI.PageHandlerFactory:GetHandler
(System.Web.HttpContext,string,string,string) <0x10>
 - in System.Web.HttpApplication:GetHandler (System.Web.HttpContext)
<0x1a3>
 - in <Pipeline>__1:MoveNext () <0x806>
 - in System.Web.HttpApplication:Tick () <0x1c>
 - in System.Web.HttpApplication:Start (object) <0xcf>
 - in
System.Web.HttpApplication:System.Web.IHttpAsyncHandler.BeginProcessRequest (System.Web.HttpContext,System.AsyncCallback,object) <0x70>
  - in System.Web.HttpRuntime:RealProcessRequest (object) <0x1ab>
  - in System.Web.HttpRuntime:ProcessRequest
(System.Web.HttpWorkerRequest) <0x2a>
  - in Mono.WebServer.MonoWorkerRequest:ProcessRequest () <0xa>
  - in Mono.WebServer.BaseApplicationHost:ProcessRequest
(Mono.WebServer.MonoWorkerRequest) <0x43>
  - in Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xd3>
 - in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xffffff0c>
 - in (wrapper xdomain-dispatch)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(object,byte[]&,byte[]&,int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xb071>
  - in (wrapper xdomain-invoke)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0xffffff6a>
  - in (wrapper remoting-invoke-with-check)
Mono.WebServer.ModMonoApplicationHost:ProcessRequest
(int,string,string,string,string,string,int,string,int,string,string[],string[]) <0x46acca>
  - in Mono.WebServer.ModMonoWorker:InnerRun (object) <0x57a>
  - in Mono.WebServer.ModMonoWorker:Run (object) <0x17>
  - in (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object (object) <0xffffff95>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void_object
(object,intptr,intptr,intptr) <0x50f8c3c4>
  - 
  - "" tid=0x0xb5eb8bb0 this=0x0x152c00:
  - 
  - "" tid=0x0xb6b29bb0 this=0x0x21180:
  - in (wrapper managed-to-native) System.IO.FAMWatcher:gamin_Pending
(System.IO.FAMConnection&) <0x4>
  - in (wrapper managed-to-native) System.IO.FAMWatcher:gamin_Pending
(System.IO.FAMConnection&) <0xffffffce>
  - in System.IO.FAMWatcher:FAMPending (System.IO.FAMConnection&) <0x16>
  - in System.IO.FAMWatcher:Monitor () <0x33>
  - in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
<0x57558>
  - in (wrapper runtime-invoke) System.Object:runtime_invoke_void
(object,intptr,intptr,intptr) <0x513ce369>

I Hope that you could help me...

I'm trying to reproduce it... but it seems to appear at random time...
Thanks

Hubert FONGARNANd

Le jeudi 20 avril 2006 à 13:06 -0400, Gonzalo Paniagua Javier a écrit :

> On Thu, 2006-04-20 at 18:46 +0200, Hubert FONGARNAND wrote:
> > Hi Gonzalo
> > 
> > I've just highlight an important deadlock problem in ASP.NET on mono
> > Please take on look on :
> > http://bugzilla.ximian.com/show_bug.cgi?id=78149
> 
> I think it's already fixed. Please retest and follow up in bugzilla.
> Thanks.
> 
> -Gonzalo
> 
> 
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
_______________________________________________
Ce message et les éventuels documents joints peuvent contenir des informations confidentielles.
Au cas où il ne vous serait pas destiné, nous vous remercions de bien vouloir le supprimer et en aviser immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'étant pas sécurisées, l'intégrité de ce message n'est pas assurée et la société émettrice ne peut être tenue pour responsable de son contenu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20060425/6783016b/attachment.html 


More information about the Mono-devel-list mailing list