[Mono-dev] Embedded Mono/Program freezes

Robert Jordan robertj at gmx.net
Fri Aug 18 09:52:06 EDT 2006


Hey,

Why do I have to deduce from other of your posts what you're
trying to do? :-) Please try to be more detailed.

I understand you have a server app which embeds mono (under Windows)
and which sometimes acts as a *WebService client*.
At least I can deduce this from the trace and from your previous mails.

Now to the bug: Web servers usually deny more then 2 open
connections from a specific client. Since your server
acts on behalf of its clients, you're probably somehow
reaching the limit.

Robert

Janne Rantala wrote:
> Hi everyone!
> 
> We have client-server application where Mono is embedded on server
> side, and the idea is that clients can create and run Mono programs
> there. Any calls from unmanaged code to managed is handled with
> mono_runtime_exec_managed_code, and before that mono_thread_attach()
> is called.
> 
> I've run simple web service for testing purposes and everything works
> fine at first run, but when I try to run same program, it just
> freezes.
> It doesn't matter if I run it second time from same client or
> completely different. Some debug messages from assembly is printed but
> when web service is supposed to start nothing happens. At the end of
> this mail is last of the verbose messages I got out.
> 
> And if I remove that web service call, both clients work ok. They
> don't do much but still everything that is supposed to.
> 
> Is this web service issue or something else?
> 
> Help is much appreciated!
> 
> Cheers,
> 
> Janne
> 
> Method System.Net.ServicePoint:get_AvailableForRecycling  () emitted at 06325ED0
> to 06325FB2 (code length 226) [WSTest.exe]
> Method System.Net.ServicePoint:get_CurrentConnections () emitted at 06325FB8 to
> 06326004 (code length 76) [WSTest.exe]
> Method System.Net.ServicePoint:get_IdleSince  () emitted at 06326008 to 0632608E
> (code length 134) [WSTest.exe]
> Method System.DateTime:AddMilliseconds (double) emitted at 06326090 to 06326197
> (code length 263) [WSTest.exe]
> Method System.WeakReference:get_Target  () emitted at 06326198 to 063261AF (code
> length 23) [WSTest.exe]
> Method System.Runtime.InteropServices.GCHandle:get_Target () emitted at 063261C0
>  to 063261D0 (code length 16) [WSTest.exe]
> Method (wrapper managed-to-native)
> System.Runtime.InteropServices.GCHandle:GetTa
> rget (int) emitted at 063261E8 to 0632623E (code length 86) [WSTest.exe]
> Method System.Net.WebConnection:get_Busy () emitted at 06326240 to 06326299 (cod
> e length 89) [ WSTest.exe]
> Method System.Net.Sockets.Socket:get_Connected () emitted at 063262A0 to 063262A
> C (code length 12) [WSTest.exe]
> Method System.Net.WebConnection:CanReuse () emitted at 063262B0 to 063262E6 (cod
> e length 54) [ WSTest.exe]
> Method System.Net.Sockets.Socket:Poll (int,System.Net.Sockets.SelectMode) emitte
> d at 063262F8 to 063263F8 (code length 256) [WSTest.exe]
> Method (wrapper managed-to-native)
> System.Net.Sockets.Socket:Poll_internal  (intp
> tr,System.Net.Sockets.SelectMode,int,int&) emitted at 06326410 to 0632647E (code
>  length 110) [WSTest.exe]
> Method System.Net.WebConnection:CompleteChunkedRead () emitted at 06326480 to 06
> 32650A (code length 138) [ WSTest.exe]
> Method System.Version:op_LessThan (System.Version,System.Version) emitted at 063
> 26520 to 06326545 (code length 37) [WSTest.exe]
> Method System.Version:CompareTo (System.Version) emitted at 06326548
> to 06326602
>  (code length 186) [WSTest.exe]
> Method SocketAsyncResult:get_AsyncWaitHandle () emitted at 06326608 to 06326678
> (code length 112) [WSTest.exe]




More information about the Mono-devel-list mailing list