[Mono-dev] WCF: ObjectDisposedException in System.ServiceModel.Channels
Atsushi Eno
atsushieno at veritas-vos-liberabit.com
Thu Mar 11 22:25:22 EST 2010
Hello,
There are few things I can say from your input, but 1) I have never
heard of this kind of problem
and 2) trunk is way better than 2.6.
Atsushi Eno
On 2010/03/12 1:09, Matt Dargavel wrote:
>
> Hi there,
>
> I’ve found an issue in Mono 2.6.0 using a self hosted WCF service and
> was wondering if anyone had seen this before (Mono trace below).
>
> It appears to be caused by firing in a request to the Service that
> takes a long time and while that request is still running firing in
> another one. I’ve tried with both a Singleton service instance with
> ConcurrencyMode.Single and a service host with a type and
> ConcurrencyMode.Multiple but both seem to have the same problem.
>
> I’m just trying the latest svn and will try to pinpoint the issue, but
> any help / pointers would be appreciated!
>
> Regards,
>
> Matt.
>
> Trace:
>
> [0xb464bba0: 13.87800 3] ENTER:
> System.ServiceModel.Channels.ReplyChannelBase:BeginTryReceiveRequest
> (System.TimeSpan,System.AsyncCallback,object)(this:0x4eab0[System.ServiceModel.Channels.HttpSimpleReplyChannel
> SipGateway.exe], [00,bc,a0,65,01,00,00,00,],
> [System.AsyncCallback:0xcad90],
> [System.ServiceModel.Channels.HttpSimpleReplyChannel:0x4eab0], )
>
> [0xb464bba0: 13.87843 4] ENTER: (wrapper delegate-begin-invoke)
> System.ServiceModel.Channels.ReplyChannelBase/TryReceiveDelegate:begin_invoke_IAsyncResult__this___TimeSpan_RequestContext&_AsyncCallback_object
> (System.TimeSpan,System.ServiceModel.Channels.RequestContext&,System.AsyncCallback,object)(this:0x1e78f8[.TryReceiveDelegate
> SipGateway.exe], [00,bc,a0,65,01,00,00,00,], [BYREF:0xb464b0f0],
> [System.AsyncCallback:0xcad90],
> [System.ServiceModel.Channels.HttpSimpleReplyChannel:0x4eab0], )
>
> [0xb464bba0: 13.87927 4] LEAVE: (wrapper delegate-begin-invoke)
> System.ServiceModel.Channels.ReplyChannelBase/TryReceiveDelegate:begin_invoke_IAsyncResult__this___TimeSpan_RequestContext&_AsyncCallback_object
> (System.TimeSpan,System.ServiceModel.Channels.RequestContext&,System.AsyncCallback,object)[System.Runtime.Remoting.Messaging.AsyncResult:0xcad58]
>
>
> [0xb464bba0: 13.87969 3] LEAVE:
> System.ServiceModel.Channels.ReplyChannelBase:BeginTryReceiveRequest
> (System.TimeSpan,System.AsyncCallback,object)[System.Runtime.Remoting.Messaging.AsyncResult:0xcad58]
>
>
> [0xb464bba0: 13.88004 2] LEAVE:
> System.ServiceModel.Dispatcher.ListenerLoopManager:ProcessRequestOrInput
> (System.ServiceModel.Channels.IChannel)
>
> [0xb464bba0: 13.88058 1] LEAVE:
> System.ServiceModel.Dispatcher.ListenerLoopManager:ProcessRequest
> (System.ServiceModel.Channels.IReplyChannel,System.ServiceModel.Channels.RequestContext)
>
>
> [0xb464bba0: 13.88314 0] LEAVE:
> System.ServiceModel.Dispatcher.ListenerLoopManager:TryReceiveRequestDone
> (System.IAsyncResult)
>
> [0xb3af0ba0: 13.88414 0] ENTER: (wrapper runtime-invoke)
> <Module>:runtime_invoke_bool__this___TimeSpan_intptr
> (object,intptr,intptr,intptr)([.TryReceiveDelegate:0x1e78f8],
> 0xb3af0250, 0xb3af0300, 0xb46b6b38, )
>
> [0xb3af0ba0: 13.88466 1] ENTER:
> System.ServiceModel.Channels.ReplyChannelBase:<BeginTryReceiveRequest>m__4
> (System.TimeSpan,System.ServiceModel.Channels.RequestContext&)(this:0x4eab0[System.ServiceModel.Channels.HttpSimpleReplyChannel
> SipGateway.exe], [00,bc,a0,65,01,00,00,00,], [BYREF:0x84a1c], )
>
> [0xb3af0ba0: 13.88507 2] ENTER:
> System.ServiceModel.Channels.HttpSimpleReplyChannel:TryReceiveRequest
> (System.TimeSpan,System.ServiceModel.Channels.RequestContext&)(this:0x4eab0[System.ServiceModel.Channels.HttpSimpleReplyChannel
> SipGateway.exe], [00,bc,a0,65,01,00,00,00,], [BYREF:0x84a1c], )
>
> [0xb3af0ba0: 13.88593 3] ENTER:
> System.ServiceModel.Channels.HttpSimpleReplyChannel:WaitForRequest
> (System.TimeSpan)(this:0x4eab0[System.ServiceModel.Channels.HttpSimpleReplyChannel
> SipGateway.exe], [00,bc,a0,65,01,00,00,00,], )
>
> [0xb3af0ba0: 13.88641 4] ENTER:
> System.ServiceModel.Channels.HttpListenerManager:GetHttpContextAsync
> (System.TimeSpan,System.Action`1<System.ServiceModel.Channels.HttpContextInfo>)(this:0x886c0[System.ServiceModel.Channels.HttpSimpleListenerManager
> SipGateway.exe], [00,bc,a0,65,01,00,00,00,], XX, )
>
> [0xb3af0ba0: 13.88683 5] ENTER:
> System.ServiceModel.Channels.HttpListenerManager:FilterHttpContext
> (System.ServiceModel.Channels.HttpContextInfo)(this:0x886c0[System.ServiceModel.Channels.HttpSimpleListenerManager
> SipGateway.exe],
> [System.ServiceModel.Channels.HttpListenerContextInfo:0xc4640], )
>
> [0xb3af0ba0: 13.88719 6] ENTER:
> System.ServiceModel.Channels.HttpListenerContextInfo:get_HttpMethod
> ()(this:0xc4640[System.ServiceModel.Channels.HttpListenerContextInfo
> SipGateway.exe], )
>
> [0xb3af0ba0: 13.89048 6] LEAVE:
> System.ServiceModel.Channels.HttpListenerContextInfo:get_HttpMethod
> ()[STRING:0x8f7b0:POST]
>
> [0xb3af0ba0: 13.89179 5] LEAVE:
> System.ServiceModel.Channels.HttpListenerManager:FilterHttpContext
> (System.ServiceModel.Channels.HttpContextInfo)TRUE:1
>
> [0xb3af0ba0: 13.89233 5] ENTER:
> System.ServiceModel.Channels.HttpSimpleReplyChannel:HttpContextAcquired (System.ServiceModel.Channels.HttpContextInfo)(this:0x4eab0[System.ServiceModel.Channels.HttpSimpleReplyChannel
> SipGateway.exe],
> [System.ServiceModel.Channels.HttpListenerContextInfo:0xc4640], )
>
> [0xb3af0ba0: 13.89271 5] LEAVE:
> System.ServiceModel.Channels.HttpSimpleReplyChannel:HttpContextAcquired (System.ServiceModel.Channels.HttpContextInfo)
>
>
> [0xb3af0ba0: 13.89309 4] LEAVE:
> System.ServiceModel.Channels.HttpListenerManager:GetHttpContextAsync
> (System.TimeSpan,System.Action`1<System.ServiceModel.Channels.HttpContextInfo>)
>
>
> [0xb3af0ba0: 13.89340 3] LEAVE:
> System.ServiceModel.Channels.HttpSimpleReplyChannel:WaitForRequest
> (System.TimeSpan)TRUE:1
>
> converting method System.ObjectDisposedException:.ctor (string)
>
> Method System.ObjectDisposedException:.ctor (string) emitted at
> 0xb39e2368 to 0xb39e2393 (code length 43) [SipGateway.exe]
>
> converting method System.InvalidOperationException:.ctor (string)
>
> Method System.InvalidOperationException:.ctor (string) emitted at
> 0xb39e23a0 to 0xb39e23c3 (code length 35) [SipGateway.exe]
>
> [0xb3af0ba0:] EXCEPTION handling: ObjectDisposedException
>
> EXCEPTION: finally clause 0 of
> System.ServiceModel.Channels.ReplyChannelBase:<BeginTryReceiveRequest>m__4
> (System.TimeSpan,System.ServiceModel.Channels.RequestContext&)
>
> EXCEPTION: catch found at clause 0 of (wrapper runtime-invoke)
> <Module>:runtime_invoke_bool__this___TimeSpan_intptr
> (object,intptr,intptr,intptr)
>
> converting method (wrapper managed-to-native)
> object:__icall_wrapper_runtime_invoke_reset_abort (object)
>
> Method (wrapper managed-to-native)
> object:__icall_wrapper_runtime_invoke_reset_abort (object) emitted at
> 0xb39e23c8 to 0xb39e2425 (code length 93) [SipGateway.exe]
>
> [0xb3af0ba0: 13.90368 2] LEAVE: (wrapper runtime-invoke)
> <Module>:runtime_invoke_bool__this___TimeSpan_intptr
> (object,intptr,intptr,intptr)[OBJECT:(nil)]
>
> [0xb3af0ba0: 13.90414 2] ENTER:
> System.ServiceModel.Dispatcher.ListenerLoopManager:TryReceiveRequestDone
> (System.IAsyncResult)(this:0x5ba00[System.ServiceModel.Dispatcher.ListenerLoopManager
> SipGateway.exe],
> [System.Runtime.Remoting.Messaging.AsyncResult:0xcad58], )
>
> [0xb3af0ba0: 13.90455 3] ENTER:
> System.ServiceModel.Channels.ReplyChannelBase:EndTryReceiveRequest
> (System.IAsyncResult,System.ServiceModel.Channels.RequestContext&)(this:0x4eab0[System.ServiceModel.Channels.HttpSimpleReplyChannel
> SipGateway.exe],
> [System.Runtime.Remoting.Messaging.AsyncResult:0xcad58],
> [BYREF:0xb3af0228], )
>
> [0xb3af0ba0: 13.90505 4] ENTER: (wrapper delegate-end-invoke)
> System.ServiceModel.Channels.ReplyChannelBase/TryReceiveDelegate:end_invoke_bool__this___RequestContext&_IAsyncResult
> (System.ServiceModel.Channels.RequestContext&,System.IAsyncResult)(this:0x1e78f8[.TryReceiveDelegate
> SipGateway.exe], [BYREF:0xb3af0228],
> [System.Runtime.Remoting.Messaging.AsyncResult:0xcad58], )
>
> [0xb3af0ba0:] EXCEPTION handling: ObjectDisposedException
>
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
More information about the Mono-devel-list
mailing list